J-S, The setting that you amply described IS what we do. We do it quite often so that things don't run so slow when we're debugging our app (not OSG). We may need to run a while before we break into our code for debugging. Running with OSG debug libs is too slow for this scenario so we use the release libs instead with the settings set accordingly.
Obviously we don't mix and match when we ship our product to customers... -Shayne -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Jean-Sébastien Guay Sent: Friday, January 28, 2011 10:19 AM To: OpenSceneGraph Users Subject: Re: [osg-users] Linker error during execution Hi Shayne, > That's interesting because we have ran a debug solution with the release OSG > libs before without incident. We're using VC++ 9.0 on Vista 64 bit... That's why I said "with default settings" in my previous post. There is one way to make that work: you change the project settings to disable iterator debugging in your debug builds of OSG, and make it link to the Debug runtime (/MD instead of /MDD), in which case there's no problem, release and debug can be mixed. I'm guessing that's what you did... But in general that's not recommended because then THAT setting has to match for all libs / executables, and it's not the default so it's easy to get mixed up. So to be precise, we shouldn't say "debug and release can't be mixed", we should say "_HAS_ITERATOR_DEBUGGING setting and runtime can't be mixed". But we generally use the former as shorthand. Check it out, it's a common thing and I'm surprised you hadn't heard about it before. J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

