If you're tired of setting up several settings before starting with your OpenCV project on Visual Studio C++ 2008 this project template should work well for you. Here are a couple of screenshots on what it might look like and how to use it. I've been doing my own tinkering on OpenCV as well, so that's why out of desperation I developed this project template.
Here's the link for the rar file containing the release. In order to install the template follow these instructions:
1. Extract the rar in to folder.
2. On explorer go to "C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects"
3. Copy all contents of the extracted rar to"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcprojects"
The New Project dialog with OpenCV Project template added
Using OpenCP project template in creating Project 'FacialRecognitionBasic'
As shown in the figure, it is by default that all required link dependencies to create an OpenCV project are added. In addition to that a short code template is also added by default, but you can also choose not to have the short template by selecting skip instead of add.
After finishing the wizard
A .cpp file is automatically added using your desired project name. The usual routine of having header, resource, and source filters are also covered by the project template. The short template is as shown here. Very short indeed.
Debug property of project
The additional dependencies for both debug and release modes are also added automatically when you checked the appropriate checkbox during the wizard.
Release property of the project
Here are the specific dependencies that are added