Closed michaelcxd closed 3 weeks ago
Please provide error log:
E:\src\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
[Uploading install-x64-windows-dbg-out.log…]()
Please provide error log:
E:\src\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
thank you for reply. I have submitted the log file.
Sorry, The link you provided opens without any error log: Uploading install-x64-windows-dbg-out.log…
So, Why the building of osg was failed?
I can't reproduce your problem locally, so I need you to provide the error log to analyze and solve the error.
E:\src\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
I submitte the log file again, can you see it?
There is a Error in this log file:
E:\src\vcpkg\buildtrees\osg\src\raph-3.6.5-499ecaa6e1.clean\src\osgSim\SphereSegment.cpp(724): error C2059: syntax error: 'constant'
@michaelcxd, Are you using the latest vcpkg? Which version of osg is yours? I can't reproduce your problem locally.
PS F:\Feature-test\test> ./vcpkg install osg:x64-windows --editable
Computing installation plan...
The following packages are already installed:
osg[core,plugins,openexr,nvtt,freetype,fontconfig,default-features]:x64-windows@3.6.5#25
osg:x64-windows is already installed
Total install time: 1.62 ms
The package osg can be configured to use different OpenGL profiles via a custom triplet file.
Possible values are GLCORE, GL2, GL3, GLES1, GLES2, GLES3 and GLES2+GLES3.
The default value is GL2. If you want use other profiles, please add the following
code to a custom triplet file.
set(osg_OPENGL_PROFILE GL3)
PS F:\Feature-test\test>
thanks for everyone, i'v solved the problem by reinstalling vs2019
Are you using the latest vcpkg
Yes, i'm using the latest vcpkg, the version of osg is 3.6.5. Thank you very much, i'v solved the problem by reinstalling vc2019.
-- Building x64-windows-dbg CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:134 (message): Command failed: E:/src/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe --build . --config Debug --target install -- -v -j13 Working Directory: E:/src/vcpkg/buildtrees/osg/x64-windows-dbg See logs for more information: E:\src\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
Call Stack (most recent call first): installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_build.cmake:74 (vcpkg_execute_build_process) installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_install.cmake:16 (vcpkg_cmake_build) ports/osg/portfile.cmake:135 (vcpkg_cmake_install) scripts/ports.cmake:175 (include)
error: building osg:x64-windows failed with: BUILD_FAILED Elapsed time to handle osg:x64-windows: 1.1 min Please ensure you're using the latest port files with
git pull
andvcpkg update
. Then check for known issues at: https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+osg You can submit a new issue at: https://github.com/microsoft/vcpkg/issues/new?title=[osg]+Build+error+on+x64-windows&body=Copy+issue+body+from+E%3A%2Fsrc%2Fvcpkg%2Finstalled%2Fvcpkg%2Fissue_body.md