Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gazebo needs to include tbb in its GAZEBO_LIBRARIES #74

Closed
davetcoleman opened this issue Jul 13, 2013 · 4 comments
Closed

Gazebo needs to include tbb in its GAZEBO_LIBRARIES #74

davetcoleman opened this issue Jul 13, 2013 · 4 comments
Labels

Comments

@davetcoleman
Copy link
Collaborator

To fix error

/usr/include/gazebo-1.9/gazebo/transport/Connection.hh:20:22: fatal error: tbb/task.h: No such file or directory

Use this code snippet?

 #################################################                                                                                                     
  # Find TBB                                                                                                                                            
  pkg_check_modules(TBB tbb)
  if (NOT TBB_FOUND)
    message(STATUS "TBB not found, attempting to detect manually")

    find_library(tbb_library tbb ENV LD_LIBRARY_PATH)
    if (tbb_library)
      set(TBB_FOUND true)
      set(TBB_LIBRARIES ${tbb_library})
    else (tbb_library)
      BUILD_ERROR ("Missing: TBB - Threading Building Blocks")
    endif(tbb_library)
  endif (NOT TBB_FOUND)
@tfoote
Copy link
Member

tfoote commented Jul 13, 2013

This is just an issue of missing libtbb-dev as a dependency. Ticketed upstream at: https://bitbucket.org/osrf/gazebo/issue/779/missing-dependency-export-for-tbb

tfoote added a commit that referenced this issue Jul 13, 2013
Add tbb temporarily to work around #74
@davetcoleman
Copy link
Collaborator Author

This issue should not be closed until commit 08a0891 is removed

@davetcoleman
Copy link
Collaborator Author

Fixed in gazebo here: https://bitbucket.org/osrf/gazebo-release/issue/40

@davetcoleman
Copy link
Collaborator Author

Fixed in commit 0581814

cohen39 pushed a commit to cohen39/gazebo_ros_pkgs that referenced this issue Nov 15, 2021
cohen39 pushed a commit to cohen39/gazebo_ros_pkgs that referenced this issue Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants