rpng / ov_secondary

Secondary posegraph adapted for interfacing with OpenVINS, based on VINS-Mono / VINS-Fusion.
https://docs.openvins.com/
GNU General Public License v3.0
58 stars 21 forks source link

ov_secondary/camera_models opencv version problem #1

Closed WoosikLee2510 closed 4 years ago

WoosikLee2510 commented 4 years ago

Hey, I had a problem while I try to build this project. The problem is coming from OpenCV version. One of my error, for instance, is

‘CV_GRAY2RGB’ was not declared in this scope

which is a function of OpenCV version 2 while I'm using 3. I think the codes you copied from (maybe Vins fusion?) is using OpenCV functions that are deprecated.

xiaocijun commented 8 months ago

Add the header file #include<opencv2/imgproc/types_c.h> to the error file