Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

openCV3.1.0 on Visual studio 2015 (community) install failed: cannot open include file

I followed the exact tutorial on the website. Here is what I did for the installation: download and unzip the pre-compiled 3.1.0 package after setting environment variable following the tutorial,

c/c++--additional include directories: $(OPENCV_DIR)....\include for both debug and release mode

linker--general--additional library directories: $(OPENCV_DIR)\lib for both debug and release mode

linker--input--additional dependencies: opencv_world310d.lib for debug mode; opencv_world310.lib for release mode

However,

include <opencv2\opencv.hpp>

gave an error saying no such file or directory. Can someone help me?

openCV3.1.0 on Visual studio 2015 (community) install failed: cannot open include file

I followed the exact tutorial on the website. Here is what I did for the installation: download installation:

Download and unzip the pre-compiled 3.1.0 package after package.

In the command window: setx -m OPENCV_DIR C:\opencv310\Build\x64\vc14

Add %OPENCV_DIR%\bin to path in the system variable.

After setting environment variable following I followed the tutorial,tutorial:

c/c++--additional include directories: $(OPENCV_DIR)....\include for both debug and release mode

linker--general--additional library directories: $(OPENCV_DIR)\lib for both debug and release mode

linker--input--additional dependencies: opencv_world310d.lib for debug mode; opencv_world310.lib for release mode

However,

include <opencv2\opencv.hpp>

gave an error saying no such file or directory. Can someone help me?