Closed moongerim closed 4 years ago
Hi @moongerim, in general we follow the distributions using the policy described in http://wiki.icub.org/wiki/YARP_Supported_Distributions, so at the moment we do not support explicitly (i.e. we do not check in CI and we do not try to work fine with system dependencies) Ubuntu 16.04 , so I suggest to update at least at Ubuntu 18.04 to get something working out of the box.
However, if you install all the correct dependencies and in some cases if you update the compiler, the software may compile correctly, but that is not ensured in any way. In this case, in the error that you reported it is missing the actual compiler error, so you should provide all the relevant error lines to simplify suggesting you what could be the problem.
Hello! I am follow this guide. I need iDynTree, therefore I set up the ccmake environment by setting ROBOTOLOGY_ENABLE_DYNAMICS to the "ON" position. After that, I could not compile it. It returns the folowing error:
Note that I just read that you just need iDynTree, probably in that case it should be sufficient that you install the necessary dependencies (the most basic ones are libeigen3-dev
and libxml2-dev
) and just install iDynTree directly without passing through the robotology-superbuild .
Hello, @traversaro Thank you, for your reply! Yes, I tried to install only iDynTree. It was compiled, but I could not find there the necessary files. Actually, what I need is this: https://github.com/dic-iit/human-model-generator They asked to install the whole robotology in order to have the Matlab buildings. When I installed only iDynTree, there was no Matlab buildings.
When I want to build robotology, it returns the following error:
'
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ - works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Using iCub from install
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Created target YarpUtilities for export WalkingControllers.
-- Created target iDynTreeUtilities for export WalkingControllers.
-- Created target TimeProfiler for export WalkingControllers.
-- Created target StdUtilities for export WalkingControllers.
-- Created target SimplifiedModelControllers for export WalkingControllers.
-- Created target RobotInterface for export WalkingControllers.
-- Created target WholeBodyControllers for export WalkingControllers.
-- Created target TrajectoryPlanner for export WalkingControllers.
-- Created target KinDynWrapper for export WalkingControllers.
-- Created target RetargetingHelper for export WalkingControllers.
-- Created target LoggerClient for export WalkingControllers.
-- Configuring done
-- Generating done
-- Build files have been written to: /home/robot/robotology-superbuild/build/robotology/walking-controllers
[ 93%] Performing build step for 'walking-controllers'
Scanning dependencies of target YarpUtilities
[ 2%] Building CXX object src/YarpUtilities/CMakeFiles/YarpUtilities.dir/src/Helper.cpp.o
[ 5%] Linking CXX shared library ../../lib/libWalkingControllersYarpUtilities.so
[ 5%] Built target YarpUtilities
Scanning dependencies of target iDynTreeUtilities
[ 7%] Building CXX object src/iDynTreeUtilities/CMakeFiles/iDynTreeUtilities.dir/src/Helper.cpp.o
[ 10%] Linking CXX shared library ../../lib/libWalkingControllersiDynTreeUtilities.so
[ 10%] Built target iDynTreeUtilities
Scanning dependencies of target TimeProfiler
[ 12%] Building CXX object src/TimeProfiler/CMakeFiles/TimeProfiler.dir/src/TimeProfiler.cpp.o
[ 15%] Linking CXX shared library ../../lib/libWalkingControllersTimeProfiler.so
[ 15%] Built target TimeProfiler
Scanning dependencies of target SimplifiedModelControllers
[ 17%] Building CXX object src/SimplifiedModelControllers/CMakeFiles/SimplifiedModelControllers.dir/src/DCMModelPredictiveController.cpp.o
[ 20%] Building CXX object src/SimplifiedModelControllers/CMakeFiles/SimplifiedModelControllers.dir/src/DCMReactiveController.cpp.o
[ 23%] Building CXX object src/SimplifiedModelControllers/CMakeFiles/SimplifiedModelControllers.dir/src/MPCSolver.cpp.o
[ 25%] Building CXX object src/SimplifiedModelControllers/CMakeFiles/SimplifiedModelControllers.dir/src/ZMPController.cpp.o
[ 28%] Linking CXX shared library ../../lib/libWalkingControllersSimplifiedModelControllers.so
[ 28%] Built target SimplifiedModelControllers
Scanning dependencies of target RobotInterface
[ 30%] Building CXX object src/RobotInterface/CMakeFiles/RobotInterface.dir/src/Helper.cpp.o
[ 33%] Building CXX object src/RobotInterface/CMakeFiles/RobotInterface.dir/src/PIDHandler.cpp.o
[ 35%] Linking CXX shared library ../../lib/libWalkingControllersRobotInterface.so
[ 35%] Built target RobotInterface
Scanning dependencies of target WholeBodyControllers
[ 38%] Building CXX object src/WholeBodyControllers/CMakeFiles/WholeBodyControllers.dir/src/InverseKinematics.cpp.o
[ 41%] Building CXX object src/WholeBodyControllers/CMakeFiles/WholeBodyControllers.dir/src/QPInverseKinematics.cpp.o
[ 43%] Building CXX object src/WholeBodyControllers/CMakeFiles/WholeBodyControllers.dir/src/QPInverseKinematics_osqp.cpp.o
[ 46%] Building CXX object src/WholeBodyControllers/CMakeFiles/WholeBodyControllers.dir/src/QPInverseKinematics_qpOASES.cpp.o
[ 48%] Linking CXX shared library ../../lib/libWholeBodyControllers.so
[ 48%] Built target WholeBodyControllers
Scanning dependencies of target TrajectoryPlanner
[ 51%] Building CXX object src/TrajectoryPlanner/CMakeFiles/TrajectoryPlanner.dir/src/StableDCMModel.cpp.o
[ 53%] Building CXX object src/TrajectoryPlanner/CMakeFiles/TrajectoryPlanner.dir/src/TrajectoryGenerator.cpp.o
[ 56%] Linking CXX shared library ../../lib/libWalkingControllersTrajectoryPlanner.so
[ 56%] Built target TrajectoryPlanner
Scanning dependencies of target KinDynWrapper
[ 58%] Building CXX object src/KinDynWrapper/CMakeFiles/KinDynWrapper.dir/src/Wrapper.cpp.o
[ 61%] Linking CXX shared library ../../lib/libWalkingControllersKinDynWrapper.so
[ 61%] Built target KinDynWrapper
Scanning dependencies of target RetargetingHelper
[ 64%] Building CXX object src/RetargetingHelper/CMakeFiles/RetargetingHelper.dir/src/Helper.cpp.o
[ 66%] Linking CXX shared library ../../lib/libWalkingControllersRetargetingHelper.so
[ 66%] Built target RetargetingHelper
Scanning dependencies of target LoggerClient
[ 69%] Building CXX object src/LoggerClient/CMakeFiles/LoggerClient.dir/src/LoggerClient.cpp.o
[ 71%] Linking CXX shared library ../../lib/libWalkingControllersLoggerClient.so
[ 71%] Built target LoggerClient
[ 74%] Generating code from thrifts/WalkingCommands.thrift
Scanning dependencies of target WalkingModule
[ 76%] Building CXX object src/WalkingModule/CMakeFiles/WalkingModule.dir/src/main.cpp.o
[ 79%] Building CXX object src/WalkingModule/CMakeFiles/WalkingModule.dir/src/Module.cpp.o
[ 82%] Building CXX object src/WalkingModule/CMakeFiles/WalkingModule.dir/thrifts/WalkingCommands.cpp.o
[ 84%] Linking CXX executable ../../bin/WalkingModule
[ 84%] Built target WalkingModule
Scanning dependencies of target WalkingJoypadModule
[ 87%] Building CXX object src/JoypadModule/CMakeFiles/WalkingJoypadModule.dir/src/main.cpp.o
[ 89%] Building CXX object src/JoypadModule/CMakeFiles/WalkingJoypadModule.dir/src/Module.cpp.o
[ 92%] Linking CXX executable ../../bin/WalkingJoypadModule
[ 92%] Built target WalkingJoypadModule
Scanning dependencies of target WalkingLoggerModule
[ 94%] Building CXX object src/LoggerModule/CMakeFiles/WalkingLoggerModule.dir/src/main.cpp.o
[ 97%] Building CXX object src/LoggerModule/CMakeFiles/WalkingLoggerModule.dir/src/Module.cpp.o
[100%] Linking CXX executable ../../bin/WalkingLoggerModule
[100%] Built target WalkingLoggerModule
[ 93%] Performing install step for 'walking-controllers'
[ 5%] Built target YarpUtilities
[ 10%] Built target iDynTreeUtilities
[ 15%] Built target TimeProfiler
[ 28%] Built target SimplifiedModelControllers
[ 35%] Built target RobotInterface
[ 48%] Built target WholeBodyControllers
[ 56%] Built target TrajectoryPlanner
[ 61%] Built target KinDynWrapper
[ 66%] Built target RetargetingHelper
[ 71%] Built target LoggerClient
[ 84%] Built target WalkingModule
[ 92%] Built target WalkingJoypadModule
[100%] Built target WalkingLoggerModule
Install the project...
-- Install configuration: "Release"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/cmake/WalkingControllers/WalkingControllersConfigVersion.cmake
-- Installing: /home/robot/robotology-superbuild/build/install/lib/cmake/WalkingControllers/WalkingControllersConfig.cmake
-- Installing: /home/robot/robotology-superbuild/build/install/lib/cmake/WalkingControllers/WalkingControllersTargets.cmake
-- Installing: /home/robot/robotology-superbuild/build/install/lib/cmake/WalkingControllers/WalkingControllersTargets-release.cmake
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersYarpUtilities.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersYarpUtilities.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersYarpUtilities.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/YarpUtilities/Helper.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/YarpUtilities/Helper.tpp
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersiDynTreeUtilities.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersiDynTreeUtilities.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersiDynTreeUtilities.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/iDynTreeUtilities/Helper.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTimeProfiler.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTimeProfiler.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTimeProfiler.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/TimeProfiler/TimeProfiler.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/StdUtilities/Helper.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/StdUtilities/Helper.tpp
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersSimplifiedModelControllers.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersSimplifiedModelControllers.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersSimplifiedModelControllers.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/SimplifiedModelControllers/DCMModelPredictiveController.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/SimplifiedModelControllers/DCMReactiveController.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/SimplifiedModelControllers/MPCSolver.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/SimplifiedModelControllers/ZMPController.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRobotInterface.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRobotInterface.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRobotInterface.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/RobotInterface/Helper.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/RobotInterface/PIDHandler.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWholeBodyControllers.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWholeBodyControllers.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWholeBodyControllers.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/WholeBodyControllers/InverseKinematics.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/WholeBodyControllers/QPInverseKinematics.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/WholeBodyControllers/QPInverseKinematics_osqp.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/WholeBodyControllers/QPInverseKinematics_qpOASES.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTrajectoryPlanner.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTrajectoryPlanner.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersTrajectoryPlanner.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/TrajectoryPlanner/StableDCMModel.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/TrajectoryPlanner/TrajectoryGenerator.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersKinDynWrapper.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersKinDynWrapper.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersKinDynWrapper.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/KinDynWrapper/Wrapper.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRetargetingHelper.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRetargetingHelper.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersRetargetingHelper.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/RetargetingHelper/Helper.h
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersLoggerClient.so.0.3.2
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/lib/libWalkingControllersLoggerClient.so.0.3.2" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib"
-- Installing: /home/robot/robotology-superbuild/build/install/lib/libWalkingControllersLoggerClient.so
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/LoggerClient/LoggerClient.h
-- Installing: /home/robot/robotology-superbuild/build/install/include/WalkingControllers/LoggerClient/LoggerClient.tpp
-- Installing: /home/robot/robotology-superbuild/build/install/bin/WalkingModule
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/bin/WalkingModule" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib:/usr/lib/gcc/x86_64-linux-gnu/5"
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking_retargeting.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking_with_joypad.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/hand_retargeting
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/hand_retargeting/robotControl.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/hand_retargeting/handRetargeting.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/hand_retargeting/qpInverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/hand_retargeting/inverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/joypad_control
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/joypad_control/robotControl.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/joypad_control/handRetargeting.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/joypad_control/qpInverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/joypad_control/inverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/dcmReactiveControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/controllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/plannerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/zmpControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/pidParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/forceTorqueSensors.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/walkingLogger.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGazeboV2_5/dcm_walking/common/forwardKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking_retargeting.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking_with_joypad.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/robotControl.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/handRetargeting.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/plannerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/qpInverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/zmpControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/hand_retargeting/inverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control/robotControl.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control/plannerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control/qpInverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control/zmpControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/joypad_control/inverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/dcmReactiveControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/controllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/pidParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/forceTorqueSensors.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/walkingLogger.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/iCubGenova04/dcm_walking/common/forwardKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking_with_joypad.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/joypad_control
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/joypad_control/robotControl.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/joypad_control/qpInverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/joypad_control/inverseKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/dcmReactiveControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/controllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/plannerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/zmpControllerParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/pidParams.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/forceTorqueSensors.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/walkingLogger.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/robots/icubGazeboSim/dcm_walking/common/forwardKinematics.ini
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/applications/walking.xml
-- Installing: /home/robot/robotology-superbuild/build/install/bin/WalkingJoypadModule
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/bin/WalkingJoypadModule" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib"
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/contexts/dcmWalkingJoypad
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/contexts/dcmWalkingJoypad/joypad.ini
-- Installing: /home/robot/robotology-superbuild/build/install/bin/WalkingLoggerModule
-- Set runtime path of "/home/robot/robotology-superbuild/build/install/bin/WalkingLoggerModule" to "$ORIGIN/:$ORIGIN/../lib:/home/robot/robotology-superbuild/build/install/lib"
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/contexts/dcmWalkingLogger
-- Installing: /home/robot/robotology-superbuild/build/install/share/ICUBcontrib/contexts/dcmWalkingLogger/dcmWalkingLogger.ini
[ 94%] Completed 'walking-controllers'
[ 94%] Built target walking-controllers
[ 95%] Skipping update step for 'GazeboYARPPlugins'
[ 97%] Performing configure step for 'GazeboYARPPlugins'
Not searching for unused variables given on the command line.
loading initial cache file /home/robot/robotology-superbuild/build/robotology/GazeboYARPPlugins/CMakeFiles/YCMTmp/GazeboYARPPlugins-cache-Release.cmake
-- Found YARP: /home/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.3.2+43-20200411.3+gita33cf54")
-- Found Boost: /usr/include (found suitable version "1.58.0", minimum required is "1.40.0") found components: thread signals system filesystem program_options regex iostreams date_time chrono atomic
-- Found Boost: /usr/include (found version "1.58.0")
-- Looking for OGRE...
-- Found Ogre Ghadamon (1.9.0)
-- Found OGRE: optimized;/usr/lib/x86_64-linux-gnu/libOgreMain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreMain.so
-- Looking for OGRE_Paging...
-- Found OGRE_Paging: optimized;/usr/lib/x86_64-linux-gnu/libOgrePaging.so;debug;/usr/lib/x86_64-linux-gnu/libOgrePaging.so
-- Looking for OGRE_Terrain...
-- Found OGRE_Terrain: optimized;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so;debug;/usr/lib/x86_64-linux-gnu/libOgreTerrain.so
-- Looking for OGRE_Property...
-- Found OGRE_Property: optimized;/usr/lib/x86_64-linux-gnu/libOgreProperty.so;debug;/usr/lib/x86_64-linux-gnu/libOgreProperty.so
-- Looking for OGRE_RTShaderSystem...
-- Found OGRE_RTShaderSystem: optimized;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so;debug;/usr/lib/x86_64-linux-gnu/libOgreRTShaderSystem.so
-- Looking for OGRE_Volume...
-- Found OGRE_Volume: optimized;/usr/lib/x86_64-linux-gnu/libOgreVolume.so;debug;/usr/lib/x86_64-linux-gnu/libOgreVolume.so
-- Looking for OGRE_Overlay...
-- Found OGRE_Overlay: optimized;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so;debug;/usr/lib/x86_64-linux-gnu/libOgreOverlay.so
CMake Deprecation Warning at /home/robot/robotology-superbuild/build/install/lib/cmake/YARP/YARPConfig.cmake:348 (message):
Calling "yarp_idl_to_dir" without including YARP "idl_tools" COMPONENT in
"find_package(YARP)" is deprecated.
Call Stack (most recent call first):
thrift/clock/CMakeLists.txt:8 (yarp_idl_to_dir)
-- GAZEBO_YARP_PLUGINS_HAS_OPENCV CMake option set to off, disabling videotexture plugin. -- Configuring done -- Generating done -- Build files have been written to: /home/robot/robotology-superbuild/build/robotology/GazeboYARPPlugins [ 97%] Performing build step for 'GazeboYARPPlugins' [ 3%] Built target gazebo_yarp_singleton [ 5%] Built target gazebo_yarp_rpc_clock [ 9%] Built target gazebo_yarp_rpc_worldinterface [ 11%] Built target gazebo_yarp_rpc_linkattacher [ 14%] Built target gazebo_yarp_camera [ 17%] Built target gazebo_yarp_clock [ 37%] Built target gazebo_yarp_controlboard [ 48%] Built target gazebo_yarp_fakecontrolboard [ 51%] Built target gazebo_yarp_forcetorque [ 54%] Built target gazebo_yarp_imu [ 56%] Built target gazebo_yarp_inertial [ 59%] Built target gazebo_yarp_distributedinertials [ 60%] Building CXX object plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/src/JointSensorsDriver.cpp.o /home/robot/robotology-superbuild/robotology/GazeboYARPPlugins/plugins/jointsensors/src/JointSensorsDriver.cpp: In member function ‘virtual bool yarp::dev::GazeboYarpJointSensorsDriver::open(yarp::os::Searchable&)’: /home/robot/robotology-superbuild/robotology/GazeboYARPPlugins/plugins/jointsensors/src/JointSensorsDriver.cpp:93:16: error: ‘class std::mutex’ has no member named ‘wait’ 93 | data_mutex.wait(); | ^~~~ plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/build.make:95: recipe for target 'plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/src/JointSensorsDriver.cpp.o' failed make[5]: [plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/src/JointSensorsDriver.cpp.o] Error 1 CMakeFiles/Makefile2:1067: recipe for target 'plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/all' failed make[4]: [plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make[3]: [all] Error 2 CMakeFiles/GazeboYARPPlugins.dir/build.make:127: recipe for target 'robotology/GazeboYARPPlugins/CMakeFiles/YCMStamp/GazeboYARPPlugins-build' failed make[2]: [robotology/GazeboYARPPlugins/CMakeFiles/YCMStamp/GazeboYARPPlugins-build] Error 2 CMakeFiles/Makefile2:1761: recipe for target 'CMakeFiles/GazeboYARPPlugins.dir/all' failed make[1]: [CMakeFiles/GazeboYARPPlugins.dir/all] Error 2 Makefile:114: recipe for target 'all' failed make: [all] Error 2 `
Ok, the real compilation problem is:
/home/robot/robotology-superbuild/robotology/GazeboYARPPlugins/plugins/jointsensors/src/JointSensorsDriver.cpp:93:16: error: ‘class std::mutex’ has no member named ‘wait’
93 | data_mutex.wait();
that is not easy to fix. However, if you don't need gazebo, you can just disable the ROBOTOLOGY_USES_GAZEBO
.
If you need the iDynTree MATLAB bindings, you can either compile the robotology-superbuild by enabling the ROBOTOLOGY_USES_MATLAB
CMake option, or compile iDynTree by enabling the IDYNYTREE_USES_MATLAB
, as documented in https://github.com/robotology/idyntree#bindings .
Thank you a lot! You solved my issue!!!!!
Based on your reply, I think we can close this issue.
Hello! I am follow this guide. I need iDynTree, therefore I set up the ccmake environment by setting ROBOTOLOGY_ENABLE_DYNAMICS to the "ON" position. After that, I could not compile it. It returns the folowing error:
plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/build.make:95: recipe for target 'plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/src/JointSensorsDriver.cpp.o' failed make[5]: [plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/src/JointSensorsDriver.cpp.o] Error 1 CMakeFiles/Makefile2:1067: recipe for target 'plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/all' failed make[4]: [plugins/jointsensors/CMakeFiles/gazebo_yarp_jointsensors.dir/all] Error 2 Makefile:149: recipe for target 'all' failed make[3]: [all] Error 2 CMakeFiles/GazeboYARPPlugins.dir/build.make:127: recipe for target 'robotology/GazeboYARPPlugins/CMakeFiles/YCMStamp/GazeboYARPPlugins-build' failed make[2]: [robotology/GazeboYARPPlugins/CMakeFiles/YCMStamp/GazeboYARPPlugins-build] Error 2 CMakeFiles/Makefile2:1944: recipe for target 'CMakeFiles/GazeboYARPPlugins.dir/all' failed make[1]: [CMakeFiles/GazeboYARPPlugins.dir/all] Error 2 Makefile:114: recipe for target 'all' failed make: [all] Error 2