|
环境的opencv的版本原来是3.2.0的
catkin_make编译遇到错误
- CMakeFiles/kcf_node.dir/src/kcftracker.cpp.o: In function `KCFTracker::KCFTracker(bool, bool, bool, bool)':
- kcftracker.cpp:(.text+0x12ac): undefined reference to `cv::Mat::updateContinuityFlag()'
- CMakeFiles/kcf_node.dir/src/kcftracker.cpp.o: In function `KCFTracker::getFeatures(cv::Mat const&, bool, float)':
- kcftracker.cpp:(.text+0x2570): undefined reference to `cvIplImage(cv::Mat const&)'
- kcftracker.cpp:(.text+0x264c): undefined reference to `cv::Mat::updateContinuityFlag()'
复制代码 查了一下好像是opencv3.2没有updateContinuityFlag()方法然后将opecncv版本升级到了3.4.2
现在又遇到了一个新的错误
- make[2]: *** No rule to make target '/usr/lib/aarch64-linux-gnu/libopencv_objdetect.so.3.2.0', needed by '/home/clbrobot/catkin_ws/devel/lib/libDepthImageToLaserScan.so'. Stop.
- CMakeFiles/Makefile2:6979: recipe for target 'depthimage_to_laserscan-melodic-devel/CMakeFiles/DepthImageToLaserScan.dir/all' failed
- make[1]: *** [depthimage_to_laserscan-melodic-devel/CMakeFiles/DepthImageToLaserScan.dir/all] Error 2
- Makefile:140: recipe for target 'all' failed
- make: *** [all] Error 2
- Invoking "make -j1 -l1" failed
复制代码
这个不知道要怎么搞了,希望能帮忙解决一下
|
|