Problems with compiling osrf-common [closed]

asked 2013-07-18 06:32:46 -0500

QuantumDamage gravatar image

I have installed and configured ROS Fuerte on Ubuntu 12.04. I'm trying to compile osrf_msgs from

Problem I have:

damian@damian-P5QL-PRO:~/ros/stacks/osrf-common/build$ make
Scanning dependencies of target osrf_msgs
[ 12%] Creating directories for 'osrf_msgs'
[ 25%] No download step for 'osrf_msgs'
[ 37%] No patch step for 'osrf_msgs'
[ 50%] No update step for 'osrf_msgs'
[ 62%] Performing configure step for 'osrf_msgs'
-- The C compiler identification is GNU
-- The CXX compiler identification is GNU
-- Check for working C compiler: /usr/bin/gcc
-- Check for working C compiler: /usr/bin/gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - 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
-- Found PythonInterp: /usr/bin/python (found version "2.7.3")
[rosbuild] Building package osrf_msgs
[rosbuild] Cached build flags older than manifests; calling rospack to get flags
[rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
[rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
[rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
-- Configuring done
-- Generating done
-- Build files have been written to: /home/damian/ros/stacks/osrf-common/build/ros/osrf_msgs
[ 75%] Performing build step for 'osrf_msgs'
Scanning dependencies of target rosbuild_premsgsrvgen
[  0%] Built target rosbuild_premsgsrvgen
Scanning dependencies of target ROSBUILD_genmsg_cpp
[ 25%] Generating /home/damian/ros/stacks/osrf-common/ros/osrf_msgs/msg_gen/cpp/include/osrf_msgs/JointCommands.h
[ 25%] Built target ROSBUILD_genmsg_cpp
Scanning dependencies of target ROSBUILD_genmsg_lisp
[ 50%] Generating /home/damian/ros/stacks/osrf-common/ros/osrf_msgs/msg_gen/lisp/JointCommands.lisp, /home/damian/ros/stacks/osrf-common/ros/osrf_msgs/msg_gen/lisp/_package.lisp, /home/damian/ros/stacks/osrf-common/ros/osrf_msgs/msg_gen/lisp/_package_JointCommands.lisp
Traceback (most recent call last):
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/", line 871, in <module>
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/", line 781, in generate_msg
    write_class_exports(s, package)
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/", line 485, in write_class_exports
    for spec in roslib.msgs.get_pkg_msg_specs(pkg)[0]:
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 441, in get_pkg_msg_specs
    types = list_msg_types(package, False)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 413, in list_msg_types
    types = roslib.resources.list_package_resources(package, include_depends, 'msg', _msg_filter)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 105, in list_package_resources
    package_dir = roslib.packages.get_pkg_dir(package)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/", line 176, in get_pkg_dir
    raise InvalidROSPkgException("Cannot locate installation of package %s: %s. ROS_ROOT[%s] ROS_PACKAGE_PATH[%s]"%(package, rperr.strip(), ros_root, ros_package_path))
roslib.packages.InvalidROSPkgException: Cannot locate installation of package osrf_msgs: [rospack] Error: stack/package osrf_msgs not found. ROS_ROOT[/opt/ros/fuerte/share/ros] ROS_PACKAGE_PATH[/opt/ros/fuerte/share:/opt/ros/fuerte/stacks]
make[5]: *** [/home/damian/ros/stacks/osrf-common/ros/osrf_msgs/msg_gen/lisp/JointCommands.lisp] Błąd 1
make[4]: *** [CMakeFiles/ROSBUILD_genmsg_lisp.dir/all] Błąd 2
make[3 ...
edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2017-11-30 10:29:54.403921