Why cmake is looking for default Boost version?
I have installed latest Boost library 1.80.0
from source on Ubuntu 20.04
, then I tried to install the abb_robot_driver, but I have got this Error:
Errors << abb_robot_cpp_utilities:make /home/belal/ros1_ws/pacbot_ws/logs/abb_robot_cpp_utilities/build.make.000.log
make[2]: *** No rule to make target '/usr/lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0', needed by '/home/belal/ros1_ws/pacbot_ws/devel/.private/abb_robot_cpp_utilities/lib/libabb_robot_cpp_utilities.so'.
Stop.
Can you please tell me how can I tell CMake and Catkin that My Boost is 1.81.0
and not the default 1.71.0
, and my libraries folder is /usr/local/lib/
and not /usr/lib/x86_64-linux-gnu/
? thanks in advance.
Note that I have added export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
to my ~/.bashrc
and I have already done $ sudo ldconfig
.
I've updated the title of your question, as this is a CMake question. Catkin is not involved.