Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The app was unable to start correctly (0xc000007b)

Hello,

I've encountered the mentioned error while trying to execute my program, which, for simplicity sake only has a main and a single line:

cv::Mat mainPic_ = imread("path");

I searched about it and I know that it's a 64bit and 32bit dll mismatch. I haven't been able to find out exactly where however.

My OP is WIN7 64bit. I'm using VS 2010 in win32 debug mode.

opencv-2.4.9

c\c++ general: "c:\opencv\build\include\"

linker general: "c:\opencv\build\x86\vc10\lib

PATH: "c:\opencv\build\x86\vc10\bin\"

Result of Dependency Walker:

Module:

API-MS-WIN-APPMODEL-RUNTIME-L1-1-0.DLL

API-MS-WIN-CORE-WINRT-ERROR-L1-1-0.DLL

API-MS-WIN-CORE-WINRT-L1-1-0.DLL

API-MS-WIN-CORE-WINRT-ROBUFFER-L1-1-0.DLL

API-MS-WIN-CORE-WINRT-STRING-L1-1-0.DLL

API-MS-WIN-SHCORE-SCALING-L1-1-0.DLL

DCOMP.DLL, GPSVC.DLL, IESHIMS.DLL, VCOMP90.DLL

Warning: At least one delay-load dependency module was not found.

Warning: At least one module has an unresolved import due to a missing export function in a delay-load dependent module.

All of the mentioned DLL above are in system32. I also tried uninstall and reinstall Microsoft Visual C++ 2010 Redistributable Package (x86). Didn't help.

Any ideas?

Thanks,

Alex