

You cannot link a ROS node to multiple versions of Boost, which is what will happen when you link abb_robot_driver's nodes against roscpp (which it must) and your custom Boost version. If one of the dependencies have already done that, and the result gets cached or exported, your dependents will most likely not evaluate FindBoost again, leading to your BOOST_ROOT being ignored.īut in all cases: please be aware that mixing different Boost versions is fraught with potential problems. This might or might not work, depending on whether the package(s) you're trying to build are the first to look for Boost. You should be able to do something like: catkin_make -cmake-args -DBOOST_ROOT:PATHNAME=/path/to/your/boost This module reads hints about search locations from variables: According to the FindBoost.cmake documentation:

Setting LD_LIBRARY_PATH will likely not do anything.
