Problem with libraries and include files

asked 2016-03-29 13:59:06 -0600

Untitled.png Untitle.png Hello, After downloading the open cv software and extracting it,the complete set of libraries and include files are not found,by these i am unable code in c++,visual studio is showing error of files not found. i have screen shorted the set of files i got while download. By seeing these solve my issues so that i can code well.

edit retag flag offensive close merge delete


please tell us, which os / vs version you're trying to use

berak gravatar imageberak ( 2016-03-29 14:02:17 -0600 )edit

That would be Windows 10 and 3.1.0

You are using the download from the main page of OpenCV? Could you try re-downloading and see if that fixes it?

Tetragramm gravatar imageTetragramm ( 2016-03-29 20:16:00 -0600 )edit

You have to add the paths (C:\Users\username\Documents\opencv\build...) in the project properties to the "Additional include directories" (C/C++), the "Additional library directories" (Linker) and add opencv_world310.lib to additional dependencies (Linker/Input).

Then copy the opencv_world310.dll near the executable or in a folder in the system path.

kbarni gravatar imagekbarni ( 2016-03-30 02:49:06 -0600 )edit