cannot build depth_image_proc
[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
Asked by chienyu on 2015-01-24 06:25:07 UTC
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
Asked by gvdhoorn on 2015-01-24 07:25:11 UTC
I donnot know what kind of information, i just the beginner.
Asked by chienyu on 2015-01-24 09:55:50 UTC