Hi all, This week I updated OpenSceneGraph to 2.9.9 and got the following problem in an osg/dotnet application, windows 7, vs2008sp1:
"The Program can't start because MSVCP90D.dll is missing from your computer. Try reinstalling the program to fix this problem." This happens after trying to load a file with an osgDB plugin. when linking with osg 2.9.7 this problem does not occur. So I tranced down the changes in osg and found the following change in src\OpenThreads\win32\CMakeLists.txt From Alok Priyadashi, "The attached patch fixes - compile errors on windows when compiled with UNICODE flag - warnings for duplicate WIN32_LEAN_AND_MEAN. I think this should better fixed by adding WIN32_LEAN_AND_MEAN to vcproj preprocessor list." ADD_DEFINITIONS(-DWIN32_LEAN_AND_MEAN) ADD_DEFINITIONS(-D_WIN32_WINNT=0x0400) reverting this change resolved the problem for me. with the _WIN32_WINNT definition a particular version of Windows is targeted, in this case this causes a problem finding the right version of the debug dlls in the dotnet application ... (bleh...) The problem does not occur in the c++ examples/applications. cheers, René
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

