Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compile error for dynamixel_controllers

Hello, I am trying to compile the dynamixel_controllers package in ROS Fuerte in Ubuntu. I get this compile error:

Build failures with context:
---------------------
dynamixel_controllers
mkdir -p bin
cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
[rosbuild] Building package dynamixel_controllers
[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
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    CMAKE_TOOLCHAIN_FILE


-- Build files have been written to: /home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build
cd build && make -j2 -l2
make[1]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[2]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
[  0%] Built target rosbuild_premsgsrvgen
make[3]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[3]: Entering directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
[  7%] [  7%] Generating ../src/dynamixel_controllers/srv/_StopController.py
Generating ../srv_gen/lisp/RestartController.lisp, ../srv_gen/lisp/_package.lisp, ../srv_gen/lisp/_package_RestartController.lisp
Traceback (most recent call last):
  File "/opt/ros/fuerte/share/rospy/rosbuild/scripts/genutil.py", line 131, in genmain
    retcode = generate_messages(rospack, package, msg_file, subdir)
  File "/opt/ros/fuerte/share/rospy/rosbuild/scripts/genutil.py", line 90, in generate_messages
    for d in rospack.get_depends(package):
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 201, in get_depends
    s.update(self.get_depends(p, implicit))
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 195, in get_depends
    names = [p.name for p in self.get_manifest(name).depends]
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 133, in get_manifest
    return self._load_manifest(name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 172, in _load_manifest
    retval = self._manifests[name] = parse_manifest_file(self.get_path(name), self._manifest_name)
  File "/usr/lib/pymodules/python2.7/rospkg/rospack.py", line 164, in get_path
    raise ResourceNotFound(name, ros_paths=self._ros_paths)
ResourceNotFound: genpy
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/cd/fuerte_workspace/actionlib
ROS path [2]=/home/cd/fuerte_workspace/common_msgs
ROS path [3]=/home/cd/fuerte_workspace/ros_comm
ROS path [4]=/home/cd/fuerte_workspace/dynamixel_motor
ROS path [5]=/home/cd/fuerte_workspace/laser_lms
ROS path [6]=/home/cd/fuerte_workspace/laser_driver
ROS path [7]=/home/cd/fuerte_workspace/turtlesim
ROS path [8]=/home/cd/fuerte_workspace/taurob/ROS_Demo_Frontend
ROS path [9]=/home/cd/fuerte_workspace/taurob/ROS_Demo_Sources
ROS path [10]=/home/cd/fuerte_workspace/sandbox
ROS path [11]=/home/cd/fuerte_workspace/turtlebot
ROS path [12]=/opt/ros/fuerte/stacks
ROS path [13]=/opt/ros/fuerte/share
ROS path [14]=/opt/ros/fuerte/share/ros
ROS path [15]=/opt/ros/fuerte/share
ROS path [16]=/opt/ros/fuerte/stacks
ERROR: genpy
ROS path [0]=/opt/ros/fuerte/share/ros
ROS path [1]=/home/cd/fuerte_workspace/actionlib
ROS path [2]=/home/cd/fuerte_workspace/common_msgs
ROS path [3]=/home/cd/fuerte_workspace/ros_comm
ROS path [4]=/home/cd/fuerte_workspace/dynamixel_motor
ROS path [5]=/home/cd/fuerte_workspace/laser_lms
ROS path [6]=/home/cd/fuerte_workspace/laser_driver
ROS path [7]=/home/cd/fuerte_workspace/turtlesim
ROS path [8]=/home/cd/fuerte_workspace/taurob/ROS_Demo_Frontend
ROS path [9]=/home/cd/fuerte_workspace/taurob/ROS_Demo_Sources
ROS path [10]=/home/cd/fuerte_workspace/sandbox
ROS path [11]=/home/cd/fuerte_workspace/turtlebot
ROS path [12]=/opt/ros/fuerte/stacks
ROS path [13]=/opt/ros/fuerte/share
ROS path [14]=/opt/ros/fuerte/share/ros
ROS path [15]=/opt/ros/fuerte/share
ROS path [16]=/opt/ros/fuerte/stacks
make[3]: *** [../src/dynamixel_controllers/srv/_StopController.py] Error 3
make[3]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[2]: *** [CMakeFiles/ROSBUILD_gensrv_py.dir/all] Error 2
make[2]: *** Waiting for unfinished jobs....
[ 10%] Generating ../srv_gen/lisp/StartController.lisp, ../srv_gen/lisp/_package.lisp, ../srv_gen/lisp/_package_StartController.lisp
Traceback (most recent call last):
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 873, in <module>
    generate_srv(sys.argv[1])
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 822, in generate_srv
    write_srv_component(s, spec.request, spec)
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 697, in write_srv_component
    write_md5sum(s, spec, parent)
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 596, in write_md5sum
    compute_files=False)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/gentools.py", line 314, in get_dependencies
    _add_msgs_depends(rospack, spec.response, deps, package)                
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/gentools.py", line 75, in _add_msgs_depends
    valid_packages = valid_packages + rospack.get_depends(package_context, implicit=True)
TypeError: can only concatenate list (not "set") to list
make[3]: *** [../srv_gen/lisp/RestartController.lisp] Error 1
make[3]: *** Waiting for unfinished jobs....
Traceback (most recent call last):
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 873, in <module>
    generate_srv(sys.argv[1])
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 822, in generate_srv
    write_srv_component(s, spec.request, spec)
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 697, in write_srv_component
    write_md5sum(s, spec, parent)
  File "/opt/ros/fuerte/share/roslisp/rosbuild/scripts/genmsg_lisp.py", line 596, in write_md5sum
    compute_files=False)
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/gentools.py", line 314, in get_dependencies
    _add_msgs_depends(rospack, spec.response, deps, package)                
  File "/opt/ros/fuerte/lib/python2.7/dist-packages/roslib/gentools.py", line 75, in _add_msgs_depends
    valid_packages = valid_packages + rospack.get_depends(package_context, implicit=True)
TypeError: can only concatenate list (not "set") to list
make[3]: *** [../srv_gen/lisp/StartController.lisp] Error 1
make[3]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[2]: *** [CMakeFiles/ROSBUILD_gensrv_lisp.dir/all] Error 2
make[2]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/cd/fuerte_workspace/dynamixel_motor/dynamixel_controllers/build'
make: *** [all] Error 2

Any idea how to resolve this?

BR