Ask Your Question

The application is unable to start correctly (0xc0150002)

asked 2012-09-25 03:19:16 -0600

matttaylor gravatar image matttaylor
11 1 2

Dear OpenCV answers,

I am investigating using averaging over a number of frames to reduce noise on our video feed. I've been working from a tutorial provided here

I have installed OpenCV 2.1 on my Windows 7 development machine using the EXE installer from sourceforge. I am using Visual Studio 2010 SP1.

The program compiles and reports no errors or warnings. However when the program is run in debug mode a message box pops up with the message:

"The application was unable to start correctly (0xc0150002). Click OK to close the application."

I spent all day yesterday searching for a solution to this, with no particular luck. I've found about 50 different 'solutions' to the problem around the internet and none of them have worked. I finally rage-quit yesterday afternoon. Now back at work again and it's sitting here on my desktop taunting me.

If anyone can help me with this, I would really appreciated it. I can email over the VS Solution files if you need.

Thanks for your time!


delete close flag offensive retag edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-02 02:04:45 -0600

Wajdy Essam gravatar image Wajdy Essam

The prebuild libraries on OpenCV 2.1 is for Visual Studio 2008

so either you use VS2008 or build the source code and get the libraries for VS2010

its very easy to build, see this:

the same steps you will do to build OpenCV 2.1.

link delete flag offensive edit

Login/Signup to Answer

Question tools

1 follower

subscribe to rss feed


Asked: 2012-09-25 03:19:16 -0600

Seen: 3,002 times

Last updated: Jan 02 '13