Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error: opencv2/core/core_c.h: No such file or directory

I was trying to write a camera program by watching an example video, when I finished writing codes , builted it then I got a messagge like at the title.

like image 263
user3156807 Avatar asked Jan 03 '14 10:01

user3156807


1 Answers

Open Configuration Properties > C/C++ > General, and edit the field Additional Include Directories to add these 3 paths (for the headers):

C:\OpenCV2.3\build\include\opencv

C:\OpenCV2.3\build\include\opencv2

C:\OpenCV2.3\build\include

like image 80
Tom J Muthirenthi Avatar answered Sep 19 '22 21:09

Tom J Muthirenthi