- Download OpenCV-2.3.0-win-src.zip and unzip
Make sure the version is 2.3.0! My codes work best in 2.3.0 - Delete all content except bin, lib, include folder
- For alternative, I've uploaded pre-compiled OpenCV. You can just use this instead
- Copy OpenCV-2.3.0 and paste the folders in the project directory
From the menu bar, click Project > Properties
Make sure Configuration is Active(Debug) and Platform is Active(Win32)
- VC++ Directories > Include directories:
$(SolutionDir) OpenCV-2.3.0\include
- VC++ Directories > Library directories:
$(SolutionDir) OpenCV-2.3.0\lib
- Linker > Input > Additional dependencies:
opencv_core230.lib
opencv_highgui230.lib
opencv_imgproc230.lib
- Add #include <opencv2/opencv.hpp> in source code