yaml-cpp icon indicating copy to clipboard operation
yaml-cpp copied to clipboard

Questions about static libraries

Open KKDDD opened this issue 4 years ago • 2 comments
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.

KKDDD avatar Nov 27 '20 03:11 KKDDD

The same ,do you solve it?

ElectronicAB avatar Oct 27 '22 12:10 ElectronicAB

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.

image

dschu012 avatar Nov 13 '23 15:11 dschu012