Outdated enum variables are causing build failures with newer versions of OpenCV, especially the CV_AA and CV_FILLED markers in the visualize_rects.h header file from the detected_objects_visualizer package. Consider replacing them by the newer versions cv::LINE_AA and cv::FILLED. Please make the requisite changes in the other files as well. I will post if I come across similar bugs, but so far, the package was built successfully after replacing the above markers in the mentioned header file.
Note: I am using ROS Noetic with source built OpenCV 4.x.
Outdated enum variables are causing build failures with newer versions of OpenCV, especially the
CV_AA
andCV_FILLED
markers in thevisualize_rects.h
header file from thedetected_objects_visualizer
package. Consider replacing them by the newer versionscv::LINE_AA
andcv::FILLED
. Please make the requisite changes in the other files as well. I will post if I come across similar bugs, but so far, the package was built successfully after replacing the above markers in the mentioned header file.Note: I am using
ROS Noetic
with source builtOpenCV 4.x
.