Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Running Sample Programs in Visual Studio 2013

Hey All, I have OpenCV working in Visual Studio 2013 and ran a test program with my webcam. I'd like to start working with motion tracking so I thought to play around with the Optical_Flow example which is contained in the samples folder. However, putting the cpp file into my project led to a whole hunt for why cudaarithm.hpp and cudaoptflow.hpp couldn't be found. I eventually put the headers, and the folders they were originally contained in with the same include directory as the other headers (i.e. core.hpp) but now I get a lot of LNK2019 errors which I frankly don't understand. Any advice on how exactly to run the sample code? Should I create a new project? Do I have to do some folder gymnastics?

Thanks in advance for the help.