Here are the details for installing OpenCV. If you want save this post for reading it later, download the PDF from the link below.
Download OpenCV Howto [PDF & Snapshots]
Installing OpenCV 1.0
Download Executable from the link below:
The file will be present in the folders:
> OpenCV_1.0.exe 18.0 Mb
Install the the package.
Include the directories of the OpenCV headers and OpenCV libraries into the Visual Studio.
Before opening any projects, open Tools from the menu bar and select Options.
In the Options window select VC++ Directories. Open Show the Directories for: and select Include files.
Now add the following paths where the OpenCV include files are present.
Similarly select Source files from Show the Directories for: option. Now add the path where the source files are present.
Similarly select Library files from Show the Directories for: option & add the path where library files are present.
Click on OK to save the changes
Now all you have to do is create a new cpp project and add the following headers to your program -
Before building a project, Right click on the project and open Properties. Now click Linker and select Input. Type cxcore.lib cv.lib highgui.lib in to Additional Dependances.