Ask Your Question
0

opencv_core245d.dll cannot be read by vs12

asked 2013-07-18 22:56:51 -0500

DexEr gravatar image

updated 2013-08-12 15:44:46 -0500

Please help..!! I have written the simplest code of reading an image file in c++; using opencv 2.4.5. However it appears that VS2012 cannot register the .dllfile of open cv If I paste the particular dll into the project folder it gives a PDB file missing error...!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2013-07-18 23:44:27 -0500

Notas gravatar image

updated 2013-07-19 01:19:59 -0500

berak gravatar image

Of course it gives a PDB file missing error, because they aren't provided with the pre-compiled binaries. But that's not an error, only a warning. You simply don't have debug information for those dlls. So don't worry. You can copy those specific dlls to the project folder.

edit flag offensive delete link more

Comments

I have tried to do so... however it still is giving the same error...

DexEr gravatar imageDexEr ( 2013-07-19 00:03:55 -0500 )edit

I also had similar problem, i searched it a lot, and tried updating lot of things, but nothing helped, finally I was able to resolve the problem, by using OpenCv-2.4.4 build. I tried to build the OpenCv 2.4.6 libraries, but CMake gave me some errors. And the prebuilt libraries didn't work. If you are able to successfully build OpenCv-2.4.5 library using CMake, then i guess such problem must not come.

utkarshmankad gravatar imageutkarshmankad ( 2013-07-19 01:09:50 -0500 )edit
1

answered 2013-07-19 00:13:21 -0500

Pinky gravatar image

in your project go to properties->linker->additional dependencies and add the corresponding library name. for example for opencv_core245d.dll you need to add opencv_core245d in the additional dependency

edit flag offensive delete link more

Comments

This is actually the reason why you are not succeeding in finding the dll's. Also be sure to add the correct bin directory to your system path variable!

StevenPuttemans gravatar imageStevenPuttemans ( 2013-07-19 05:07:23 -0500 )edit

Actually the additional dependencies is where u put in ur .lib Links if m not wrong... I have done this.as well as put it up in system path ... It is still giving the same error

DexEr gravatar imageDexEr ( 2013-08-12 11:56:22 -0500 )edit

you need to add opencv_core245d.lib, with the extension. Could this be the problem?

StevenPuttemans gravatar imageStevenPuttemans ( 2013-08-12 14:08:51 -0500 )edit
Login/Signup to Answer

Question Tools

Stats

Asked: 2013-07-18 22:56:51 -0500

Seen: 711 times

Last updated: Aug 12 '13