You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
i have multiple "internal" library which i'm trying to manage with vcpkg+cmake.
Generally speaking everything is working properly.
I have only one minor issue which i can't solve. When working in a project that uses my internal dependecies (in Windows with MSVC compiler) i can't have the pdbs of my internal dependencies copied along with the dlls.
The dependencies have the vcpkg_copy_pdbs() in the portfile and they properly export the pdbs in the local cache ..\build\vcpkg_installed\x64-windows\debug\bin along with the dlls. it just miss the final step to have them copied where the executable files is placed so that dependencies symbol can be load.
Note that the dependecies dlls are copied from the local cache to the output directories and the program starts properly. Also the pdb of the project itself are in the output directory. Only the pdb of the dependecies are missing.
What is the proper way to handle this? It seems strange to me that vcpkg handle everything and then it just miss the final copy.
Thank you very much.
Michele
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
i have multiple "internal" library which i'm trying to manage with vcpkg+cmake.
Generally speaking everything is working properly.
I have only one minor issue which i can't solve. When working in a project that uses my internal dependecies (in Windows with MSVC compiler) i can't have the pdbs of my internal dependencies copied along with the dlls.
The dependencies have the vcpkg_copy_pdbs() in the portfile and they properly export the pdbs in the local cache ..\build\vcpkg_installed\x64-windows\debug\bin along with the dlls. it just miss the final step to have them copied where the executable files is placed so that dependencies symbol can be load.
Note that the dependecies dlls are copied from the local cache to the output directories and the program starts properly. Also the pdb of the project itself are in the output directory. Only the pdb of the dependecies are missing.
What is the proper way to handle this? It seems strange to me that vcpkg handle everything and then it just miss the final copy.
Thank you very much.
Michele
Beta Was this translation helpful? Give feedback.
All reactions