mesa/docs
Erik Faye-Lund f3095f9b40 docs: gcc -> GCC
Reviewed-by: Daniel Stone <daniels@collabora.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7060>
2020-10-28 10:27:51 +00:00
..
_extra/specs
_exts docs: specify redirects in conf.py instead 2020-10-21 18:11:39 +00:00
ci docs: Document how to replicate a CI build locally. 2020-10-14 16:54:59 +00:00
drivers docs: ie. -> i.e. 2020-10-28 10:27:51 +00:00
gallium docs: anistropy -> anisotropy 2020-10-28 10:27:51 +00:00
relnotes radv: enable VK_AMD_mixed_attachment_samples on GFX6-GFX7 2020-10-27 14:13:50 +00:00
ARB_color_buffer_float.txt
README.UVD
README.VCE
README.WIN32
android.rst docs: Document how to build and install Android drivers. 2020-10-20 18:29:38 +00:00
application-issues.rst
bugs.rst
codingstyle.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
conf.py docs/vmware: Move the vmware driver docs into the drivers section. 2020-10-21 18:11:39 +00:00
conform.rst
contents.rst docs: Fix "Hosted by" link and drop duplicate. 2020-10-22 16:46:40 +00:00
debugging.rst docs: scons -> SCons 2020-09-30 08:18:21 +00:00
developers.rst
devinfo.rst
dispatch.rst docs: use ref-links for internal references 2020-06-28 09:06:57 +00:00
download.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
egl.rst docs: ie. -> i.e. 2020-10-28 10:27:51 +00:00
envvars.rst docs: fbo -> FBO 2020-10-28 10:27:51 +00:00
extensions.rst
faq.rst docs: eg. -> e.g. 2020-10-28 10:27:51 +00:00
favicon.ico docs: update favicon 2020-06-26 12:09:22 +00:00
favicon.svg docs: update favicon 2020-06-26 12:09:22 +00:00
features.txt docs/features: add v3dv driver 2020-10-21 10:48:40 +00:00
helpwanted.rst docs: gcc -> GCC 2020-10-28 10:27:51 +00:00
index.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
install.rst docs: eg. -> e.g. 2020-10-28 10:27:51 +00:00
libGL.txt
license.rst
lists.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
meson.rst docs: cmake -> CMake 2020-09-30 08:18:21 +00:00
opengles.rst
osmesa.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
perf.rst
precompiled.rst
release-calendar.rst docs/release-calendar: plan 20.3 release 2020-10-14 21:43:35 +00:00
release-maintainers-keys.asc docs: cat maintainer keys to a single file 2020-06-22 23:07:16 +00:00
releasing.rst docs: gcc -> GCC 2020-10-28 10:27:51 +00:00
relnotes.rst docs: update calendar and link releases notes for 20.1.10 2020-10-14 21:28:23 +02:00
repository.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
shading.rst
sourcedocs.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
sourcetree.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
submittingpatches.rst docs: quote "git log" 2020-09-30 08:18:21 +00:00
systems.rst Fix VMware capitalization. 2020-10-27 15:33:40 -07:00
thanks.rst docs: git -> Git 2020-09-30 08:18:21 +00:00
utilities.rst
versions.rst docs: gcc -> GCC 2020-10-28 10:27:51 +00:00
viewperf.rst docs: gallium -> Gallium 2020-09-29 09:00:36 +00:00
xlibdriver.rst

README.WIN32

File: docs/README.WIN32

Last updated: 21 June 2013


Quick Start
----- -----

Windows drivers are build with SCons.  Makefiles or Visual Studio projects are
no longer shipped or supported.

Run

  scons libgl-gdi

to build gallium based GDI driver.

This will work both with MSVS or Mingw.


Windows Drivers
------- -------

At this time, only the gallium GDI driver is known to work.

Source code also exists in the tree for other drivers in
src/mesa/drivers/windows, but the status of this code is unknown.

Recipe
------

Building on windows requires several open-source packages. These are
steps that work as of this writing.

- install python 2.7
- install scons (latest)
- install mingw, flex, and bison
- install pywin32 from here: http://www.lfd.uci.edu/~gohlke/pythonlibs
  get pywin32-218.4.win-amd64-py2.7.exe
- install git
- download mesa from git
  see https://www.mesa3d.org/repository.html
- run scons

General
-------

After building, you can copy the above DLL files to a place in your
PATH such as $SystemRoot/SYSTEM32.  If you don't like putting things
in a system directory, place them in the same directory as the
executable(s).  Be careful about accidentially overwriting files of
the same name in the SYSTEM32 directory.

The DLL files are built so that the external entry points use the
stdcall calling convention.

Static LIB files are not built.  The LIB files that are built with are
the linker import files associated with the DLL files.

The si-glu sources are used to build the GLU libs.  This was done
mainly to get the better tessellator code.

If you have a Windows-related build problem or question, please post
to the mesa-dev or mesa-users list.