[Mesa-dev] windows build experience
john grant
johnkonradgrant at yahoo.com
Sun Mar 4 21:54:27 PST 2012
Hello,
I wanted to use Mesa on Windows so that I could spend a little less time at the office. I do not have the hardware at home for the GL extensions I want to work with. After several package installations and adjustments to my system PATH to accommodate Mesa's build system, only to see build errors, I have come to the conclusion that it is very difficult to use Mesa on Windows. The number of dependencies required just to build Mesa seems to be the biggest hurdle.
I've spent a few days porting the Scons build system to CMake. My idea is that the use of CMake can make building on Windows more natural by generating a build system (IDE project files) that I'm used to. I've used Scons before, but this is my first experience with CMake. CMake seems pretty easy to use, with the exception of working with Lex and Yacc, which I'm not experienced with either. CMake can generate source code as well, so it should be possible to remove the (undocumented) requirements for Flex and Bison. In an ideal world, the generated IDE project and GNUmake files could be distributed so no one needs to install CMake either.
Is the Mesa community interested in a CMake build system? It seems to be the most popular build system these days for cross platform, open source projects. I would be happy to contribute what I've done so far, but the use of Lex and YACC for the glsl support is incomplete. If I can't wrap this up soon, I think I'll just have to leave the CMake system for someone else to complete because life is too short.
Is anyone interested in helping me make the build system on Windows (and other platforms) easier to use?
Thanks,
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20120304/0a5fa056/attachment.htm>
More information about the mesa-dev
mailing list