[Mesa-dev] Compiling Mesa/softpipe for Windows
Jose Fonseca
jfonseca at vmware.com
Tue May 6 03:45:39 PDT 2014
Cross-compiling Mesa for windows on linux with mingw is dead easy:
- install mingw-w64 C/C++ cross-compilers (any recent linux distro already has the packages)
- run
scons platform=windows libgl-gdi
The opengl32.dll drop-in replacement will in mesa/build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll
If you want a release build add "build=release" to the scons command line.
llvmpipe is faster, but its build is more complex (you'll need to build LLVM for mingw, but that too can be done with cross-compilers.)
Jose
----- Original Message -----
> Hello,
>
> I’m trying to get OpenGL 3.3 working on Windows via the softpipe driver. Can
> somebody tell me the steps to successfully (cross) compile it with either
> MinGW or Visual Studio. I seem to always run into problems.
>
> Thanks
> André
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://urldefense.proofpoint.com/v1/url?u=http://lists.freedesktop.org/mailman/listinfo/mesa-dev&k=oIvRg1%2BdGAgOoM1BIlLLqw%3D%3D%0A&r=NMr9uy2iTjWVixC0wOcYCWEIYhfo80qKwRgdodpoDzA%3D%0A&m=J1yzqfqqAXFRaco4DEX3lwmn2jsACsOex%2FrQfGJ6LL0%3D%0A&s=fc09b7ceb8ab879f7f58d38f43b2f6de9bbc6afc9fd04cbd0306afa1a24c75a0
>
More information about the mesa-dev
mailing list