Hi Vic,
2>MSVCRTD.lib(cinitexe.obj) : warning LNK4098: defaultlib 'msvcrt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
You're still linking to something compiled in Release in your Debug build. Your project is linking to msvcrtd.lib (which is right - notice the 'd' at the end, and you're building in debug, so all is well) but it's telling you that some other lib in your project is pulling in msvcrt.lib (note no 'd').
To get rid of that warning, you have to build everything in debug or everything in release, and link only to debug libs in a debug build and vice versa. Note that in practice, I have found that for C-only libraries, you can use the release version in both a debug and a release build. You'll get the warning you got above when building in debug, but it will work anyways.
But you have to be really sure that it's a C-only library that's causing the warning, and all the C++ libraries you're using match your build (release with release, debug with debug). If you have even one C++ library that's mismatched, you'll likely get crashes when that library is used (you know what they say - works for me, works for you, works for QA, but crashes once shipped to your most important client).
Hope this helps, 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

