Gazebo | Ignition | Community
Ask Your Question

What is the tbb/task.h header for, and where can I get it?

asked 2013-04-26 12:13:25 -0500

Ben B gravatar image

Trying to compile a plugin that sets joint positions, I get this error:

$ make
[100%] Building CXX object CMakeFiles/set_joints.dir/
In file included from /usr/include/gazebo-1.7/gazebo/transport/transport.hh:3:0,
                 from /usr/include/gazebo-1.7/gazebo/gazebo_core.hh:23,
                 from /usr/include/gazebo-1.7/gazebo/gazebo.hh:20,
                 from /home/benjaminblumer/Dropbox/RoboticsResearch/WAMDatabase/WAM Model/
/usr/include/gazebo-1.7/gazebo/transport/Connection.hh:20:22: fatal error: tbb/task.h: No such file or directory
compilation terminated.
make[2]: *** [CMakeFiles/set_joints.dir/] Error 1
make[1]: *** [CMakeFiles/set_joints.dir/all] Error 2
make: *** [all] Error 2

What is the tbb library and how should I install it? I'm using Ubuntu 12.04 64 bit with Gazebo 1.7.1.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-04-26 13:03:02 -0500

Try to install libtbb (

~$ sudo apt-get install libtbb-dev libtbb2

edit flag offensive delete link more


Thanks! Fixed the problem. Should this be added as a dependency for Gazebo?

Ben B gravatar imageBen B ( 2013-04-26 14:11:15 -0500 )edit

Yes, in page (I think that is the newest installation instruction) the tbb library is a prerequisite. Best regards.

Daniel Vaz gravatar imageDaniel Vaz ( 2013-04-26 14:32:19 -0500 )edit

It's only listed as a prerequisite for installation from source.

Ben B gravatar imageBen B ( 2013-04-26 14:56:37 -0500 )edit

Great. Thanks.

Ben B gravatar imageBen B ( 2013-04-26 18:06:09 -0500 )edit

I thought you had compiled gazebo from the source. ;)

Daniel Vaz gravatar imageDaniel Vaz ( 2013-04-27 07:51:41 -0500 )edit

No worries. That was my old setup, but I just reformatted my machine and decided to go the binary route.

Ben B gravatar imageBen B ( 2013-04-29 15:39:51 -0500 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-04-26 12:13:25 -0500

Seen: 814 times

Last updated: Apr 26 '13