ar-tools / ar_tools

AR Marker tools for ROS
31 stars 51 forks source link

catkin_make error on ROS indigo #22

Open rs1990 opened 8 years ago

rs1990 commented 8 years ago

[ 84%] Built target gazebo_ros_joint_pose_trajectory [ 85%] Built target gazebo_ros_joint_state_publisher CMakeFiles/ar_single.dir/src/ar_single.cpp.o: In function ar_pose::ARSinglePublisher::getTransformationCallback(boost::shared_ptr<sensor_msgs::Image_<std::allocator<void> > const> const&)': ar_single.cpp:(.text+0x2dac): undefined reference to_IplImage::_IplImage(cv::Mat const&)' collect2: error: ld returned 1 exit status [ 85%] make[2]: * [/home/maverick/indigo_ws/devel/lib/ar_pose/ar_single] Error 1 make[1]: * [ar_tools/ar_pose/CMakeFiles/ar_single.dir/all] Error 2 make[1]: * Waiting for unfinished jobs.... Built target gazebo_ros_joint_trajectory make: * [all] Error 2 Invoking "make -j2 -l2" failed maverick@maverick:~/indigo_ws$

Any one has an idea why this is happening or how to solve this ?. would appreciate it ASAP

thank you, RS

dlaz commented 8 years ago

Did you make sure to run rosdep install to install the dependencies? I just tried compiling on a clean Ubuntu 14.04/indigo install and it compiled with no issues.

RANHAOHR commented 7 years ago

Hi I tried rosdep install, it gives me:

ERROR: the following packages/stacks could not have their rosdep keys resolved to system dependencies: ar_pose: Missing resource opencv2 ROS path [0]=/opt/ros/indigo/share/ros ROS path [1]=/home/deeplearning/ros_ws/src ROS path [2]=/opt/ros/indigo/share ROS path [3]=/opt/ros/indigo/stacks

Can you tell me how to solve this problem? Thank you. BTW, I'm using xqms/ar_tools catkin branch.

dlaz commented 7 years ago

@RANHAOHR what OS version and ROS distro are you using?