On windows you cannot mix release and debug libraries so crashes are to be
expected among other issues you must either use all release builds or all
debug builds
 
With the pre-built libraries these must all be built with the same compiler,
you should not match VC8-VC7 or VC8-VC6 versions etc they are not binaory
compatable, 
all your libraires should be built with the same compiler version
 
Also make sure your project is building with the same settings, for
Mult-thread  builds  ( /MDd or MD ), the same exception handle  /EHsc or
/EHa etc
 
 
The thing to remember with windows is every thing needs to match, there's NO
mixing in windows

 
 
  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Leontyev,
Sergey
Sent: Monday, March 10, 2008 4:21 PM
To: [email protected]
Subject: [osg-users] osgDB::readNodeFile Crashes in Debug with VS2005
andPrecompiled Binaries.



 

Whenever I try to use the pre-compiled or release builds of the OSG
libraries in a Debug application the program always crashes (specifically at
osgDB::readNodeFile).  If I can make it work if I rebuild the OSG libraries
in Debug, but I'd rather not do this since I do not need to Debug the OSG
libraries.  Is there a preprocessor definition I need to add, or do I have
to rebuild the libraries for Debugging applications?

 

Sergey

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to