[Mesa-users] instructions for installing mesa on Windows

Brian Paul brianp at vmware.com
Wed Jun 19 08:40:37 PDT 2013


It would be great if you could incorporate this into the Mesa docs.  If 
you send a patch I can commit it and update the website too.

Thanks.

-Brian

On 06/18/2013 03:41 PM, Bill York wrote:
> Hi again. I now have a working Mesa build for Windows. Here's a summary
> of what I did. All of the errors I saw along the way were because an
> essential tool was not installed. In fact, I just now pulled the latest
> mesa from git and it built cleanly on the first try.
>
> 1) install python 2.7
> 2) install scons (latest)
> 3) install mingw, flex, and bison
> 4) install libxml2 (from here:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/, get
> libxml2-python-2.9.1.win-amd64-py2.7.exe)
> 5) install pywin32 (from here:
> http://www.lfd.uci.edu/~gohlke/pythonlibs/, get
> pywin32-218.4.win-amd64-py2.7.exe)
> 6) install git
> 7) download mesa from git (see http://www.mesa3d.org/repository.html)
> 8) run scons
> 9) copy build\windows-x86_64-debug\mesa\drivers\windows\gdi\opengl32.dll
> to my application's bin directory
>
> That was all I needed to make Mesa work with my program. I also tried
> the opengl32.dll from libgl-gdi but don't know it is a any better.
>
> Bill
>
> On Jun 18, 2013, at 5:11 PM, Brian Paul <brianp at vmware.com
> <mailto:brianp at vmware.com>>
>   wrote:
>
>> On 06/16/2013 10:44 AM, Bill York wrote:
>>> After a bit of poking around, I got mesa to build on win64. Once I
>>> get my steps documented, I will post them to this group so others can
>>> see.
>>>
>>> Meanwhile, the steps for installing the DLLs from this page seem out
>>> of date.
>>>
>>> http://www.mesa3d.org/README.WIN32
>>
>> Yeah, there hasn't been a lot of Windows support going on.  I'd love
>> to have someone step up and do that.
>>
>>
>>>
>>> In particular, glu32.dll is no longer there. Is there are new DLL I
>>> should install to my bin directory?
>>
>> The GLU library is in its own git repo now (it was split out of Mesa's
>> tree a couple years ago, IIRC).
>>
>> Source tarballs are here:
>> ftp://ftp.freedesktop.org/pub/mesa/glu/
>>
>> Unfortunately, there's no scons support for Windows builds.
>>
>> -Brian
>>
>



More information about the mesa-users mailing list