【无标题】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

 【无标题】error:‘CV_RGB’ was not declared in this scope_第1张图片

解决方法:

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

#include

【无标题】error:‘CV_RGB’ was not declared in this scope_第2张图片

【无标题】error:‘CV_RGB’ was not declared in this scope_第3张图片

你可能感兴趣的:(c#,开发语言,opencv)