blob: ab0df573b996b95488582df61afc63de6fe6baa7 [file] [log] [blame]
José Fonseca60159c12008-02-28 16:34:32 +09001File: docs/README.WIN32
2
José Fonsecac2c44f22011-04-23 13:18:45 +01003Last updated: 23 April 2011
Brian Paulaf4e2f42011-01-20 18:52:39 -07004
José Fonseca60159c12008-02-28 16:34:32 +09005
6Quick Start
7----- -----
8
José Fonsecac2c44f22011-04-23 13:18:45 +01009Windows drivers are build with SCons. Makefiles or Visual Studio projects are
10no longer shipped or supported.
José Fonseca60159c12008-02-28 16:34:32 +090011
José Fonsecac2c44f22011-04-23 13:18:45 +010012Run
José Fonseca60159c12008-02-28 16:34:32 +090013
José Fonsecac2c44f22011-04-23 13:18:45 +010014 scons osmesa mesagdi
José Fonseca60159c12008-02-28 16:34:32 +090015
José Fonsecac2c44f22011-04-23 13:18:45 +010016to build classic mesa Windows GDI drivers; or
José Fonseca60159c12008-02-28 16:34:32 +090017
José Fonsecac2c44f22011-04-23 13:18:45 +010018 scons libgl-gdi
José Fonseca60159c12008-02-28 16:34:32 +090019
José Fonsecac2c44f22011-04-23 13:18:45 +010020to build gallium based GDI driver.
José Fonseca60159c12008-02-28 16:34:32 +090021
22
23Windows Drivers
24------- -------
25
José Fonsecac2c44f22011-04-23 13:18:45 +010026At this time, only the gallium GDI driver is known to work.
José Fonseca60159c12008-02-28 16:34:32 +090027
28Source code also exists in the tree for other drivers in
29src/mesa/drivers/windows, but the status of this code is unknown.
30
José Fonseca60159c12008-02-28 16:34:32 +090031
32General
33-------
34
35After building, you can copy the above DLL files to a place in your
36PATH such as $SystemRoot/SYSTEM32. If you don't like putting things
37in a system directory, place them in the same directory as the
38executable(s). Be careful about accidentially overwriting files of
39the same name in the SYSTEM32 directory.
40
41The DLL files are built so that the external entry points use the
42stdcall calling convention.
43
44Static LIB files are not built. The LIB files that are built with are
45the linker import files associated with the DLL files.
46
47The si-glu sources are used to build the GLU libs. This was done
48mainly to get the better tessellator code.
49
Brian Paulaf4e2f42011-01-20 18:52:39 -070050If you have a Windows-related build problem or question, please post
51to the mesa-dev or mesa-users list.