Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
This problem seems to have been fixed in the new 3.6.0 release Cheers, Eran -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73614#73614 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
ceranco wrote: > 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 This worked for me too. If, in Visual Studio, you can mark all the projects in the Examples folder, right-click and select Properties, you can make a bulk-change for the Generate Program Database File property. That way you don't have to make this change for every example separately. -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=73546#73546 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
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 Cohenwrote: > 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
Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
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
Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
HI Eran, Could you post the full modified file or create a PR via github's openscenegraph repository. Thanks, Robert. On 18 December 2017 at 17:37, Eran Cohenwrote: > For anyone interested, the build failed because of the place that the Cmake > install script looked for the .pdb files of the examples. Cmake looked for > them in build/examples/example_name, but all the examples built them to > build/bin. > I manually changed the build location for the .pdb file for all of the > examples projects to the macro: > Code: > $(ProjectDir)$(AssemblyName)d.pdb > > and it fixed the problem. > > Cheers, > Eran[/quote] > > -- > Read this topic online here: > http://forum.openscenegraph.org/viewtopic.php?p=72600#72600 > > > > > > ___ > 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
Re: [osg-users] [build] "INSTALL.vcxproj" -- FAILED
For anyone interested, the build failed because of the place that the Cmake install script looked for the .pdb files of the examples. Cmake looked for them in build/examples/example_name, but all the examples built them to build/bin. I manually changed the build location for the .pdb file for all of the examples projects to the macro: Code: $(ProjectDir)$(AssemblyName)d.pdb and it fixed the problem. Cheers, Eran[/quote] -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72600#72600 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
[osg-users] [build] "INSTALL.vcxproj" -- FAILED
Hi, I succeeded in building the OpenScenegraph solution on VS2017 64-bit with the small 3rdParty dependencies, but when I try to build the INSTALL project, it fails with this message: > > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: The command "setlocal > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: "C:\Program Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -P > cmake_install.cmake > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: if %errorlevel% neq 0 goto :cmEnd > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: :cmEnd > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: :cmErrorLevel > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: exit /b %1 > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: :cmDone > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: if %errorlevel% neq 0 goto :VCEnd > 1>C:\Program Files (x86)\Microsoft Visual > Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(133,5): > error MSB3073: :VCEnd" exited with code 1. > 1>Done building project "INSTALL.vcxproj" -- FAILED. > I am using OpenSceneGraph 3.4.1 source files and CMake 3.9.6, but this has happened with CMake 3.10.1 as well. Thank you! Cheers, Eran -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=72590#72590 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org