Ask Your Question
0

compile error of camera1394 on fuerte

asked 2012-07-31 17:15:50 -0500

yolandazcc gravatar image

updated 2012-08-24 11:24:44 -0500

tfoote gravatar image

Hi,

I checked out the package from svn and then compiled with the following error:

 cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package camera_1394
  [rosbuild] Including /opt/ros/fuerte/share/rospy/rosbuild/rospy.cmake
  [rosbuild] Including /opt/ros/fuerte/share/roscpp/rosbuild/roscpp.cmake
  [rosbuild] Including /opt/ros/fuerte/share/roslisp/rosbuild/roslisp.cmake
  MSG: gencfg_cpp on:Camera1394.cfg
  Finding dependencies for /root/ros_workspace/camera_1394/cfg/Camera1394.cfg
  ***********************************************************************************
  load_module did not return. Unable to determine dependencies for file listed above.
  ***********************************************************************************
  Traceback (most recent call last):
    File "/opt/ros/fuerte/stacks/dynamic_reconfigure/cmake/gendeps", line 64, in <module>
      imp.load_module("__main__", f, srcfile, ('.cfg', 'U', 1))
    File "/root/ros_workspace/camera_1394/cfg/Camera1394.cfg", line 37, in <module>
      import roslib; roslib.load_manifest(PACKAGE)
    File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 62, in load_manifest
      sys.path = _generate_python_path(package_name, _rospack) + sys.path
    File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/launcher.py", line 93, in _generate_python_path
      m = rospack.get_manifest(pkg)
    File "/usr/local/lib/python2.7/dist-packages/rospkg/rospack.py", line 118, in get_manifest
      return self._load_manifest(name)
    File "/usr/local/lib/python2.7/dist-packages/rospkg/rospack.py", line 157, in _load_manifest
      retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
    File "/usr/local/lib/python2.7/dist-packages/rospkg/rospack.py", line 149, in get_path
      raise ResourceNotFound(name, ros_paths=self._ros_paths)
  rospkg.common.ResourceNotFound: camera1394
  ROS path [0]=/opt/ros/fuerte/share/ros
  ROS path [1]=/root/ros_workspace
  ROS path [2]=/opt/ros/fuerte/share
  ROS path [3]=/opt/ros/fuerte/stacks
  ROS path [4]=/Downloads/drivers
  CMake Error at /opt/ros/fuerte/stacks/dynamic_reconfigure/cmake/cfgbuild.cmake:68 (string):
    string sub-command REPLACE requires at least four arguments.
  Call Stack (most recent call first):
    /opt/ros/fuerte/stacks/dynamic_reconfigure/cmake/cfgbuild.cmake:89 (gencfg_cpp)
    CMakeLists.txt:22 (include)


  -- Configuring incomplete, errors occurred!

how can i solve this?thanks for help!

edit retag flag offensive close merge delete

Comments

Could you please reformat your console output listing? If you prefix each line with ' ' (4 spaces) it wil preserve formatting, making it much easier to read. See also markdown/syntax/.

ipso gravatar image ipso  ( 2012-07-31 20:47:50 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2012-08-01 02:27:25 -0500

joq gravatar image

updated 2012-08-01 02:36:22 -0500

I suspect you have not installed all the new Python scripts needed for compiling packages with Fuerte.

In particular, it looks like you are missing the new rosdep script.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-31 17:15:50 -0500

Seen: 450 times

Last updated: Aug 24 '12