Skip to content

[OpenCV] VS looks for the .pdb files in the buildtrees directory #3196

@patrikhuber

Description

@patrikhuber

Hi!

I've deleted my buildtrees/ directory today and a couple hours later noticed that even though I'm compiling & debugging in Debug mode, I don't see the source code of OpenCV and dlib anymore and can't seem to step into their functions.
I've now found out that this is probably because VS can't find the .pdf files anymore. In fact if I click on the call-stack it shows me the .pdb search path window and if I click to locate the .pdb, it shows me "Original location" C:\Users\Patrik\vcpkg\buildtrees\opencv\x64-windows-rel\bin\opencv_imgproc341.pdb. So it seems like VS is expecting the .pdb files to be in the buildtrees folder. Even though, as I can see, vcpkg actually "installs" the .pdb's into its installed/ folder.

I think that may look like a bug to me?

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already support

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions