Problems Compiling Raspicam with OpenCV 3.0 due to undeclared variables
C++ library for controlling Raspberry Pi Camera (with/without OpenCV)
Brought to you by:
ucoava
Hey,
I have problems, compiling raspicam_cv.cpp because of undeclared variables (a lot: CV_PROP_FORMAT, CV_PROP_*...)
I use openCV 3.0. with Raspicam 0.1.3.
I tried to remove the "CV_" because I saw the raw variables in opencv2/videoio.hpp didnt have the same variables without the "CV_" prefix, but it wont work for me.
can anyone help me?
Thanks!
I solved the Problem, by writing cv:: instead of CV_ for every variable.
If anyone else has this issue.
Hi, I also have the same problem on Raspberry Pi with OpenCV2 (I guess it is 2.4.10). So I commented out the compilation of open-cv stuff in the main CMakeLists.txt file (the few lines beginning with "FIND_PACKAGE(OpenCV)") and it compiles OK then (but the opencv part is missing). I guess the solution you posted would work for me too...