How can I run OpenCV program?

I am trying to run an OpenCV program from command line, but it gave error like "The program can`t start because opencv_220d.dll is missing from your computer." Try reinstalling the program to fix this problem. I am using Windows 7 & Microsoft VC++ 2010. How can I run the program?
This isn't really a C++ problem, but anyway... let's get the obvious question out of the way: have you tried doing what the message suggests and reinstalling the program?

If you have, then you need to check whether that DLL is present anywhere on your computer. If not, then clearly something is going wrong with the installation.

If it is present, then you need to make sure the directory containing it is in your system path, so that when you run OpenCV, it can find the DLL.
Thnx. It works fine after setting path variable.
You're welcome :)
Topic archived. No new replies allowed.