Robotics StackExchange | Archived questions

how to fix the conflict about boost 1.67 and boost 1.58 in raspberry pi 4?

In https://wiki.ros.org/ROSberryPi/Installing%20ROS%20Kinetic%20on%20the%20Raspberry%20Pi

setction 3.3 Building the catkin Workspace "To fix this error try installing boost 1.58 manually"

Could somebody help me how to do when the wiki say :"instead simply pointed to by cmake's BOOSTINCLUDEDIR and BOOSTLIBRARYDIR, boost's build output actually shows you how."?

Asked by Googleking on 2019-11-27 03:04:50 UTC

Comments

Answers

When i have compiled the boost library from the 1.58 boost source code, the screen shows:

The Boost C++ Libraries were successfully built!

The following directory should be added to compiler include paths:

/home/pi/Downloads/boost_1_58_0

The following directory should be added to linker library paths:

/home/pi/Downloads/boost_1_58_0/stage/lib

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

So i need to change the CmakeList.txt in the module src document what i need to compile, right? could anyone teach me how to instead the boost 1.58 can avoid the error about rviz segement fault by using 1.67?

Asked by Googleking on 2019-11-28 22:30:36 UTC

Comments

Hello, could you pls post your CMakeList here? I have also trouble compiling with the older boost lib version

Asked by Chirellu on 2020-03-09 08:10:41 UTC