ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org

How to specify the boost path


#1

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

I just follow the steps here: http://wiki.ros.org/kinetic/Installation/Source

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/libboost_thread.so'.

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.


#2

Please ask questions like this on http://answers.ros.org, assuming you don’t already find it answered there.