OpenCV project gives 0xc0000142 error

0

I am trying to run a simple OpenCV project using this tutorial http://share-thevision.blogspot.ro/2013/02/opencveclipse-on-windows.html. I am using OpenCV 2.4.3, MinGW and Eclipse for C++. At build everything seems to be ok, however, when I try to run the project nothing happens from eclipse (I can't even get a "Hello world" to be displayed). If I try to double click the exec I get the error "The application was unable to start correctly (0xc0000142). Click OK to close the application." By using dependency walker it looks like the following .dll can not be found:

  • API-MS-WIN-CORE-KERNEL32-PRIVATE-L1-1-1.DLL
  • API-MS-WIN-CORE-PRIVATEPROFILE-L1-1-1.DLL
  • API-MS-WIN-SERVICE-PRIVATE-L1-1-1.DLL
  • API-MS-WIN-CORE-SHUTDOWN-L1-1-1.DLL
  • EXT-MS-WIN-NTUSER-UICONTEXT-EXT-L1-1-0.DLL
  • IESHIMS.DLL

However none of those seem to be OpenCV related, but OS related. I am using Windows 8.1 on a 64 bits machine, but I am trying to create a 32 bits program. Any ideas what might be wrong and how to fix it?

c++
eclipse
opencv
asked on Stack Overflow May 28, 2014 by Stefana Fratean

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0