6

I'm using vcpkg as library manager for my Visual C++ projects. Sometimes I link libraries dynamically and vcpkg provides dll's in \vcpkg\installed\x64-windows\bin folder. When I run project in Debug or Release mode I have error related to missing DLL. What is elegant way to organize Visual C++ to take dll's from vcpkg folder?

Ðаn
  • 10,934
  • 11
  • 59
  • 95
vico
  • 17,051
  • 45
  • 159
  • 315
  • 1
    You can set the `PATH` environment variable in Visual Studio Community for you debugging session in the debugger settings for your project. – drescherjm Apr 05 '21 at 18:00
  • 1
    I assume you are not using CMake for your Visual Studio projects. I ask because I believe it copies the dlls for you to the same folder as the executable. – drescherjm Apr 05 '21 at 18:01
  • 2
    I'm using standard Visual C++ build toolset and I'm interest in common practice while building with vcpkg support. – vico Apr 05 '21 at 19:35

0 Answers0