qiayuanl / legged_control

Nonlinear MPC and WBC framework for legged robot based on OCS2 and ros-controls
BSD 3-Clause "New" or "Revised" License
855 stars 217 forks source link

Imported target "Boost::system" includes non-existent path "/include" (from ocs2_core) #25

Closed elpimous closed 1 year ago

elpimous commented 1 year ago

did you ever seen that ?

here is the terminal catkin build error. https://pastebin.com/Nus2c0fs

the catkin_build : catkin build ocs2_legged_robot_ros ocs2_self_collision_visualization

system : i86 UP extreme i7

Don't know to do. tested many times, and with new fresh ros. Thanks the team. Vincent

qiayuanl commented 1 year ago

The packages you built are pure OCS2s, so you might open an issue in the OCS2 repo.

elpimous commented 1 year ago

Correct. I didit, thanks

elpimous commented 1 year ago

found solution.. in file : /home/"your_login"/catkin_ws/devel/share/ocs2_core/cmake/ocs2_coreConfig.cmake L96, replaced : set(_include_dirs "/home/ylo2/catkin_ws/src/ocs2/ocs2_core/include;/home/ylo2/catkin_ws/src/ocs2/ocs2_core/test/include;/usr/include/eigen3;/include") with : set(_include_dirs "/home/ylo2/catkin_ws/src/ocs2/ocs2_core/include;/home/ylo2/catkin_ws/src/ocs2/ocs2_core/test/include;/usr/include/eigen3;include") ## removed "/"