robotology / walking-controllers

Bipedal locomotion software for the humanoid robot platform iCub.
BSD 3-Clause "New" or "Revised" License
121 stars 46 forks source link

Error during CMake Generate: #122

Closed mlaudu closed 2 years ago

mlaudu commented 2 years ago

Hi, I successfully configured the software in CMake with all dependencies found; but when I hit 'Configure', I got the following error message:

CMake Error at cmake/AddWalkingControllersApplication.cmake:30 (add_executable): Target "WalkingModule" links to target "BipedalLocomotion::VectorsCollection" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? Call Stack (most recent call first): src/WalkingModule/CMakeLists.txt:9 (add_walking_controllers_application)

Any advise will be greatly appreciated.

GiulioRomualdi commented 2 years ago

Hi @mlaudu! Thank you for using walking-controllers! I've just noticed that the documentation has not been updated. I'm deeply sorry for that! You should install bipedal-locomotion-framework. The easiest way to compile walking-controllers with all the dependencies is to use the robotology-superbuild enabling the CMake option ROBOTOLOGY_ENABLE_DYNAMICS_FULL_DEPS.

Another possibility is to install walking-controllers with conda as

conda install -c conda-forge -c robotology walking-controllers
mlaudu commented 2 years ago

Thank you very much Giulio. Using robotolgy-superbuild works well and the problem is resolved. Cheers.

mlaudu commented 2 years ago

Issue resolved using robotolgy-superbuild.

GiulioRomualdi commented 2 years ago

You're welcome!