Can't find PDB files for Visual Studio

asked 2015-05-28 09:29:49 -0600

swiyth gravatar image

updated 2015-05-28 10:55:52 -0600

Hello, there! I'm currently working on Visual Studio 2013, and using OpenCV 3, and one thing that has cropped up regularly as an issue is the PDB not being able to be found. So, after generating in CMake and including all the necessary folders, as well as building the output in the "Bin" folder to avoid missing .dll errors, and activating the Microsoft Symbol Server... There are still issues about files I cannot build in Visual Studio to obtain the PDB files, which are shown below:

'KyleOpenCVbuild.exe' (Win32): Loaded 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v7.0\bin\cudart64_70.dll'. Module was built without symbols.

'KyleOpenCVbuild.exe' (Win32): Loaded 'C:\WINDOWS\System32\nvinitx.dll'. Cannot find or open the PDB file.

'KyleOpenCVbuild.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\coprocmanager_etoured.dll'. Cannot find or open the PDB file.

'KyleOpenCVbuild.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\coprocmanager\Nvd3d9wrapx.dll'. Cannot find or open the PDB file.

'KyleOpenCVbuild.exe' (Win32): Loaded 'C:\Program Files\NVIDIA Corporation\coprocmanager\nvdxgiwrapx.dll'. Cannot find or open the PDB file.

So my question, if you might spare some time, would be: How do I get around this? Is there anyway to get Visual Studio to stop checking for PDB? Will I always have to have Microsoft Symbol Server activated? Is there a better alternative to Visual Studio 2013? Why is it so hard just to get OpenCV to work on what seems to be a pretty commonly used IDE?

Thanks for your time, and sorry if the question is rather often dealt-with! I'll gladly provide more information if any is desired!

edit retag flag offensive close merge delete

Comments

they are not suplied with the prebuild versions of opencv

if you did build your local version of it, don't forget to link those, not the prebuild libs

change your linker path to opencv/build/lib (or wherever they ended up)

berak gravatar imageberak ( 2015-05-28 10:03:50 -0600 )edit

Hey! I did manage to build everything on Visual Studio, so the OpenCV files do have their PDB counterparts. Sorry, I think it wasn't clear because the list was too long. The issue, though, is that I always need to have Microsoft Symbol Server on, and there are STILL files which don't have PDB files, can't be built by Visual Studio, and doesn't seem to be related at all to openCV! I don't quite get it!

swiyth gravatar imageswiyth ( 2015-05-28 11:29:57 -0600 )edit