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

[CMake] yaml-cpp error #1105

Closed
esatgundogdu opened this issue Oct 30, 2023 · 2 comments
Closed

[CMake] yaml-cpp error #1105

esatgundogdu opened this issue Oct 30, 2023 · 2 comments

Comments

@esatgundogdu
Copy link

I have tried to compile ompl from latest commit source files, but it gives cmake error. Then I also tried version 1.6.0 source files and everything was fine. I think there is an issue with commits after 1.6.0 version.

Here what I tried to do and the results:

git clone https://github.com/ompl/ompl.git
cd ompl
mkdir -p build/Release
cd build/Release
cmake ../..

After this, I got this error:

CMake Error at demos/CMakeLists.txt:67 (add_library):
  add_library cannot create ALIAS target "yaml-cpp::yaml-cpp" because target
  "yaml-cpp" is imported but not globally visible.

My system is Ubuntu 20.04 and as I said before, ompl version 1.6.0 was successfully compiled.

@captain-yoshi
Copy link

Same problem with identical OS.

@zkingston
Copy link
Member

Closed with #1111

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants