View Full Version : error while running qt project

17th November 2011, 19:15
hello everyone
I m trying to run a qt project that is linked with opencv. When it is made to run, it shows the exception like
"An exception was triggered.
exception at 0x7c964ed1, code:0xc0000135: DLL not found, flags=0x0. During startup program exited with code 0xc0000135"

In order to know which dll is missing, i ran this project on cmd also and found that libgmp-3.dll was missing and pasted that at the correct place. But nothing worked out.

Can anybody plz tell me the possible reason for this exception.

17th November 2011, 22:53
All of the DLLs needed by your program must either be in the program directory or in your system PATH. You are probably missing more than just one DLL if you are using OpenCV.

How do you know that you "pasted that at the correct place"? Are you sure you know what place that is?

18th November 2011, 07:12
yes i pasted those files in the directory containing cc1plus.exe and i got that suggestion by some post only.

18th November 2011, 10:42
Use Dependency Walker (http://www.dependencywalker.com/)to find out what you're missing.

18th November 2011, 11:03
i pasted those files in the directory containing cc1plus.exe
Is this cc1plus.exe your program executable ? To me it sounds more like a part of MinGW.
You have to paste the dlls into the folder where you keep your project .exe file.

18th November 2011, 17:03
even after copying all the dll files to the folder where my project executable is placed, m not able to run it without error. Same error is occurring again and again. Plz help me

22nd November 2011, 10:28
Run the Dependency Walker (http://www.dependencywalker.com/)mentioned above, it will tell you what you're missing.