error C1083: Cannot open include file: 'opencv\cv.h': No such file or directory opencv3.0
I successfully compiled opencv 3.0 with extra modules using cmake . after setting up project for visual studio 2012 windows8 c++ i get the error c1083: cannot open include file opencv\cv.h Even though the intellisense shows opencv and opencv2 folders , but whenever i build it gives me this error. i setup correct system path and everything . Please help. Thank in advance
btw, code that requires the old c-api, might be horribly outdated.
Afaik it will be one hell of a job to get th 3.0 API configured with old deprecated code ... what code are you trying to build?
simple webcam video stream :
This is NOT the complete code. But like said before, that is OLD api code for webcam stream. Take a look here as a starter for updated code.
still error Error 1 error C1083: Cannot open include file: 'opencv2/objdetect/objdetect.hpp': No such file or director
Just adapt to the 3.0 interface now! It is simple, remove the first objectdetect folder! All headers are now directly under the opencv2 folder. So for example 'opencv2\objdetect.hpp'
still error Error 1 error C1083: Cannot open include file: 'opencv2\objdetect.hpp': No such file or directory