1 | initial version |
The following steps were taken to solve the problem:
You need to download the Github source code of OpenCV from the official website if you want to use VS2013, since I had to build everything from the source. I used CMake to configure and generate the files. As for BUILD and INSTALL, VS2013 itself was used.
After that I took the steps which I showed above in the screenshots, but what I was missing, and was pointed out by @berak , was that I had to also add:
c:/opencv/build/install/include
into my Additional Include Directories.
gpu.hpp
, with a quick search I found out that the code in the tutorial was not supposed to be used, instead the code below was supposed to be used (just to test) and ta da, after replacing the code I got everything running.2 | No.2 Revision |
The following steps were taken to solve the problem:
You need to download the Github source code of OpenCV from the official website if you want to use VS2013, since I had to build everything from the source. I used CMake to configure and generate the files. As for BUILD and INSTALL, VS2013 itself was used.
After that I took the steps which I showed above in the screenshots, but what I was missing, and was pointed out by @berak , was that I had to also add:
c:/opencv/build/install/include
c:/opencv/build/install/include
into my Additional Include Directories.
gpu.hpp
, with a quick search I found out that the code in the tutorial was not supposed to be used, instead the code below was supposed to be used (just to test) and ta da, after replacing the code I got everything running.