ami-iit / bipedal-locomotion-framework

Suite of libraries for achieving bipedal locomotion on humanoid robots
https://ami-iit.github.io/bipedal-locomotion-framework/
BSD 3-Clause "New" or "Revised" License
153 stars 38 forks source link

Unable to install the GenericContainer component #35

Closed GiulioRomualdi closed 4 years ago

GiulioRomualdi commented 4 years ago

When I try to install the GenericContainer element, I get the following error:

Make Error at src/GenericContainer/cmake_install.cmake:41 (file):
  file INSTALL cannot find
  "/home/gromualdi/robot-code/bipedal-locomotion-controllers_estimators/src/GenericContainer/include/BipedalLocomotionControllers/GenericVector/TemplateHelpers.h":
  No such file or directory.
Call Stack (most recent call first):
  src/cmake_install.cmake:42 (include)
  cmake_install.cmake:69 (include)

The problem can be easily fixed with the following patch

diff --git a/src/GenericContainer/CMakeLists.txt b/src/GenericContainer/CMakeLists.txt
index 026ec88..e4203de 100644
--- a/src/GenericContainer/CMakeLists.txt
+++ b/src/GenericContainer/CMakeLists.txt
@@ -5,9 +5,7 @@
 # set target name
 add_bipedal_component(
     NAME                   GenericContainer
-    PUBLIC_HEADERS         include/BipedalLocomotionControllers/GenericContainer/Vector.h include/BipedalLocomotionControllers/GenericVector/TemplateHelpers.h
+    PUBLIC_HEADERS         include/BipedalLocomotionControllers/GenericContainer/Vector.h include/BipedalLocomotionControllers/GenericContainer/TemplateHelpers.h
     PUBLIC_LINK_LIBRARIES ${iDynTree_LIBRARIES}
     SUBDIRECTORIES   tests
     IS_INTERFACE     ON)
S-Dafarra commented 4 years ago

Whoops :sweat_smile: