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

[ode:x64-windows] build failure #15250

Closed
editing00 opened this issue Dec 22, 2020 · 7 comments
Closed

[ode:x64-windows] build failure #15250

editing00 opened this issue Dec 22, 2020 · 7 comments
Assignees
Labels
requires:repro The issue is not currently repro-able

Comments

@editing00
Copy link

Host Environment

  • OS: windows 10
  • Compiler: vs 2019 (latest)

To Reproduce
Steps to reproduce the behavior:
c:\src\vcpkg>vcpkg install --recurse --triplet x64-windows dartsim
config-x64-windows-out.log

Failure logs
Package: ode:x64-windows
Vcpkg version: 2020.11.12-nohash

Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@JonLiu1993 JonLiu1993 self-assigned this Dec 23, 2020
@JonLiu1993 JonLiu1993 added requires:more-information This Issue requires more information to solve requires:repro The issue is not currently repro-able and removed requires:more-information This Issue requires more information to solve labels Dec 23, 2020
@JonLiu1993
Copy link
Member

@editing00 ,What is the exact version of GCC that you are using?

@editing00
Copy link
Author

editing00 commented Dec 23, 2020 via email

@editing00
Copy link
Author

editing00 commented Dec 23, 2020

cmake 3.19.1 visual studio 2019 Qt 5.12.1 vcpkg 2020-11-12-nohash

https://github.com/thomasmarsh/ODE
To find out exact gcc version of ODE program, I need to read about the code

is it required to use older version of cmake ???

@JonLiu1993
Copy link
Member

@editing00 ,I can successfully build ode on my computer,I investigated some related issues and found that the version of Cmake does affect the construction of the port. My cmake version is cmake-3.18.4-win32-x86, you can try to build with the old version

@editing00
Copy link
Author

editing00 commented Dec 23, 2020

@editing00 ,I can successfully build ode on my computer,I investigated some related issues and found that the version of Cmake does affect the construction of the port. My cmake version is cmake-3.18.4-win32-x86, you can try to build with the old version

Thank you.
It works with cmake,

but I mean, it doesn't work with vcpkg command

@traversaro
Copy link
Contributor

By inspecting the log, the error seems to be:

CMake Error: install(EXPORT "ODE" ...) includes target "ODE" more than once in the export set.

I guess this is due to this bug in CMake 3.19.0 and 3.19.1 : https://gitlab.kitware.com/cmake/cmake/-/issues/21529 . I did not checked, but I guessed probably it should be fixed by using CMake 3.19.2 .

@JonLiu1993
Copy link
Member

@editing00 ,Thanks for posting this issuse, please use CMake 3.19.2, Please reopen this issue if it still be a problem for you

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

3 participants