ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

tf cannot find boost thread library

asked 2014-12-20 11:43:32 -0600

akhil gravatar image

updated 2014-12-20 11:45:50 -0600

I am trying to build ros hydro from source on ubuntu 12.04 it requires boost 1.46.1 but the version of boost installed on my machine is 1.48 so I downloaded boost 1.46.1 and installed it in a local folder. I also added skip-keys flag in rosdep to stop it from installing boost (because it would remove the newer version). After installing these dependencies I did ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release as mentioned here :

this started building plain cmake and catkin packages but gave an error while building tf: CMakeFiles/tf_monitor.dir/src/tf_monitor.cpp.o: In function main': tf_monitor.cpp:(.text.startup+0x3cf): undefined reference toboost::thread::start_thread_noexcept()' tf_monitor.cpp:(.text.startup+0x46f): undefined reference to `boost::thread::join_noexcept()'

I specified the boost library path using CMAKE_LIBRARY_PATH variable cmake is able to find the local boost installation using this. I also tried changing the CMakeCahe.txt file in tf package by specifying the location of but still no luck can someone please help .

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-20 12:19:43 -0600

akhil gravatar image

Finally solved it by changing the boost_include and boost_library path in CMakeCache.txt file so that they point to the local boost installation

edit flag offensive delete link more


Hi friend,

I have the same problem.

My question:


You can help-me?

My robot is a P3AT with Debian Wheezy, 32 bits.

Gustavo Henrique gravatar image Gustavo Henrique  ( 2017-09-01 13:04:44 -0600 )edit

If you have a new question please create a new one.

jayess gravatar image jayess  ( 2017-09-01 13:58:15 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-20 11:43:32 -0600

Seen: 1,085 times

Last updated: Sep 01 '17