Ask Your Question
0

error while rosmake ar_kinect [closed]

asked 2013-04-19 04:11:33 -0600

JaRu gravatar image

updated 2013-04-19 22:49:16 -0600

Hi all.

I get an error when I do rosmake ar_kinect.

...
[rosmake-3] Starting >>> ar_kinect [ make ]                                     
[ rosmake ] Last 40 lines_kinect: 4.2 sec ]          [ 1 Active 55/56 Complete ]
{-------------------------------------------------------------------------------
  mkdir -p bin
  cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake  ..
  [rosbuild] Building package ar_kinect
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/rospy/cmake/rospy.cmake
  [rosbuild] Including /opt/ros/electric/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake
  -- Configuring done
  -- Generating done
  -- Build files have been written to: /home/hilde/ros_workspace/ar_kinect/build
  cd build && make -l4
  make[1]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[2]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[3]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[3]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
  [  0%] Built target rospack_genmsg_libexe
  make[3]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[3]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
  [  0%] Built target rosbuild_precompile
  make[3]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[3]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[3]: Entering directory `/home/hilde/ros_workspace/ar_kinect/build'
  [ 50%] Building CXX object CMakeFiles/ar_kinect.dir/src/ar_kinect.o
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp: In function ‘tf::Transform ar_pose::tfFromEigen(Eigen::Matrix4f)’:
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:44: error: ‘Matrix3x3’ is not a member of ‘tf’
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:44: error: expected ‘;’ before ‘btm’
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:45: error: ‘btm’ was not declared in this scope
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp: In member function ‘void ar_pose::ARPublisher::getTransformationCallback(const sensor_msgs::PointCloud2ConstPtr&)’:
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:241: error: ‘Matrix3x3’ is not a member of ‘tf’
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:241: error: expected ‘;’ before ‘m’
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:246: error: ‘m’ was not declared in this scope
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:259: warning: name lookup of ‘i’ changed
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:146: warning:   matches this ‘i’ under ISO standard rules
  /home/hilde/ros_workspace/ar_kinect/src/ar_kinect.cpp:244: warning:   matches this ‘i’ under old rules
  make[3]: *** [CMakeFiles/ar_kinect.dir/src/ar_kinect.o] Error 1
  make[3]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[2]: *** [CMakeFiles/ar_kinect.dir/all] Error 2
  make[2]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
  make[1]: *** [all] Error 2
  make[1]: Leaving directory `/home/hilde/ros_workspace/ar_kinect/build'
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package ar_kinect written to:
[ rosmake ]    /home/hilde/.ros/rosmake/rosmake_output-20130419-160019/ar_kinect/build_output.log
[rosmake-3] Finished <<< ar_kinect [FAIL] [ 4.24 seconds ]                      
[ rosmake ] Halting due to failure in package ar_kinect. 
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:                                                            
[ rosmake ] Built 56 packages with 1 failures.                                  
[ rosmake ] Summary output to directory                                         
[ rosmake ] /home/hilde/.ros/rosmake/rosmake_output-20130419-160019

I work with ROS fuerte (Ubuntu 10.04).
Maybe could it be a problem that ROS electric is also installed? Because I recognized that the ros_comm ... (more)

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by JaRu
close date 2013-04-29 03:45:18

1 Answer

Sort by » oldest newest most voted
1

answered 2013-04-19 08:10:49 -0600

fergs gravatar image

updated 2013-04-20 21:01:40 -0600

Are you still using the version from albany-ros-pkg? If so, I would checkout the appropriate branch found here: https://github.com/mikeferguson/ar_kinect (also note ar_pose can be found here: https://github.com/IHeartEngineering/ar_tools)

If you have checked out from github, be sure to have the right branch (for fuerte, you want fuerte-devel)

edit flag offensive delete link more

Comments

No, I do not use the version from albany-ros-pkg. I use the version for ROS fuerte.

JaRu gravatar imageJaRu ( 2013-04-22 03:34:44 -0600 )edit

Question Tools

Stats

Asked: 2013-04-19 04:11:33 -0600

Seen: 197 times

Last updated: Apr 20 '13