Hello, I’m trying to compile GMIC on Debian; I have also built opencv from source, it’s version is 4.1.0-dev
During the GMIC compile I get an error:
In file included from gmic.h:185,
./CImg.h: In member function ‘cimg_library::CImg& cimg_library::CImg::load_camera(unsigned int, unsigned int, unsigned int, unsigned int, bool)’:
./CImg.h:52692:37: error: ‘CV_CAP_PROP_FRAME_WIDTH’ was not declared in this scope
When I check the opencv header files I find that videoio.hpp has declared:
CAP_PROP_FRAME_WIDTH =3, //!< Width of the frames in the video stream.
I’m not sure when this was renamed, perhaps in some version 3.x? Can GMIC check for the occurrence of CV_CAP_PROP_FRAME_WIDTH and CAP_PROP_FRAME_WIDTH?