ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

tf cannot find boost thread library

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

akhil gravatar image

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

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 : http://wiki.ros.org/hydro/Installatio...

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 libboost_thread.so but still no luck can someone please help .

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

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

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

Comments

Hi friend,

I have the same problem.

My question:

Link: https://answers.ros.org/question/269944/instalation-ros-on-debian-wheezy-erro-boost/

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 -0500 )edit

If you have a new question please create a new one. http://wiki.ros.org/Support#Do_Not

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

Question Tools

1 follower

Stats

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

Seen: 1,322 times

Last updated: Sep 01 '17