Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[error: building osg:x64-windows failed with: BUILD_FAILED] #39238

Closed
michaelcxd opened this issue Jun 12, 2024 · 12 comments
Closed

[error: building osg:x64-windows failed with: BUILD_FAILED] #39238

michaelcxd opened this issue Jun 12, 2024 · 12 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@michaelcxd
Copy link

-- 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 and vcpkg 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

@JonLiu1993 JonLiu1993 added the requires:more-information This Issue requires more information to solve label Jun 12, 2024
@JonLiu1993
Copy link
Member

Please provide error log:

E:\src\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log

@michaelcxd
Copy link
Author

@michaelcxd
Copy link
Author

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.

@JonLiu1993
Copy link
Member

Sorry, The link you provided opens without any error log:
Uploading install-x64-windows-dbg-out.log…

@michaelcxd
Copy link
Author

So, Why the building of osg was failed?

@JonLiu1993
Copy link
Member

JonLiu1993 commented Jun 14, 2024

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

@michaelcxd
Copy link
Author

@michaelcxd
Copy link
Author

I submitte the log file again, can you see it?

@michaelcxd
Copy link
Author

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'

@JonLiu1993 JonLiu1993 added requires:repro The issue is not currently repro-able and removed requires:more-information This Issue requires more information to solve labels Jun 17, 2024
@JonLiu1993
Copy link
Member

@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>

@michaelcxd
Copy link
Author

thanks for everyone, i'v solved the problem by reinstalling vs2019

@michaelcxd
Copy link
Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
requires:repro The issue is not currently repro-able
Projects
None yet
Development

No branches or pull requests

2 participants