0

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.

I'm on Ubuntu 20.04.4

Here's what I've tried and found so far:

I've cleaned up the 1.71 version of boost using apt purge -y libboost* and installed boost 1.69 using steps here: How to install Boost on Ubuntu

This installed 1.69 in /usr/local/include so I moved 1.71 boost to /usr/include/boost_old and 1.69 to /usr/include/boost.

Now when I type: aptitude search boost I only get results for 1.71 and 1.67.

When I try to install with: sudo apt-get install libboost1.69-dev-all I get the output:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libboost1.69-dev-all
E: Couldn't find any package by glob 'libboost1.69-dev-all'
E: Couldn't find any package by regex 'libboost1.69-dev-all'
`

The only options I have for installation are:

libboost1.67-all-dev    libboost1.67-doc        libboost1.71-all-dev    libboost1.71-doc

libboost1.67-dev libboost1.67-tools-dev libboost1.71-dev libboost1.71-tools-dev

This doesn't include 1.69. I tried looking and seeing if there was an ubuntu provided package for 1.69 but I couldn't find one.

Output of whereis boost is:

boost: /usr/include/boost

This matches the location where I moved 1.69.

I'm trying to compile ROS with libboost1.69 rather than the default 1.71. However, rosdep install --from-paths src --ignore-src -r -y will just install 1.71, I believe I'll need to use apt-get to install 1.69 and skip over the boost installation.

Any insights on how to accomplish this?

0 Answers0