我正在尝试使用ros启动cv_camera,但我无法在ros中编译此包,我启动了此命令:
catkin_make --only-pkg-with-deps rossumo cv_camera
...
make[1]: *** Waiting for unfinished jobs....
/home/docker/catkin_ws/devel/lib/libcv_camera.so: undefined reference to `cv::String::allocate(unsigned long)'
/home/docker/catkin_ws/devel/lib/libcv_camera.so: undefined reference to `cv::String::deallocate()'
/home/docker/catkin_ws/devel/lib/libcv_camera.so: undefined reference to `cv::VideoCapture::open(cv::String const&)'
/home/docker/catkin_ws/devel/lib/libcv_camera.so: undefined reference to `cv::VideoCapture::open(cv::String const&, int)'
/home/docker/catkin_ws/devel/lib/libcv_camera.so: undefined reference to `cv::VideoCapture::read(cv::_OutputArray const&)'
collect2: error: ld returned 1 exit status
make[2]: ***
...
你觉得我做错了什么?
谢谢!