After installation, you must add "{installation folder}/OpenCV/bin" and "{installation folder}/OpenCV/lib" to the system environment path.
In Visual Studio, add "{installation folder}/OpenCV/cv/include", "{installation folder}/OpenCV/cxcore/include", "{installation folder}/OpenCV/ml/include" and "{installation folder}/OpenCV/otherlibs/highgui" to Tools->Options->Projects and Solutions -> VC++ Directories :Include files.
Moreover, add "{installation folder}/OpenCV/lib" to library files.
Then, open the property dialogue of the project, add "highgui.lib cv.lib cxcore.lib ml.lib" to Linker-> Input.
No comments:
Post a Comment