I have a problem with Visual C++ 2008. I have installed opencv and I\'ve created a new program and I build it with no errors. However, it complains about not finding MSVCR90
Recompile your project in VC++ 2008 using function File->New->Project From Existing Code. It helped myself, probably it will help you. Regards.