ethz-asl / rovio

Other
1.12k stars 504 forks source link

OpenCV4 Support - error: ‘CV_GRAY2RGB’ was not declared in this scope #258

Closed pulak-gautam closed 10 months ago

pulak-gautam commented 10 months ago
/rovio/include/rovio/ImgUpdate.hpp:590:68: error: ‘CV_GRAY2RGB’ was not declared in this scope
  590 |         cvtColor(meas.aux().pyr_[i].imgs_[0], filterState.img_[i], CV_GRAY2RGB);

It seems that internally rovio uses OpenCV 3.4.

pulak-gautam commented 10 months ago

252 fixes it