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
Describe the bug
Since yaml-cpp got upgraded to 0.7.0 in #19272, projects built in Debug mode link against the release version of the library leading to ABI incompatibilities.
Below a shortened sample output during build of the application in Debug mode. Notice how it is correctly linking against the debug build of boost but uses the release version of yaml-cpp.
Thanks for the quick fix! It resolves the issue for me. Application build tested in Debug and RelWithDebInfo configuration. It correctly links against yaml-cppd.dll with the former config and against yaml-cpp.dll with the latter. Can't test with other OSs though, since I'm using vcpkg only on Windows.
Describe the bug
Since yaml-cpp got upgraded to 0.7.0 in #19272, projects built in
Debug
mode link against the release version of the library leading to ABI incompatibilities.Below a shortened sample output during build of the application in
Debug
mode. Notice how it is correctly linking against the debug build ofboost
but uses the release version ofyaml-cpp
.[...] -- C:\PROGRA~2\MICROS~4\2019\COMMUN~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\link.exe [...] vcpkg_installed\x64-windows\debug\lib\boost_program_options-vc140-mt-gd.lib vcpkg_installed\x64-windows\lib\yaml-cpp.lib [...]
Also
yaml-cppd.dll
is not copied to the output directory.Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Application links against debug version of yaml-cpp and
yaml-cppd.dll
is copied to the output directory.The text was updated successfully, but these errors were encountered: