【无标题】error:‘CV_RGB’ was not declared in this scope

在安装编译calibration_toolkit联合标定工具箱时报错:

/hone/nnnn/calibration/src/calibration_canera_lidar/ls_calibration/calibration_canera_lidar/nodes/calibration_test/scan_window.cpp:42:45: error:'CV_RGB’ was not declared in this scope

 

解决方法:

进入报错的文件添加.h文件:

#include <opencv2/imgproc.hpp>


版权声明:本文为qq_49959714原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接和本声明。