HI Eran et. al, Thanks for the info. I don't have Windows expertise so will defer to members of the community with CMake/Windows expertise to look at this.
Robert. On 19 December 2017 at 16:09, Eran Cohen <cera...@gmail.com> wrote: > Hi Robert, > > I have no Cmake knowledge, so I didn't change the Cmake script, but rather > manually changed the project configurations for all of the examples in visual > studio. Right click on the project, select properties. Go to Linker -> > Debugging and change the Generate Program Database File to > $(ProjectDir)$(AssemblyName)d.pdb > > The .vcxproj of the osganalysis example now looks like this: > > >> >> < Link > >> >> < AdditionalDependencies >> >..\..\lib\osgViewerd.lib;..\..\lib\osgTextd.lib;opengl32.lib;..\..\lib\osgGAd.lib;..\..\lib\osgDBd.lib;C:\Users\ceran\Desktop\OpenSceneGraph-3.4.1\3rdParty\x64\lib\zlibd.lib;..\..\lib\osgUtild.lib;..\..\lib\osgd.lib;..\..\lib\OpenThreadsd.lib;opengl32.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;comdlg32.lib;advapi32.lib< >> / AdditionalDependencies > >> < AdditionalLibraryDirectories >%(AdditionalLibraryDirectories)< / >> AdditionalLibraryDirectories > >> < AdditionalOptions >%(AdditionalOptions) /machine:x64< / >> AdditionalOptions > >> < GenerateDebugInformation >true< / GenerateDebugInformation > >> < IgnoreSpecificDefaultLibraries >%(IgnoreSpecificDefaultLibraries)< / >> IgnoreSpecificDefaultLibraries > >> < ImportLibrary >> >C:/Users/ceran/Desktop/OpenSceneGraph-3.4.1/OpenSceneGraph/build/lib/osganalysisd.lib< >> / ImportLibrary > >> < ProgramDataBaseFile >(ProjectDir)$(AssemblyName)d.pdb< / >> ProgramDataBaseFile > >> < SubSystem >Console< / SubSystem > >> < Version > >> < / Version > >> < / Link > >> > > > The line in bold is the line that was changed. > > Cheers, > Eran > > ------------------ > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=72608#72608 > > > > > > _______________________________________________ > osg-users mailing list > osg-users@lists.openscenegraph.org > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org _______________________________________________ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org