bertrand greslier schrieb:
Hi mingw users,

I have test osgDepthShadow example in debug mode and it work fine just if the libosg.dll is in debug version. Perhaps it is an optimisation option of the compiler witch break something in the code. To find exactly where is the problem, perhaps a debug version must be compiled with optimisation options to crash the application and give a correct back trace.

Regards,
Bertrand.

Hello Bertrand,

this is interesting. On my machine it crashes in debug version, too. Did you do anything special to build the debug-version? I just used "make debug" for OpenThreads, Producer and osg (and make install, of course). Or did you only build the debug-version of osg and left the others in release?

As I said, I don´t get a correct backtrace, because it seems that the application goes into an infinite loop in some module that is not in debug-mode (maybe opengl32.dll?).

And: Do you use the libopengl32.a that is provided with mingw? I tried to link directly to the microsoft-lib (opengl32.lib), but that didn´t work. I thought that there might be an incompatibility with the mingw-lib and the microsoft-dll.

Regards,

Andreas

_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to