Robotics StackExchange | Archived questions

Recompiling ROS with specified libboost version

I currently have ROS noetic, I'd like to recompile noetic from source. I also want to make sure I'm compiling ROS with boost 1.69. I've been following the instructions here for compiling ROS from source: http://wiki.ros.org/noetic/Installation/Source#Installing_from_source

I'm not sure what the steps are and when I need to do the steps to get boost 1.69 and have it used in the ROS compilation. I currently have boost 1.71 on my system.

Asked by Blazerunner738 on 2022-12-21 14:48:45 UTC

Comments

Answers

I was in a situation where i was using Boost 1.72 and the apt installed version for melodic which were in conflict and made my program crash.
Initially i wanted to compile ROS but quickly gave up on the idea.
Instead i made my cpp program either by replacing boost code or made it compatible with the system version.

For Asio i used http://think-async.com/Asio/index.html to have a header only library. I could replace a lot a small stuff by using C++17 standard libraries (like filesystem and variant)

I know it's not a great help but my suggestion is to always make it work using the system boost version to avoid a lot of hassle.

Asked by qualiticsbe on 2022-12-23 05:35:56 UTC

Comments