Application Error (0xc0150002) in first project [closed]
Hi every body, I want to run my first program but encountering this error:
'Test2.exe': Loaded 'C:\opencv\build\x86\vc9\bin\opencv_core243d.dll', Cannot find or open the PDB file
The program '[14228] Test2.exe: Native' has exited with code -1072365566 (0xc0150002).
i want to do a Win32 project in may x64 system and adding right libraries (x86) right the tutorials said. but cant run it! i use opencv 2.4.3 and vs2010! the program built successfully but when running there is this error:
---------------------------
Test2.exe - Application Error
---------------------------
The application was unable to start correctly (0xc0150002). Click OK to close the application.
---------------------------
OK
---------------------------
is there anyone help me?
thanks all
p.s: sorry for my bad English...
Are you trying to do a Release build with the debug libraries (they have 'd' at the end of them)?
hmm that should be a warning, not an error in the usual case.
are you compiling with 'warnings as errors' ? (that would explain it)
those pdb files are just not part of the 2.4.3. download, ( they're pretty large it's a matter of download size )
they are only needed, when you want to step into the library code(eg. core_243.lib) with your debugger.
if you really need to do that, you'll have to recompile the opencv libs & dlls using cmake. this will generate the pdb files next to the libs, too.