1File: docs/README.WIN32 2 3Last updated: 21 June 2013 4 5 6Quick Start 7----- ----- 8 9Windows drivers are build with SCons. Makefiles or Visual Studio projects are 10no longer shipped or supported. 11 12Run 13 14 scons libgl-gdi 15 16to build gallium based GDI driver. 17 18This will work both with MSVS or Mingw. 19 20 21Windows Drivers 22------- ------- 23 24At this time, only the gallium GDI driver is known to work. 25 26Source code also exists in the tree for other drivers in 27src/mesa/drivers/windows, but the status of this code is unknown. 28 29Recipe 30------ 31 32Building on windows requires several open-source packages. These are 33steps that work as of this writing. 34 35- install python 2.7 36- install scons (latest) 37- install mingw, flex, and bison 38- install pywin32 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs 39 get pywin32-218.4.win-amd64-py2.7.exe 40- install git 41- download mesa from git 42 see https://www.mesa3d.org/repository.html 43- run scons 44 45General 46------- 47 48After building, you can copy the above DLL files to a place in your 49PATH such as $SystemRoot/SYSTEM32. If you don't like putting things 50in a system directory, place them in the same directory as the 51executable(s). Be careful about accidentially overwriting files of 52the same name in the SYSTEM32 directory. 53 54The DLL files are built so that the external entry points use the 55stdcall calling convention. 56 57Static LIB files are not built. The LIB files that are built with are 58the linker import files associated with the DLL files. 59 60The si-glu sources are used to build the GLU libs. This was done 61mainly to get the better tessellator code. 62 63If you have a Windows-related build problem or question, please post 64to the mesa-dev or mesa-users list. 65