LIO-SAM icon indicating copy to clipboard operation
LIO-SAM copied to clipboard

build error : Boost not found

Open shashankkapoor opened this issue 2 years ago • 3 comments

Build System

  • [x] Ubuntu 20.04
  • [x] ROS foxy
  • [X] ros2 branch

Hi, As I am new to the ROS2 and i am building this Slam algorithm on my system for my current project but i faced some issue regarding this.

WhatsApp Image 2022-06-16 at 10 45 24 AM

but i did cat /usr/include/boost/version.hpp | grep "BOOST_LIB_VERSION" i found boost package is installed with version 1.71.0 .

WhatsApp Image 2022-06-16 at 11 28 05 AM

thanks in advance!

shashankkapoor avatar Jun 16 '22 05:06 shashankkapoor

Please verify that

  • you have sourced the setup bash of your ros2 installation (e.g. source /opt/ros/foxy/setup.bash),
  • you have installed the dependencies (ros-foxy-perception-pcl) as described in readme and
  • you do not have a different version of pcl installed on your system.

grischi avatar Jun 20 '22 10:06 grischi

I had the same error, you need to add -DBoost_LIBRARY_DIR_RELEASE=(dir to your boost libs) to your catkin_make command

CharlesFarhat avatar Jun 25 '22 15:06 CharlesFarhat

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Nov 02 '22 04:11 stale[bot]