cannot build depth_image_proc

asked 2015-01-24 05:25:07 -0500

chienyu gravatar image

updated 2015-01-24 06:24:09 -0500

gvdhoorn gravatar image
[100%] Building CXX object CMakeFiles/depth_image_proc.dir/src/nodelets/register.cpp.o
Linking CXX shared library /Users/chienyuwu/devel_isolated/depth_image_proc/lib/libdepth_image_proc.dylib
Undefined symbols for architecture x86_64:
  "cv::_InputArray::_InputArray(cv::Mat const&)", referenced from:
      depth_image_proc::PointCloudXyzrgbNodelet::imageCb(boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::CameraInfo_<std::__1::allocator<void> > const> const&) in point_cloud_xyzrgb.cpp.o
      depth_image_proc::PointCloudXyziNodelet::imageCb(boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::CameraInfo_<std::__1::allocator<void> > const> const&) in point_cloud_xyzi.cpp.o
  "cv::_OutputArray::_OutputArray(cv::Mat&)", referenced from:
      depth_image_proc::PointCloudXyzrgbNodelet::imageCb(boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::CameraInfo_<std::__1::allocator<void> > const> const&) in point_cloud_xyzrgb.cpp.o
      depth_image_proc::PointCloudXyziNodelet::imageCb(boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::Image_<std::__1::allocator<void> > const> const&, boost::shared_ptr<sensor_msgs::CameraInfo_<std::__1::allocator<void> > const> const&) in point_cloud_xyzi.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [/Users/chienyuwu/devel_isolated/depth_image_proc/lib/libdepth_image_proc.dylib] Error 1
make[1]: *** [CMakeFiles/depth_image_proc.dir/all] Error 2
make: *** [all] Error 2
edit retag flag offensive close merge delete

Comments

Is this the same question as Failed to process package 'depth_image_proc' in max os10.10?

I doubt you'll get much more response to this one, without adding some more information: what did you already

gvdhoorn gravatar image gvdhoorn  ( 2015-01-24 06:25:11 -0500 )edit

I donnot know what kind of information, i just the beginner.

chienyu gravatar image chienyu  ( 2015-01-24 08:55:50 -0500 )edit