[Mesa-users] How to build a non-debug version with SConse on Windows?

Stanislav Jordanov stenly at sirma.bg
Sat May 18 06:26:34 PDT 2013


The only info in this regard is about building windows-x86-debug version:


  3. Building with SCons (Windows/Linux)

To build Mesa with SCons on Linux or Windows do

     scons

The build output will be placed in 
build//platform/-/machine/-/debug//..., where /platform/ is for example 
linux or windows, /machine/ is x86 or x86_64, optionally followed by 
-debug for debug builds.

To build Mesa with SCons for Windows on Linux using the MinGW 
crosscompiler toolchain do

     scons platform=windows toolchain=crossmingw machine=x86 mesagdi libgl-gdi

This will create:

  * build/windows-x86-debug/mesa/drivers/windows/gdi/opengl32.dll ---
    Mesa + swrast, binary compatible with Windows's opengl32.dll
  * build/windows-x86-debug/gallium/targets/libgl-gdi/opengl32.dll ---
    Mesa + Gallium + softpipe, binary compatible with Windows's
    opengl32.dll

Put them all in the same directory to test them.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-users/attachments/20130518/67ecd274/attachment.html>


More information about the mesa-users mailing list