Building Mesa 8.0.4 on Windows

Daedalos Knossos <[email protected]>
Newsgroups gmane.comp.video.mesa3d.user
Message-ID <CAB66SmDGO+iFdKCMtuS-F26Pg3ZDFva_hDSjYzbi5kgxN=QZPA@mail.gmail.com>
Hello there,

I am currently trying to get the newest version of Mesa's Gallium
driver (8.0.4) to work on Microsoft Windows XP (32Bit). Basically I
want to run a specific OpenGL application within a virtual machine,
without hardware 3D acceleration to ensure maximum compatibility.

So far I have succeeded in building the official source code using
scons on the following machine:

-------------------------------------------
Distribution: Ubuntu 12.04 Server
Kernel: Linux 3.2.0-26-generic-pae #41-Ubuntu SMP Thu Jun 14 16:45:14
UTC 2012 i686 athlon i368 GNU/Linux
MinGW32: 4.2.1.dfsg-2ubuntu1
Scons: 2.1.0-1
Python: 2.7.3-0ubuntu2
Bison: 1:2.5.dfsg-2.1
Gcc: 4:4.6.3-1ubuntu5
libc6: 2.15-0ubuntu10
-------------------------------------------

The command I used was:
$ scons platform=windows toolchain=crossmingw machine=x86

After that, I copied the resulting "opengl32.dll" from
../mesa-8.0.4/build/windows-x86-debug/gallium/targets/libgl-gdi

To the same directory as the OpenGL application I want to run. (which
in fact uses only a Subset of OpenGL).

As soon as I start the application, I am greeting with the following
error message:
-------------------------------------------
Assertion failed!
Program: ...Executable.exe
File: src/mesa/program/program.c
Line: 432

Expression: prog->Target == 0x8620
-------------------------------------------

I have to say that, when building Mesa3D 7.0.0 using the Makefile.mgw
the application at least starts up correctly, but does not display
anything (this is why I wanted to try a newer release).

In addition to that, I was not successful in building Mesa3D 8.0.x on
Windows, so I just tried to build it on Linux instead. (which worked
like a charm btw.)

Do you have any clues or advice how I should proceed to diagnose the problem?

Sincerely yours,

George Rider.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.