[ros-users] Problem with the pluginlib tutorial

Cheng Ye cnhzcy14 at gmail.com
Thu Jul 22 20:58:11 UTC 2010


/_//_/

Hi,

I'm using ROS Box Turtle in Ubuntu 10.04 on an x86 with kernel 2.6.32, gcc 4.4.3, and was trying to go through the pluginlib tutorial:
http://www.ros.org/wiki/pluginlib/Tutorials/Writing%20and%20Using%20a%20Simple%20Plugin

When I went to the step 1.5, I got the following compiling errors:
===========================================================================
[ rosmake ] Packages requested are: ['pluginlib_tutorials']
[ rosmake ] Logging to directory
[ rosmake ] /home/yc00001/.ros/rosmake/rosmake_output-20100722-213847
[ rosmake ] Expanded args ['pluginlib_tutorials'] to:
['pluginlib_tutorials']
[ rosmake ] Checking rosdeps compliance for packages pluginlib_tutorials.  This may take a few seconds.
Failed to find rosdep boost for package pluginlib_tutorials on OS:ubuntu version:10.04
Failed to find rosdep log4cxx for package pluginlib_tutorials on OS:ubuntu version:10.04
WARNING: Rosdeps [u'boost', u'log4cxx'] could not be resolved
[ rosmake ] rosdep check passed all system dependencies in packages
[ rosmake ] [ 2 of 16  Completed ]
[rosmake-0]>>>  roslang>>>  [ make ]
[rosmake-0]<<<  roslang<<<  ROS_NOBUILD in package roslang
  No Makefile in package roslang

[ rosmake ] [ 2 of 16  Completed ]
[rosmake-1]>>>  roslib>>>  [ make ]
[rosmake-1]<<<  roslib<<<  ROS_NOBUILD in package roslib

[ rosmake ] [ 3 of 16  Completed ]
[rosmake-1]>>>  xmlrpcpp>>>  [ make ]
[rosmake-1]<<<  xmlrpcpp<<<  ROS_NOBUILD in package xmlrpcpp

[ rosmake ] [ 4 of 16  Completed ]
[rosmake-0]>>>  rosconsole>>>  [ make ]
[rosmake-0]<<<  rosconsole<<<  ROS_NOBUILD in package rosconsole

[ rosmake ] [ 6 of 16  Completed ]
[rosmake-1]>>>  roscpp>>>  [ make ]
[rosmake-1]<<<  roscpp<<<  ROS_NOBUILD in package roscpp

[ rosmake ] [ 5 of 16  Completed ]
[rosmake-0]>>>  tinyxml>>>  [ make ]
[rosmake-0]<<<  tinyxml<<<  ROS_NOBUILD in package tinyxml

[ rosmake ] [ 7 of 16  Completed ]
[rosmake-1]>>>  pycrypto>>>  [ make ]
[rosmake-1]<<<  pycrypto<<<  ROS_NOBUILD in package pycrypto

[ rosmake ] [ 8 of 16  Completed ][ rosmake ]
[ 9 of 16  Completed ]
[rosmake-1][rosmake-0]>>>  pluginlib>>>  [ make ]>>>  paramiko>>>  [ make ]

[rosmake-1]<<<  paramiko<<<  ROS_NOBUILD in package paramiko

[rosmake-0]<<<  pluginlib<<<  ROS_NOBUILD in package pluginlib

[ rosmake ] [ 11 of 16  Completed ]
[rosmake-0]>>>  pluginlib_tutorials>>>  [ make ]
[ rosmake ] [ 10 of 16  Completed ]
[rosmake-1]>>>  rosout>>>  [ make ]
[rosmake-1]<<<  rosout<<<  ROS_NOBUILD in package rosout

[ rosmake ] [ 12 of 16  Completed ]
[rosmake-1]>>>  rospy>>>  [ make ]
[rosmake-1]<<<  rospy<<<  ROS_NOBUILD in package rospy

[ rosmake ] [ 13 of 16  Completed ]
[rosmake-1]>>>  roslaunch>>>  [ make ]
[rosmake-1]<<<  roslaunch<<<  ROS_NOBUILD in package roslaunch
  No Makefile in package roslaunch

[ rosmake ] [ 14 of 16  Completed ]
[rosmake-1]>>>  rostest>>>  [ make ]
[rosmake-1]<<<  rostest<<<  ROS_NOBUILD in package rostest

[ rosmake ] Last 40 lines
{-------------------------------------------------------------------------------
   -- 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
   [rosbuild] Building package pluginlib_tutorials
   [rosbuild] Cached build flags older than manifests; calling rospack to get flags
   [rosbuild] Including /opt/ros/boxturtle/ros/core/roscpp/cmake/roscpp.cmake
   [rosbuild] Including /opt/ros/boxturtle/ros/core/rospy/cmake/rospy.cmake
   -- Configuring done
   -- Generating done
   -- Build files have been written to: /home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build
   cd build&&  make -j2
   make[1]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   make[2]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   make[3]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   Scanning dependencies of target rospack_genmsg_libexe
   make[3]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   [  0%] Built target rospack_genmsg_libexe
   make[3]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   Scanning dependencies of target rosbuild_precompile
   make[3]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   [  0%] Built target rosbuild_precompile
   make[3]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   Scanning dependencies of target polygon_plugins
   make[3]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   make[3]: Entering directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   [100%] Building CXX object CMakeFiles/polygon_plugins.dir/src/polygon_plugins.o
   /home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/src/polygon_plugins.cpp:5: error: expected constructor, destructor, or type conversion before '(' token
   make[3]: *** [CMakeFiles/polygon_plugins.dir/src/polygon_plugins.o] Error 1
   make[3]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   make[2]: *** [CMakeFiles/polygon_plugins.dir/all] Error 2
   make[2]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
   make[1]: *** [all] Error 2
   make[1]: Leaving directory `/home/yc00001/ros-tutorials/ros_tutorials/pluginlib_tutorials/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package pluginlib_tutorials written to:
[ rosmake ]    /home/yc00001/.ros/rosmake/rosmake_output-20100722-213847/pluginlib_tutorials/build_output.log
[rosmake-0]<<<  pluginlib_tutorials<<<  [FAIL] [ 3.18 seconds ]
[ rosmake ] Halting due to failure in package pluginlib_tutorials.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Summary output to directory
[ rosmake ] /home/yc00001/.ros/rosmake/rosmake_output-20100722-213847
===========================================================================

Is this because the boost and log4cxx problem as it mentioned?
Thank you very much!
Simon


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osuosl.org/pipermail/ros-users/attachments/20100722/ea1b87e2/attachment-0002.html>


More information about the ros-users mailing list