I seem to have a fair amount of trouble finding some simple way to install OpenCV. One such way is http://docs.opencv.org/doc/tutorials/introduction/windows_install/windows_install.html, but to me it doesn't fit the bill. BTW, I'd rather not build my libraries.
However, I found a video on YouTube that does fit the bill. http://www.youtube.com/watch?v=cgo0UitHfp8. It has two parts. 1. Install OpenCV, and 2. constructing a sample project. It takes the viewer through the process step by step. To illustrate as best I can in text, here's what I make of it. Consider the material as a guide to watching the video The video is built by Kyle Hounslow.
===========
First get the exe version of OpenCV you want. The exe file unzips the contents. Extract the material to some location on your machine. Maybe the desk top.
Control Panel->System (Left side) Advanced
In the upper panel of the Environmental Variables, enter: Variable Name: OPENCV_BUILD Variable Value: C:\opencv248\build
In the lower panel, enter: Edit->Path: \:bin;%OPENCV_BUILD%\x86\VC10\bin (Might need to use other than x86.)
RESTART COMPUTER!
=========== Tutorial to build a program Loose video milestones until imaging program is entered as text and compiled. He is assuming that one has made a Project before. If not, it's an interesting to see how it's done.
Use New Project Name: myNewProject Check Empty Project Add Property Sheet Go To C/C++ Additional Include Directories Window enter: $(OPENCV_BUILD)|include Enter program code. Compile and execute code.