ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A

How to specify the boost path

For some reason, I have to compile ROS1 from the source.

I just follow the steps here:

However, when I execute ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release, I get an error about boost: No rule to make target '/usr/lib/'.

My system is Ubuntu and I’ve installed boost: apt install libboost-all-dev. I found all libboost files here: /usr/lib/x86_64-linux-gnu. This is why it can’t find boost in usr/lib/.

I just want to know how to tell ROS to find boost at some specific path?

I’ve tried export ROS_BOOST_ROOT=/usr/lib/x86_64-linux-gnu and export ROS_BOOST_PATH=/usr/lib/x86_64-linux-gnu but it doesn’t work.

Please ask questions like this on, assuming you don’t already find it answered there.