yaml-cpp
yaml-cpp copied to clipboard
Questions about static libraries
trafficstars
I built a static library of yaml, hoping to use it in VS2019, but I used it in the same way that I used the static library before, and prompted me "error LNK2038: mismatched item of "RuntimeLibrary" detected: value "MD_DynamicRelease" does not match value" MT_StaticRelease"", does anyone know why this is? I am sure I am using static library lib in the project。 I am using VS2019, windows10.
The same ,do you solve it?
I had this issue when using vcpkg to include yaml-ccp in my project. I had to enable "Use Dynamic CRT" in my vcpkg options.