robotology / idyntree-yarp-tools

Tools based on the iDynTree library that depend on YARP.
GNU Lesser General Public License v2.1
6 stars 2 forks source link

Build failed against `Distro 2021.08` #19

Closed pattacini closed 3 years ago

pattacini commented 3 years ago

While building Distro 2021.08 anew in a clean WSL2 setup, I got the following CMake error:

[ 95%] Performing configure step for 'idyntree-yarp-tools'
Not searching for unused variables given on the command line.
loading initial cache file /usr/local/src/robot/robotology-superbuild/build/src/idyntree-yarp-tools/CMakeFiles/YCMTmp/idyntree-yarp-tools-cache-Release.cmake
-- Found YCM: /usr/local/src/robot/robotology-superbuild/build/install/share/cmake/YCM (found version "0.13.0")
-- Found YARP: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.4.3")
CMake Error at CMakeLists.txt:64 (find_package):
  Could not find a configuration file for package "iDynTree" that is
  compatible with requested version "3.1.0".

  The following configuration files were considered but not accepted:

    /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeConfig.cmake, version: 3.0.1

-- Configuring incomplete, errors occurred!
See also "/usr/local/src/robot/robotology-superbuild/build/src/idyntree-yarp-tools/CMakeFiles/CMakeOutput.log".
make[2]: *** [CMakeFiles/idyntree-yarp-tools.dir/build.make:105: src/idyntree-yarp-tools/CMakeFiles/YCMStamp/idyntree-yarp-tools-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:2273: CMakeFiles/idyntree-yarp-tools.dir/all] Error 2
make: *** [Makefile:95: all] Error 2

cc @traversaro

traversaro commented 3 years ago

That is strange, the iDynTree version for 2021.08 should be v4.2.0 : https://github.com/robotology/robotology-superbuild/blob/v2021.08/releases/2021.08.yaml#L77 . Is this a clean build or an update from a previous version? In case it is an update, are you sure that there is not YCM_EP_DEVEL_MODEL_<..> variable set?

pattacini commented 3 years ago

Is this a clean build or an update from a previous version

It's a clean build.

pattacini commented 3 years ago

BTW, no YCM_EP_DEVEL_MODEL_<..> variable is set.

traversaro commented 3 years ago

If you go in src/iDynTree what is the tag used there? What happens if you run make iDynTree in the superbuild root?

pattacini commented 3 years ago

I think it compiles just fine. The tag is correctly set to v2021.08.

🔘 Click to show the output ```console upattacini@IITICUBLAP237  /usr/local/src/robot/robotology-superbuild/build/src/iDynTree  v2021.08 ≢  git status HEAD detached at v2021.08 nothing to commit, working tree clean upattacini@IITICUBLAP237  /usr/local/src/robot/robotology-superbuild/build/src/iDynTree  v2021.08 ≢  cd ../.. upattacini@IITICUBLAP237  /usr/local/src/robot/robotology-superbuild/build  v2021.08 ≢  make iDynTree -- ycm_load_vcs_yaml_info: setting qpOASES_REPOSITORY to robotology-dependencies/qpOASES.git -- ycm_load_vcs_yaml_info: setting qpOASES_TAG to v3.2.0.1 -- ycm_load_vcs_yaml_info: setting osqp_REPOSITORY to oxfordcontrol/osqp.git -- ycm_load_vcs_yaml_info: setting osqp_TAG to v0.6.2 -- ycm_load_vcs_yaml_info: setting manif_REPOSITORY to robotology-dependencies/manif.git -- ycm_load_vcs_yaml_info: setting manif_TAG to 0.0.4.1 -- ycm_load_vcs_yaml_info: setting qhull_REPOSITORY to qhull/qhull.git -- ycm_load_vcs_yaml_info: setting qhull_TAG to v8.0.2 -- ycm_load_vcs_yaml_info: setting CppAD_REPOSITORY to coin-or/CppAD.git -- ycm_load_vcs_yaml_info: setting CppAD_TAG to 20210000.4 -- ycm_load_vcs_yaml_info: setting casadi_REPOSITORY to dic-iit/casadi.git -- ycm_load_vcs_yaml_info: setting casadi_TAG to 3.5.5.3 -- ycm_load_vcs_yaml_info: setting YCM_REPOSITORY to robotology/ycm.git -- ycm_load_vcs_yaml_info: setting YCM_TAG to v0.13.0 -- ycm_load_vcs_yaml_info: setting YARP_REPOSITORY to robotology/yarp.git -- ycm_load_vcs_yaml_info: setting YARP_TAG to v3.4.6 -- ycm_load_vcs_yaml_info: setting ICUB_REPOSITORY to robotology/icub-main.git -- ycm_load_vcs_yaml_info: setting ICUB_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting ICUBcontrib_REPOSITORY to robotology/icub-contrib-common.git -- ycm_load_vcs_yaml_info: setting ICUBcontrib_TAG to v1.19.0 -- ycm_load_vcs_yaml_info: setting robots-configuration_REPOSITORY to robotology/robots-configuration.git -- ycm_load_vcs_yaml_info: setting robots-configuration_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting GazeboYARPPlugins_REPOSITORY to robotology/gazebo-yarp-plugins.git -- ycm_load_vcs_yaml_info: setting GazeboYARPPlugins_TAG to v3.6.2 -- ycm_load_vcs_yaml_info: setting icub-models_REPOSITORY to robotology/icub-models.git -- ycm_load_vcs_yaml_info: setting icub-models_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting yarp-matlab-bindings_REPOSITORY to robotology/yarp-matlab-bindings.git -- ycm_load_vcs_yaml_info: setting yarp-matlab-bindings_TAG to v3.4.4 -- ycm_load_vcs_yaml_info: setting RobotTestingFramework_REPOSITORY to robotology/robot-testing-framework.git -- ycm_load_vcs_yaml_info: setting RobotTestingFramework_TAG to v2.0.1 -- ycm_load_vcs_yaml_info: setting icub-tests_REPOSITORY to robotology/icub-tests.git -- ycm_load_vcs_yaml_info: setting icub-tests_TAG to v1.20.1 -- ycm_load_vcs_yaml_info: setting blocktestcore_REPOSITORY to robotology/blocktest.git -- ycm_load_vcs_yaml_info: setting blocktestcore_TAG to v2.3.3 -- ycm_load_vcs_yaml_info: setting blocktest-yarp-plugins_REPOSITORY to robotology/blocktest-yarp-plugins.git -- ycm_load_vcs_yaml_info: setting blocktest-yarp-plugins_TAG to v1.1.2 -- ycm_load_vcs_yaml_info: setting iDynTree_REPOSITORY to robotology/idyntree.git -- ycm_load_vcs_yaml_info: setting iDynTree_TAG to v4.2.0 -- ycm_load_vcs_yaml_info: setting BlockFactory_REPOSITORY to robotology/blockfactory.git -- ycm_load_vcs_yaml_info: setting BlockFactory_TAG to v0.8.2 -- ycm_load_vcs_yaml_info: setting WBToolbox_REPOSITORY to robotology/wb-toolbox.git -- ycm_load_vcs_yaml_info: setting WBToolbox_TAG to v5.4.1 -- ycm_load_vcs_yaml_info: setting OsqpEigen_REPOSITORY to robotology/osqp-eigen.git -- ycm_load_vcs_yaml_info: setting OsqpEigen_TAG to v0.6.4 -- ycm_load_vcs_yaml_info: setting UnicyclePlanner_REPOSITORY to robotology/unicycle-footstep-planner.git -- ycm_load_vcs_yaml_info: setting UnicyclePlanner_TAG to v0.3.0 -- ycm_load_vcs_yaml_info: setting walking-controllers_REPOSITORY to robotology/walking-controllers.git -- ycm_load_vcs_yaml_info: setting walking-controllers_TAG to v0.4.1 -- ycm_load_vcs_yaml_info: setting icub-gazebo-wholebody_REPOSITORY to robotology/icub-gazebo-wholebody.git -- ycm_load_vcs_yaml_info: setting icub-gazebo-wholebody_TAG to v0.1.0 -- ycm_load_vcs_yaml_info: setting whole-body-controllers_REPOSITORY to robotology/whole-body-controllers.git -- ycm_load_vcs_yaml_info: setting whole-body-controllers_TAG to v2.5.3 -- ycm_load_vcs_yaml_info: setting whole-body-estimators_REPOSITORY to robotology/whole-body-estimators.git -- ycm_load_vcs_yaml_info: setting whole-body-estimators_TAG to v0.5.1 -- ycm_load_vcs_yaml_info: setting walking-teleoperation_REPOSITORY to robotology/walking-teleoperation.git -- ycm_load_vcs_yaml_info: setting walking-teleoperation_TAG to v1.1.0 -- ycm_load_vcs_yaml_info: setting forcetorque-yarp-devices_REPOSITORY to robotology/forcetorque-yarp-devices.git -- ycm_load_vcs_yaml_info: setting forcetorque-yarp-devices_TAG to v0.2.0 -- ycm_load_vcs_yaml_info: setting wearables_REPOSITORY to robotology/wearables.git -- ycm_load_vcs_yaml_info: setting wearables_TAG to v1.2.1 -- ycm_load_vcs_yaml_info: setting HumanDynamicsEstimation_REPOSITORY to robotology/human-dynamics-estimation.git -- ycm_load_vcs_yaml_info: setting HumanDynamicsEstimation_TAG to v2.2.0 -- ycm_load_vcs_yaml_info: setting human-gazebo_REPOSITORY to robotology/human-gazebo.git -- ycm_load_vcs_yaml_info: setting human-gazebo_TAG to v1.0 -- ycm_load_vcs_yaml_info: setting icub_firmware_shared_REPOSITORY to robotology/icub-firmware-shared.git -- ycm_load_vcs_yaml_info: setting icub_firmware_shared_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting icub-firmware_REPOSITORY to robotology/icub-firmware.git -- ycm_load_vcs_yaml_info: setting icub-firmware_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting icub-firmware-build_REPOSITORY to robotology/icub-firmware-build.git -- ycm_load_vcs_yaml_info: setting icub-firmware-build_TAG to v1.21.0 -- ycm_load_vcs_yaml_info: setting icub-firmware-models_REPOSITORY to robotology/icub-firmware-models.git -- ycm_load_vcs_yaml_info: setting icub-firmware-models_TAG to v1.20.0 -- ycm_load_vcs_yaml_info: setting yarp-device-xsensmt_REPOSITORY to robotology/yarp-device-xsensmt.git -- ycm_load_vcs_yaml_info: setting yarp-device-xsensmt_TAG to v0.1.1 -- ycm_load_vcs_yaml_info: setting yarp-device-ovrheadset_REPOSITORY to robotology/yarp-device-ovrheadset.git -- ycm_load_vcs_yaml_info: setting yarp-device-ovrheadset_TAG to v1.0.0 -- ycm_load_vcs_yaml_info: setting speech_REPOSITORY to robotology/speech.git -- ycm_load_vcs_yaml_info: setting speech_TAG to v1.0.0 -- ycm_load_vcs_yaml_info: setting icub-basic-demos_REPOSITORY to robotology/icub-basic-demos.git -- ycm_load_vcs_yaml_info: setting icub-basic-demos_TAG to v1.20.1 -- ycm_load_vcs_yaml_info: setting funny-things_REPOSITORY to robotology/funny-things.git -- ycm_load_vcs_yaml_info: setting funny-things_TAG to v1.0.0 -- ycm_load_vcs_yaml_info: setting bipedal-locomotion-framework_REPOSITORY to dic-iit/bipedal-locomotion-framework.git -- ycm_load_vcs_yaml_info: setting bipedal-locomotion-framework_TAG to v0.3.0 -- ycm_load_vcs_yaml_info: setting LieGroupControllers_REPOSITORY to dic-iit/lie-group-controllers.git -- ycm_load_vcs_yaml_info: setting LieGroupControllers_TAG to v0.1.1 -- ycm_load_vcs_yaml_info: setting event-driven_REPOSITORY to robotology/event-driven.git -- ycm_load_vcs_yaml_info: setting event-driven_TAG to v1.5 -- ycm_load_vcs_yaml_info: setting matioCpp_REPOSITORY to dic-iit/matio-cpp.git -- ycm_load_vcs_yaml_info: setting matioCpp_TAG to v0.1.1 -- ycm_load_vcs_yaml_info: setting diagnosticdaemon_REPOSITORY to robotology/diagnostic-daemon.git -- ycm_load_vcs_yaml_info: setting diagnosticdaemon_TAG to v1.0.0 -- ycm_load_vcs_yaml_info: setting osqp-matlab_REPOSITORY to dic-iit/osqp-matlab-cmake-buildsystem.git -- ycm_load_vcs_yaml_info: setting osqp-matlab_TAG to v0.6.2.0 -- ycm_load_vcs_yaml_info: setting YARP_telemetry_REPOSITORY to robotology/yarp-telemetry.git -- ycm_load_vcs_yaml_info: setting YARP_telemetry_TAG to v0.2.0 -- ycm_load_vcs_yaml_info: setting gym-ignition_REPOSITORY to robotology/gym-ignition.git -- ycm_load_vcs_yaml_info: setting gym-ignition_TAG to v1.2.1 -- ycm_load_vcs_yaml_info: setting matlab-whole-body-simulator_REPOSITORY to dic-iit/matlab-whole-body-simulator.git -- ycm_load_vcs_yaml_info: setting matlab-whole-body-simulator_TAG to v2.0.0 -- ycm_load_vcs_yaml_info: setting casadi-matlab-bindings_REPOSITORY to dic-iit/casadi-matlab-bindings.git -- ycm_load_vcs_yaml_info: setting casadi-matlab-bindings_TAG to v3.5.5.1 -- ycm_load_vcs_yaml_info: setting idyntree-yarp-tools_REPOSITORY to robotology/idyntree-yarp-tools.git -- ycm_load_vcs_yaml_info: setting idyntree-yarp-tools_TAG to v0.0.2 -- YCM not found. Bootstrapping it. -- Downloading YCMEPHelper.cmake - Attempt 1 of 3 -- Downloading YCMEPHelper.cmake - SUCCESS CMake Warning (dev) at build/CMakeFiles/YCMEPHelper.cmake:164 (message): YCM_BOOTSTRAP HASH mismatch for file: [/usr/local/src/robot/robotology-superbuild/cmake/IncludeUrl.cmake] expected hash: [997de3554f0d03ae22952a64fe26cdad118e8199] actual hash: [e31dffed0897729283ef4e945bbdeb1921b438b5] Perhaps it is outdated or you have local modification. Please consider upgrading it, or contributing your changes to YCM. Call Stack (most recent call first): build/CMakeFiles/YCMEPHelper.cmake:1335 (_ycm_hash_check) cmake/YCMBootstrap.cmake:114 (ycm_bootstrap) CMakeLists.txt:56 (include) This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at build/CMakeFiles/YCMEPHelper.cmake:164 (message): YCM_BOOTSTRAP HASH mismatch for file: [/usr/local/src/robot/robotology-superbuild/cmake/YCMBootstrap.cmake] expected hash: [59c6dfc84ec36518c5be5aef13af252a8250bad7] actual hash: [dd95e1d38e045091e2e6c1ba2a96d540f1b8af0d] Perhaps it is outdated or you have local modification. Please consider upgrading it, or contributing your changes to YCM. Call Stack (most recent call first): build/CMakeFiles/YCMEPHelper.cmake:1336 (_ycm_hash_check) cmake/YCMBootstrap.cmake:114 (ycm_bootstrap) CMakeLists.txt:56 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Downloading StyleGITHUB.cmake - Attempt 1 of 3 -- Downloading StyleGITHUB.cmake - SUCCESS -- Performing download step (git clone) for 'YCM' -- Performing update step for 'YCM' -- Performing configure step for 'YCM' -- Performing uninstall step for 'YCM' -- Performing build step for 'YCM' -- Performing install step for 'YCM' -- Found YCM: /usr/local/src/robot/robotology-superbuild/build/install/share/cmake/YCM (found version "0.13.0") -- Package YARP not found. Will be downloaded and built. -- Package ICUB not found. Will be downloaded and built. -- Package ICUBcontrib not found. Will be downloaded and built. -- Package icub-models not found. Will be downloaded and built. -- Package robots-configuration not found. Will be downloaded and built. CMake Warning (dev) at /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimpTargets.cmake:54 (if): if given arguments: "ON" An argument named "ON" appears in a conditional statement. Policy CMP0012 is not set: if() recognizes numbers and boolean constants. Run "cmake --help-policy CMP0012" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/lib/x86_64-linux-gnu/cmake/assimp-5.0/assimp-config.cmake:1 (include) build/install/share/YCM/find-modules/Findassimp.cmake:49 (find_package) /usr/share/dart/cmake/DARTFindassimp.cmake:9 (find_package) /usr/share/dart/cmake/dart_dartComponent.cmake:6 (include) /usr/share/dart/cmake/DARTConfig.cmake:63 (include) /usr/share/dart/cmake/DARTConfig.cmake:123 (dart_traverse_components) /usr/share/dart/cmake/DARTConfig.cmake:171 (dart_package_init) /usr/lib/x86_64-linux-gnu/cmake/gazebo/gazebo-config.cmake:166 (find_package) cmake/BuildGazeboYARPPlugins.cmake:31 (find_package) build/install/share/YCM/modules/FindOrBuildPackage.cmake:204 (include) cmake/RobotologySuperbuildLogic.cmake:19 (find_or_build_package) CMakeLists.txt:63 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found Assimp , but Assimp >= 3.2 is required -- Found DART: /usr/include (Required is at least version "6.6") found components: dart -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found version "3.6.1") -- Looking for ignition-math6 -- found version 6.8.0 -- Searching for dependencies of ignition-math6 -- 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 -- Looking for ignition-math6 -- found version 6.8.0 -- Looking for ignition-transport8 -- found version 8.2.0 -- Searching for dependencies of ignition-transport8 -- Found Protobuf: /usr/lib/x86_64-linux-gnu/libprotobuf.so;-lpthread (found suitable version "3.6.1", minimum required is "3") -- Config-file not installed for ZeroMQ -- checking for pkg-config -- Checking for module 'libzmq >= 4' -- Found libzmq , version 4.3.2 -- Checking for module 'uuid' -- Found uuid, version 2.34.0 -- Looking for ignition-msgs5 -- found version 5.8.0 -- Searching for dependencies of ignition-msgs5 -- Looking for ignition-math6 -- found version 6.8.0 -- Checking for module 'tinyxml2' -- Found tinyxml2, version 6.2.0 -- Looking for ignition-msgs5 -- found version 5.8.0 -- Looking for ignition-common3 -- found version 3.13.2 -- Searching for dependencies of ignition-common3 -- Looking for dlfcn.h - found -- Looking for libdl - found -- Searching for component [graphics] -- Looking for ignition-common3-graphics -- found version 3.13.2 -- Searching for dependencies of ignition-common3-graphics -- Looking for ignition-math6 -- found version 6.8.0 -- Looking for ignition-fuel_tools4 -- found version 4.4.0 -- Searching for dependencies of ignition-fuel_tools4 -- Checking for module 'jsoncpp' -- Found jsoncpp, version 1.7.4 -- Checking for module 'yaml-0.1' -- Found yaml-0.1, version 0.2.2 -- Checking for module 'libzip' -- Found libzip, version 1.5.1 -- Looking for ignition-common3 -- found version 3.13.2 -- Looking for ignition-math6 -- found version 6.8.0 -- Looking for ignition-msgs5 -- found version 5.8.0 -- Package GazeboYARPPlugins not found. Will be downloaded and built. -- Package icub-tests not found. Will be downloaded and built. CMake Warning (dev) at build/install/share/YCM/modules/FindOrBuildPackage.cmake:201 (message): A YCM target already exists before including BuildYCM. Call Stack (most recent call first): cmake/Buildblocktestcore.cmake:7 (find_or_build_package) build/install/share/YCM/modules/FindOrBuildPackage.cmake:204 (include) cmake/RobotologySuperbuildLogic.cmake:33 (find_or_build_package) CMakeLists.txt:63 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Package blocktestcore not found. Will be downloaded and built. -- Package blocktest-yarp-plugins not found. Will be downloaded and built. -- Package iDynTree not found. Will be downloaded and built. -- Package idyntree-yarp-tools not found. Will be downloaded and built. -- Package qpOASES not found. Will be downloaded and built. -- Package BlockFactory not found. Will be downloaded and built. -- Package WBToolbox not found. Will be downloaded and built. -- Package UnicyclePlanner not found. Will be downloaded and built. -- Package walking-controllers not found. Will be downloaded and built. -- Package whole-body-estimators not found. Will be downloaded and built. -- Package whole-body-controllers not found. Will be downloaded and built. -- Package matioCpp not found. Will be downloaded and built. CMake Warning (dev) at build/install/share/YCM/modules/FindOrBuildPackage.cmake:201 (message): A YCM target already exists before including BuildYCM. Call Stack (most recent call first): cmake/BuildYARP_telemetry.cmake:7 (find_or_build_package) build/install/share/YCM/modules/FindOrBuildPackage.cmake:204 (include) cmake/RobotologySuperbuildLogic.cmake:58 (find_or_build_package) CMakeLists.txt:63 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Package YARP_telemetry not found. Will be downloaded and built. -- ROBOTOLOGY_SUPERBUILD_PYTHON_INSTALL_DIR_SETUP_SH: -- The following RUNTIME packages have been found: * PkgConfig * Git -- The following OPTIONAL packages have been found: * octomap (required version >= 1.6.8) * CURL * jsoncpp * gazebo -- The following REQUIRED packages have been found: * Simbody * Eigen3 * ccd (required version >= 2.0) * fcl (required version >= 0.3.2) * assimp * DART (required version >= 6.6) * boost_atomic (required version == 1.71.0) * boost_system (required version == 1.71.0) * boost_filesystem (required version == 1.71.0) * boost_program_options (required version == 1.71.0) * boost_regex (required version == 1.71.0) * boost_iostreams (required version == 1.71.0) * sdformat9 * boost_headers (required version == 1.71.0) * boost_thread (required version == 1.71.0) * boost_date_time (required version == 1.71.0) * Boost * OGRE * ZeroMQ (required version >= 4) * CPPZMQ * Threads * Protobuf (required version >= 3) * IgnProtobuf (required version >= 3) * ignition-transport8 * DL * UUID * TINYXML2 * IgnCURL * JSONCPP * YAML * ZIP * ignition-common3 * ignition-math6 * ignition-msgs5 * ignition-fuel_tools4 -- The following OPTIONAL packages have not been found: * YARP * RobotTestingFramework * ICUB * ICUBcontrib * icub-models * robots-configuration * GazeboYARPPlugins * yaml * icub-tests * blocktestcore * blocktest-yarp-plugins * iDynTree * OsqpEigen * osqp * idyntree-yarp-tools * qpOASES * BlockFactory * WBToolbox * UnicyclePlanner * walking-controllers * whole-body-estimators * whole-body-controllers * matioCpp * YARP_telemetry -- The following RECOMMENDED packages have not been found: * YCM, A collection of CMake modules and utilities for YARP and friends, Used by the build system -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/robot/robotology-superbuild/build [ 11%] Skipping update step for 'osqp' [ 22%] Performing configure step for 'osqp' Not searching for unused variables given on the command line. loading initial cache file /usr/local/src/robot/robotology-superbuild/build/src/osqp/CMakeFiles/YCMTmp/osqp-cache-Release.cmake -- We are on a Linux system -- Embedded is OFF -- Printing is ON -- Profiling is ON -- User interrupt is ON -- Floats are OFF -- Long integers (64bit) are ON -- Code coverage is OFF -- MKL Pardiso: ON -- Floats are OFF -- Long integers (64bit) are ON -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/robot/robotology-superbuild/build/src/osqp [ 22%] Performing build step for 'osqp' [ 1%] Built target qdldlobject [ 5%] Built target linsys_pardiso [ 30%] Built target linsys_qdldl [ 57%] Built target osqpstatic [ 61%] Built target osqp_demo [ 88%] Built target osqp [ 92%] Built target qdldlstatic [ 96%] Built target qdldl_example [100%] Built target qdldl [ 22%] Performing install step for 'osqp' [ 1%] Built target qdldlobject [ 5%] Built target linsys_pardiso [ 30%] Built target linsys_qdldl [ 57%] Built target osqpstatic [ 61%] Built target osqp_demo [ 88%] Built target osqp [ 92%] Built target qdldlstatic [ 96%] Built target qdldl_example [100%] Built target qdldl Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libosqp.a -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/auxil.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/constants.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/error.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/glob_opts.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/lin_alg.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/osqp.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/osqp_configure.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/proj.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/scaling.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/types.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/util.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/cs.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/polish.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/lin_sys.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/osqp/ctrlc.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libosqp.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/osqp/osqp-targets.cmake -- Installing: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/osqp/osqp-targets-release.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/osqp/osqp-config.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libqdldl.a -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/qdldl/qdldl.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/qdldl/qdldl_types.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libqdldl.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/qdldl/qdldl-targets.cmake -- Installing: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/qdldl/qdldl-targets-release.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/qdldl/qdldl-config.cmake [ 22%] Completed 'osqp' [ 33%] Built target osqp [ 33%] Skipping update step for 'OsqpEigen' [ 33%] Performing configure step for 'OsqpEigen' Not searching for unused variables given on the command line. loading initial cache file /usr/local/src/robot/robotology-superbuild/build/src/OsqpEigen/CMakeFiles/YCMTmp/OsqpEigen-cache-Release.cmake -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/robot/robotology-superbuild/build/src/OsqpEigen [ 44%] Performing build step for 'OsqpEigen' [100%] Built target OsqpEigen [ 44%] Performing install step for 'OsqpEigen' [100%] Built target OsqpEigen Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libOsqpEigen.so.0.6.3 -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libOsqpEigen.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/OsqpEigen.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Constants.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/SparseMatrixHelper.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/SparseMatrixHelper.tpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Data.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Data.tpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Settings.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Solver.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Solver.tpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/OsqpEigen/Debug.hpp -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/OsqpEigen/OsqpEigenConfigVersion.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/OsqpEigen/OsqpEigenConfig.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/OsqpEigen/OsqpEigenTargets.cmake -- Installing: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/OsqpEigen/OsqpEigenTargets-release.cmake [ 55%] Completed 'OsqpEigen' [ 66%] Built target OsqpEigen [ 77%] Skipping update step for 'iDynTree' [ 77%] Performing configure step for 'iDynTree' Not searching for unused variables given on the command line. loading initial cache file /usr/local/src/robot/robotology-superbuild/build/src/iDynTree/CMakeFiles/YCMTmp/iDynTree-cache-Release.cmake -- Found YARP: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.4.3") -- Found YARP: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.4.3") -- Found YARP: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/YARP (found version "3.4.3") -- Found ICUB 1.19.2 (Components: iCubDev ctrlLib skinDynLib iKin iDyn learningMachine perceptiveModels actionPrimitives optimization) -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- Configuring done -- Generating done -- Build files have been written to: /usr/local/src/robot/robotology-superbuild/build/src/iDynTree [ 77%] Performing build step for 'iDynTree' [ 0%] Built target idyntree-private-fpconv [ 18%] Built target idyntree-core [ 32%] Built target idyntree-model [ 38%] Built target idyntree-sensors [ 41%] Built target idyntree-modelio-xml [ 51%] Built target idyntree-modelio-urdf [ 60%] Built target idyntree-estimation [ 61%] Built target idyntree-solid-shapes [ 63%] Built target idyntree-high-level [ 67%] Built target idyntree-inverse-kinematics [ 87%] Built target idyntree-optimalcontrol [ 95%] Built target idyntree-visualization [ 97%] Built target idyntree-model-view [ 98%] Built target idyntree-model-info [100%] Built target yarprobotstatepublisher [ 77%] Performing install step for 'iDynTree' [ 0%] Built target idyntree-private-fpconv [ 18%] Built target idyntree-core [ 32%] Built target idyntree-model [ 38%] Built target idyntree-sensors [ 41%] Built target idyntree-modelio-xml [ 51%] Built target idyntree-modelio-urdf [ 60%] Built target idyntree-estimation [ 61%] Built target idyntree-solid-shapes [ 63%] Built target idyntree-high-level [ 67%] Built target idyntree-inverse-kinematics [ 87%] Built target idyntree-optimalcontrol [ 95%] Built target idyntree-visualization [ 97%] Built target idyntree-model-view [ 98%] Built target idyntree-model-info [100%] Built target yarprobotstatepublisher Install the project... -- Install configuration: "Release" -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-core.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Axis.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/ArticulatedBodyInertia.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/ClassicalAcc.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Direction.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/EigenSparseHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/EigenMathHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/EigenHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/InertiaNonLinearParametrization.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/MatrixDynSize.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/MatrixFixSize.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Position.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/PositionRaw.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Rotation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/RotationRaw.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/RotationalInertiaRaw.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialAcc.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialForceVector.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialInertiaRaw.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialInertia.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialMomentum.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialMotionVector.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/TestUtils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Transform.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/TransformDerivative.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Twist.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Utils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/VectorFixSize.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/VectorDynSize.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Wrench.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/PrivateUtils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/PrivatePreProcessorUtils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/GeomVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SpatialVector.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SparseMatrix.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Triplets.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/CubicSpline.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/Span.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/SO3Utils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/MatrixView.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/AngularForceVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/AngularMotionVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/ForceVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/LinearForceVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/LinearMotionVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/MotionVector3.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Core/CoreExport.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-model.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/ContactWrench.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/DenavitHartenberg.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/FixedJoint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/ForwardKinematics.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/FreeFloatingState.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/FreeFloatingMatrices.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/IJoint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Dynamics.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/DynamicsLinearization.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/DynamicsLinearizationHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Indices.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Jacobians.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/JointState.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/LinkTraversalsCache.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Link.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/LinkState.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Model.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/ModelTransformers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/MovableJointImpl.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/RevoluteJoint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/PrismaticJoint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/SolidShapes.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/SubModel.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/Traversal.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/ModelTestUtils.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Model/ModelExport.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-sensors.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/AllSensorsTypes.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/Sensors.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/SixAxisForceTorqueSensor.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/GyroscopeSensor.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/AccelerometerSensor.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/ThreeAxisAngularAccelerometerSensor.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/ThreeAxisForceTorqueContactSensor.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/PredictSensorsMeasurements.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Sensors/ModelSensorsTransformers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-modelio-xml.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/XMLParser.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/XMLElement.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/XMLAttribute.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/XMLDocument.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-modelio-urdf.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ModelIO/URDFDofsImport.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ModelIO/ModelLoader.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ModelIO/ModelExporter.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ModelIO/ModelCalibrationHelper.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-estimation.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/BerdyHelper.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/ExternalWrenchesEstimation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/ExtWrenchesAndJointTorquesEstimator.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/SimpleLeggedOdometry.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/BerdySparseMAPSolver.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/SchmittTrigger.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/ContactStateMachine.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/BipedFootContactClassifier.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/GravityCompensationHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/ExtendedKalmanFilter.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/AttitudeEstimator.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/AttitudeMahonyFilter.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/AttitudeQuaternionEKF.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Estimation/KalmanFilter.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-solid-shapes.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/InertialParametersSolidShapesHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-high-level.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/KinDynComputations.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-inverse-kinematics.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ConvexHullHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/BoundingBoxHelpers.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/InverseKinematics.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-optimalcontrol.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/OptimalControl.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/DynamicalSystem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ControlledDynamicalSystem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/LinearSystem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/MultiBodySystem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Integrator.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/LinearMPC.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/MPC.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/OptimalControlProblem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/OptimalControlSolver.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/SystemLineariser.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Cost.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Constraint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/QuadraticLikeCost.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/QuadraticCost.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/L2NormCost.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/LinearConstraint.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/LinearCost.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Controller.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/TimeRange.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/ConstraintsGroup.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/OptimizationProblem.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Optimizer.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/TimeVaryingObject.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/SparsityStructure.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Integrators/FixedStepIntegrator.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Integrators/RK4.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Integrators/ImplicitTrapezoidal.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Integrators/ForwardEuler.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Optimizers/IpoptInterface.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Optimizers/OsqpInterface.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Optimizers/AlglibInterface.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Optimizers/WorhpInterface.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/OCSolvers/MultipleShootingSolver.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/yarp/YARPConversions.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/yarp/YARPEigenConversions.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/yarp/YARPConfigurationsLoader.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/yarp/YARPConversionsImplementation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/yarp/YARPConfigurationsLoaderImplementation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/iKinConversions.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/iKinConversionsImplementation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/skinDynLibConversions.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/skinDynLibConversionsImplementation.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/libidyntree-visualization.so -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/include/iDynTree/Visualizer.h -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/bin/idyntree-model-info -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/bin/idyntree-model-view -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/bin/yarprobotstatepublisher -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeConfigVersion.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeConfig.cmake -- Up-to-date: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeTargets.cmake -- Installing: /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeTargets-release.cmake [ 77%] Completed 'iDynTree' [100%] Built target iDynTree ```
traversaro commented 3 years ago

Can you check the content of /usr/local/src/robot/robotology-superbuild/build/install/lib/cmake/iDynTree/iDynTreeConfigVersion.cmake to check if it contains 3.0.1 or 4.2.0 ?

pattacini commented 3 years ago

It contains 3.0.1

set(PACKAGE_VERSION "3.0.1")

if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION)
  set(PACKAGE_VERSION_COMPATIBLE FALSE)
else()
  set(PACKAGE_VERSION_COMPATIBLE TRUE)
  if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION)
    set(PACKAGE_VERSION_EXACT TRUE)
  endif()
endif()

# if the installed project requested no architecture check, don't perform the check
if("FALSE")
  return()
endif()

# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it:
if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "")
  return()
endif()

# check that the installed version has the same 32/64bit-ness as the one which is currently searching:
if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8")
  math(EXPR installedBits "8 * 8")
  set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)")
  set(PACKAGE_VERSION_UNSUITABLE TRUE)
endif()
traversaro commented 3 years ago

I suspect there are some tricky details on the logic of installation that prevents the new file to overwrite the old one, probably related to timestamps. Can you try to remove the build/install and re-compiled the superbuild? You can also inspect src/iDynTree/CMakeLists.txt to check that indeed the source version is indeed v4.2.0 .

pattacini commented 3 years ago

I've removed the build/install dir, but I'm still getting the same problem with the file build/install/lib/cmake/iDynTree/iDynTreeConfigVersion.cmake pointing to 3.0.1.

I don't have any build/src/iDynTree/CMakeLists.txt file, but I can see that build/src/iDynTree/CMakeCache.txt contains somehow:

//Value Computed by CMake
CMAKE_PROJECT_VERSION:STATIC=3.0.1
traversaro commented 3 years ago

I don't have any build/src/iDynTree/CMakeLists.txt file

I guess you can inspect the actual version of iDynTree used in robotology-superbuild/src/iDynTree/CMakeLists.txt

pattacini commented 3 years ago

I overlooked the robotology-superbuild/src dir. So the iDynTree version therein is the 3.0.1. I only purged the content of the build, actually.

So, when I said "clean" I was meaning right that. Do I have to purge robotology-superbuild/src as well then?

traversaro commented 3 years ago

Do I have to purge robotology-superbuild/src as well then?

Either you purge it, or you update it via make update-all (but I am not 100% sure that will work).

pattacini commented 3 years ago

It worked 🎉 Thanks 👍🏻