sbgisen / moveit

:robot: The MoveIt motion planning framework
http://moveit.ros.org/
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Imported target "Boost::system" includes non-existent path #10

Open jsupratman13 opened 1 year ago

jsupratman13 commented 1 year ago

概要

Starting  >>> catkin_tools_prebuild                                                                                                                                                                               
Finished  <<< catkin_tools_prebuild                                   [ 1.0 seconds ]                                                                                                                             
Starting  >>> moveit_core                                                                                                                                                                                         
Starting  >>> ompl                                                                                                                                                                                                
__________________________________________________________________________________________________________________________________________________________________________________________________________________
Errors     << moveit_core:cmake /home/soar/ros/logs/moveit_core/build.cmake.000.log                                                                                                                               
TODO: Analyse and fix gcc's maybe-uninitialized warnings
CMake Error in exceptions/CMakeLists.txt:
  Imported target "Boost::system" includes non-existent path

    "/include"

  in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

  * The path was deleted, renamed, or moved to another location.

  * An install or uninstall procedure did not complete successfully.

  * The installation package was faulty and references files it does not
  provide.

According to https://stackoverflow.com/questions/70585114/imported-target-boostsystem-includes-non-existent-path-include boost cmake are searching for include in /include when it should be /usr/include. Not sure when and why this happens but for now the work around for this is create a symbolic link

sudo ln -s /usr/include /include

再現手順 修正しないとどう困るか 原因 修正案