José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 1 | File: docs/README.WIN32 |
| 2 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 3 | Last updated: 23 April 2011 |
Brian Paul | af4e2f4 | 2011-01-20 18:52:39 -0700 | [diff] [blame] | 4 | |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 5 | |
| 6 | Quick Start |
| 7 | ----- ----- |
| 8 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 9 | Windows drivers are build with SCons. Makefiles or Visual Studio projects are |
| 10 | no longer shipped or supported. |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 11 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 12 | Run |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 13 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 14 | scons osmesa mesagdi |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 15 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 16 | to build classic mesa Windows GDI drivers; or |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 17 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 18 | scons libgl-gdi |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 19 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 20 | to build gallium based GDI driver. |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 21 | |
| 22 | |
| 23 | Windows Drivers |
| 24 | ------- ------- |
| 25 | |
José Fonseca | c2c44f2 | 2011-04-23 13:18:45 +0100 | [diff] [blame^] | 26 | At this time, only the gallium GDI driver is known to work. |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 27 | |
| 28 | Source code also exists in the tree for other drivers in |
| 29 | src/mesa/drivers/windows, but the status of this code is unknown. |
| 30 | |
José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 31 | |
| 32 | General |
| 33 | ------- |
| 34 | |
| 35 | After building, you can copy the above DLL files to a place in your |
| 36 | PATH such as $SystemRoot/SYSTEM32. If you don't like putting things |
| 37 | in a system directory, place them in the same directory as the |
| 38 | executable(s). Be careful about accidentially overwriting files of |
| 39 | the same name in the SYSTEM32 directory. |
| 40 | |
| 41 | The DLL files are built so that the external entry points use the |
| 42 | stdcall calling convention. |
| 43 | |
| 44 | Static LIB files are not built. The LIB files that are built with are |
| 45 | the linker import files associated with the DLL files. |
| 46 | |
| 47 | The si-glu sources are used to build the GLU libs. This was done |
| 48 | mainly to get the better tessellator code. |
| 49 | |
Brian Paul | af4e2f4 | 2011-01-20 18:52:39 -0700 | [diff] [blame] | 50 | If you have a Windows-related build problem or question, please post |
| 51 | to the mesa-dev or mesa-users list. |