-
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
YCM build failing with Xcode #265
Comments
@drdanz gave a quick look and suspects the following: it seems that the YCM has been compiled a first time with the normal cmake tool, and a second time with the Xcode toolchain, which would result in the logged error. |
Indeed, a
Where the line robotology/YCM/CMakeCache.txt:CMAKE_GENERATOR:INTERNAL=Unix Makefiles shows that the YCM Cmake files had already been generated with the |
Copying MacOSX users. Hope I didn't forget anyone... |
Solving #267 should prevent this kind of issues from happening. |
I was able to reproduce this in #276 . |
As seen in #276 , the issue is reproducible also on Ubuntu when using a generator different from the default one, for example Ninja cc @diegoferigo . I opened a YCM issue in robotology/ycm-cmake-modules#290 . I did not mentioned that before, but clearly a workaround is to use a normally installed YCM instead of bootstrapping it. |
I use Ninja but my setup also has this configuration, probably this is the reason why this problem never occurred to me :) |
Furthermore, provide a fix for #265 .
Hi @nunoguedelha , this will be fixed upstream in robotology/ycm-cmake-modules#294 , and I added a temporary workaround i for the robotology-superbuild in #276 , let me know if this solves your problems. |
As robotology/ycm-cmake-modules#290 is tracking the problem on YCM side, if the problem is solved for you @nunoguedelha feel free to close the issue, thanks! |
I close as this was fixed in #276 . |
Issue description
The YCM build is failing when building the superbuild on Macos using Xcode toolchain.
Steps to reproduce the issue:
robotology-superbuild
repo to the latest commit onmaster
branch today,build
folder (cmake ./ -G Xcode
),(This configuration has been used for a long time on the single motor test setup, for starting a set of EMS+2FOC boards driving a single iCub motor).
YCM_EP_DEVEL_MODE
ON.xcodebuild -target ALL_UPDATE
,xcodebuild -target ALL_BUILD
.The last commands fails.
Failure log
The text was updated successfully, but these errors were encountered: