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

Reply via email to