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

tf package missing from ROS build. #386

Open
WillieMaddox opened this issue Jul 19, 2017 · 1 comment
Open

tf package missing from ROS build. #386

WillieMaddox opened this issue Jul 19, 2017 · 1 comment

Comments

@WillieMaddox
Copy link

When I run ./build_ros.sh from the root of the project I fail for missing package dependencies.

maddoxw@wmdevbox:~/git/ORB_SLAM2$ ./build_ros.sh
Building ROS nodes
-- The C compiler identification is GNU 5.4.0
-- The CXX compiler identification is GNU 5.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /usr/bin/python (found version "2.7.12") 
[rosbuild] Building package ORB_SLAM2
Failed to invoke /usr/bin/rospack deps-manifests ORB_SLAM2
[rospack] Error: package 'ORB_SLAM2' depends on non-existent package 'tf' and rosdep claims that it is not a system dependency. Check the ROS_PACKAGE_PATH or try calling 'rosdep update'


CMake Error at /usr/share/ros/core/rosbuild/public.cmake:129 (message):
  

  Failed to invoke rospack to get compile flags for package 'ORB_SLAM2'.
  Look above for errors from rospack itself.  Aborting.  Please fix the
  broken dependency!

Call Stack (most recent call first):
  /usr/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack)
  CMakeLists.txt:4 (rosbuild_init)


-- Configuring incomplete, errors occurred!
See also "/home/maddoxw/git/ORB_SLAM2/Examples/ROS/ORB_SLAM2/build/CMakeFiles/CMakeOutput.log".
make: *** No targets specified and no makefile found.  Stop.

My ROS paths are as follows:

maddoxw@wmdevbox:~/git/ORB_SLAM2$ printenv | grep ROS
ROS_ROOT=/usr/share/ros
ROS_PACKAGE_PATH=:/usr/lib/x86_64-linux-gnu:/home/maddoxw/git/ORB_SLAM2/Examples/ROS

And when I try to install the missing dep, I get errors.

maddoxw@wmdevbox:~/git/ORB_SLAM2$ rosdep install tf

ERROR: Rosdep cannot find all required resources to answer your query
Missing resource tf
ROS path [0]=/usr/share/ros
ROS path [1]=/usr/lib/x86_64-linux-gnu
ROS path [2]=/home/maddoxw/git/ORB_SLAM2/Examples/ROS
ROS path [3]=/usr/share

I probably have my paths messed up, but It's not obvious to me how? I'm on Ubuntu 16.04.

Suggestions?

Thanks.

@kevin-george
Copy link

rosdep doesn't install tf itself, but only its system dependencies. Install tf first

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants