ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

what's wrong with rgbdslam ?

asked 2012-10-22 16:47:25 -0500

longzhixi123 gravatar image

updated 2014-01-28 17:14:01 -0500

ngrennan gravatar image

i have followed the wiki http://www.ros.org/wiki/rgbdslam. and i have try sequence at the bottom of rgbdslam's wiki page. everything seems ok. but when i type :rosmake rgbdslam_freiburg . i got the massage: [ rosmake ] rosmake starting...
[ rosmake ] Packages requested are: ['rgbdslam']
[ rosmake ] Logging to directory /home/lg/.ros/rosmake/rosmake_output-20121023-105508
[ rosmake ] Expanded args ['rgbdslam'] to: ['rgbdslam']
[rosmake-0] Starting >>> bullet [ make clean ]
[rosmake-1] Starting >>> geometry_msgs [ make clean ]
[rosmake-2] Starting >>> sensor_msgs [ make clean ]
[rosmake-1] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-1] Starting >>> roslang [ make clean ]
[rosmake-3] Starting >>> roscpp [ make clean ]
[rosmake-1] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Starting >>> rosconsole [ make clean ]
[rosmake-3] Finished <<< roscpp No Makefile in package roscpp
[rosmake-2] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-0] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-2] Starting >>> angles [ make clean ]
[rosmake-3] Starting >>> rospy [ make clean ]
[rosmake-0] Starting >>> rostest [ make clean ]
[rosmake-2] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-2] Starting >>> roswtf [ make clean ]
[rosmake-0] Finished <<< rostest No Makefile in package rostest
[rosmake-0] Starting >>> message_filters [ make clean ]
[rosmake-3] Finished <<< rospy No Makefile in package rospy
[rosmake-3] Starting >>> tf [ make clean ]
[rosmake-2] Finished <<< roswtf No Makefile in package roswtf
[rosmake-2] Starting >>> std_msgs [ make clean ]
[rosmake-0] Finished <<< message_filters No Makefile in package message_filters
[rosmake-0] Starting >>> pcl [ make clean ]
[rosmake-0] Finished <<< pcl No Makefile in package pcl
[rosmake-1] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-1] Starting >>> rosbuild [ make clean ]
[rosmake-0] Starting >>> rosbag [ make clean ]
[rosmake-3] Finished <<< tf ROS_NOBUILD in package tf
[rosmake-3] Starting >>> roslib [ make clean ]
[rosmake-2] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-0] Finished <<< rosbag No Makefile in package rosbag
[rosmake-0] Starting >>> pluginlib [ make clean ]
[rosmake-3] Finished <<< roslib No Makefile in package roslib
[rosmake-1] Finished <<< rosbuild No Makefile in package rosbuild
[rosmake-2] Starting >>> bond [ make clean ]
[rosmake-1] Starting >>> smclib [ make clean ]
[rosmake-3] Starting >>> bondcpp [ make clean ]
[rosmake-0] Finished <<< pluginlib ROS_NOBUILD in package pluginlib
[rosmake-0] Starting >>> nodelet [ make clean ]
[rosmake-1] Finished <<< smclib ROS_NOBUILD in package smclib
[rosmake-3] Finished <<< bondcpp ROS_NOBUILD in package bondcpp
[rosmake-1] Starting >>> rosservice [ make clean ]
[rosmake-2] Finished <<< bond ROS_NOBUILD in package bond
[rosmake-2] Starting >>> dynamic_reconfigure [ make clean ]
[rosmake-3] Starting >>> nodelet_topic_tools [ make clean ]
[rosmake-0] Finished <<< nodelet ROS_NOBUILD in package nodelet
[rosmake-0] Starting >>> common_rosdeps [ make clean ]
[rosmake-1] Finished <<< rosservice No Makefile in package rosservice
[rosmake-1] Starting >>> pcl_ros [ make clean ]
[rosmake-0] Finished <<< common_rosdeps ROS_NOBUILD in package common_rosdeps
[rosmake-3] Finished <<< nodelet_topic_tools ROS_NOBUILD in package nodelet_topic_tools
[rosmake-0] Starting >>> opencv2 [ make clean ]
[rosmake-2] Finished <<< dynamic_reconfigure ROS_NOBUILD in package dynamic_reconfigure
[rosmake-3] Starting >>> cv_bridge [ make clean ]
[rosmake-2] Starting >>> visualization_msgs [ make clean ]
[rosmake-0] Finished <<< opencv2 ROS_NOBUILD in package opencv2
[rosmake-0] Starting >>> rgbdslam [ make clean ]
[rosmake-3] Finished <<< cv_bridge ROS_NOBUILD in package cv_bridge
[rosmake-1] Finished <<< pcl_ros ROS_NOBUILD in package pcl_ros
[rosmake-2] Finished <<< visualization_msgs No Makefile in package visualization_msgs
[rosmake-0] Finished <<< rgbdslam [PASS] [ 0.25 seconds ]
[rosmake-0] Starting >>> bullet [ make ]
[rosmake-0] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-0] Starting >>> geometry_msgs [ make ]
[rosmake-0] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-1] Starting >>> roslang [ make ]
[rosmake-1] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Starting >>> roscpp [ make ]
[rosmake-0] Starting >>> sensor_msgs [ make ]
[rosmake-1] Finished <<< roscpp No Makefile in package roscpp
[rosmake-1 ... (more)

edit retag flag offensive close merge delete

Comments

longzhixi123 gravatar image longzhixi123  ( 2012-10-22 16:49:33 -0500 )edit

Do not add people's names to comments just to notify them. If you tag your post correctly, people will see it and if they have time and know the answer, they will help.

Lorenz gravatar image Lorenz  ( 2012-10-22 21:51:29 -0500 )edit

sorry @longzhixi123, I don't have the answer to that.If I were you, as Felix suggested, I'd google the error.Maybe you would like to try to compile the code here http://goo.gl/MKTYg to see if it works fine. If so, it means librt is fine and you may want to check cmake file to verify linking with lrt

yigit gravatar image yigit  ( 2012-10-23 03:35:34 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
1

answered 2012-11-16 11:44:56 -0500

Vikas gravatar image

Add rt to the libraries to be linked.

Change

SET(LIBS_LINK GL GLU ${G2O_LIBS} ${QT_LIBRARIES} ${QT_QTOPENGL_LIBRARY} ${GLUT_LIBRARY} ${OPENGL_LIBRARY} ${OpenCV_LIBS} -lboost_signals)

in CMakeLists.txt to

SET(LIBS_LINK rt GL GLU ${G2O_LIBS} ${QT_LIBRARIES} ${QT_QTOPENGL_LIBRARY} ${GLUT_LIBRARY} ${OPENGL_LIBRARY} ${OpenCV_LIBS} -lboost_signals)

edit flag offensive delete link more

Comments

thanks a lot , i have make the rgbdslam package ok http://www.ros.org/wiki/rgbdslam

longzhixi123 gravatar image longzhixi123  ( 2012-11-18 19:26:12 -0500 )edit
1

answered 2012-10-22 23:57:13 -0500

Weird. clock_gettime is part of "ctime", so I wonder how this could fail to link. Also, I can not reproduce this error, so I can only suggest to google for "error: undefined reference to 'clock_gettime' collect2: ld"

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-10-22 16:47:25 -0500

Seen: 797 times

Last updated: Nov 16 '12