-
Notifications
You must be signed in to change notification settings - Fork 48
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 fails when using YCM master branch #819
Comments
I can't reproduce the issue, I guess it was some kind of temporary problem on YCM master. I will close this issue, but feel free re-open if the problem persists. |
I am trying to make a docker image, and part of the Dockerfile I do;
For which when i run
Note that I am trying to build the robotology-superbuild with the release-tag
|
@mebbaid Can you please open a new issue? Anyhow, two suggestions: First SuggestionYou can configure cmake with Second SuggestionUnfortunatly the YCM bootstrap was intrinsically quite fragile, especially before the improvements in robotology/ycm-cmake-modules#403 and robotology/ycm-cmake-modules#402 . However, you can almost the same behaviour by manually compiling the exact version of YCM before compiling the superbuild (that is 0.13.0, see https://icub-tech-iit.github.io/documentation/sw_versioning_table/2021.08.1/), so that the superbuild will find the installed YCM:
this should either work, or at least provide a more easy error to deal with. |
Actually v0.13.0 probably will not work due to robotology/ycm-cmake-modules#419 . Probably you can download and extract the offline archive (https://github.com/robotology/ycm/releases/download/v0.13.0/ycm-0.13.0-offline.tar.gz) as a workaround. |
Indeed that was the issue. Thanks for the help !! |
Steps to reproduce:
git clone https://github.com/robotology/robotology-superbuild
cd robotology-superbuild/ && mkdir build && cd build/ && cmake ../
cd ../src/YCM/
git checkout master
cd ../../build
cmake .
Then, I get the following error
The text was updated successfully, but these errors were encountered: