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
So I stumbled across an issue where the path <vcpkginstalledtriplet>(/debug)/bin is required to be on the path. It basically always happens if some tool is build by a port which is than used by another port.
Current workarounds are:
vcpkg_copy_tool_dependencies which copies all dependencies into the tool directory (bad since it duplicates shared libraries, maybe even multiple times -> see e.g. Qt)
ADD_BIN_TO_PATH option in vcpkg_build_cmake. (only works for internal build cmake projects)
From my point of view the only correct solution is to have the toolchain file add the /bin folder to the path variable (if it is not already there).
(Another solution: drop the separation of executables and dlls)
This discussion was converted from issue #7826 on June 09, 2021 07:24.
Heading
Bold
Italic
Quote
Code
Link
Numbered list
Unordered list
Task list
Attach files
Mention
Reference
Menu
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
-
So I stumbled across an issue where the path
<vcpkginstalledtriplet>(/debug)/bin
is required to be on the path. It basically always happens if some tool is build by a port which is than used by another port.Current workarounds are:
From my point of view the only correct solution is to have the toolchain file add the /bin folder to the path variable (if it is not already there).
(Another solution: drop the separation of executables and dlls)
Beta Was this translation helpful? Give feedback.
All reactions