[Mesa-users] VC++ application crash with Mesa3D at ASSERT(info->BytesPerBlock)

Michael Keutel mail at michaelkeutel.de
Fri May 3 05:21:21 PDT 2013


Hey,

I am currently using Mesa3D for the first time. I have an 3d realtime 
application (Visual Studio 2008 C++) which only needs to run on windows. 
I chose Mesa3D because the application has to run on virtual machines 
(WinXP) without hardware acceleration and the GDI windows implementation 
seems to take me back to OpenGL 1.1.
I just built Mesa3D and placed the opengl32.dll in the executable 
directory of my application. But thus it crashes at startup at the 
assertion ASSERT(info->BytesPerBlock); in mesa/main/formats.c . I guess 
info is NULL or info->BytesPerBlock is NULL at this error. The error 
occurs on both WinXP and Win7. How can I solve this assertion error?
Is it not enough to only run with the Mesa3D openGL32.dll or do I have 
to link my application explicitely against the Mesa3D opengl32.lib?

Greets, Thx

-- 
Beste Grüße,
Michael Keutel

Dipl.-Ing. der Computervisualistik

Arndtstraße 35
04275 Leipzig
0151 54603689
mail: mail at michaelkeutel.de
web:  www.michaelkeutel.de





More information about the mesa-users mailing list