I am trying to link static and dynamic libraries in the same project in visual studio 2019. The thing is:
- In project properties -> C/C++ -> Code Generation, when I select MT for Runtime library, my dynamic library creates a problem mismatch detected for runtimeLibrary: value MD_DynamicRelease doesn't match value MT_StaticRelease.
- In project properties -> C/C++ -> Code Generation, when I select MD for Runtime library, my static library creates the same problem
I have read other posts like Linking with both static and dynamic libraries in MSVC but there is no explanation on how to link both statically and dynamically in the project. Could you please explain me how I can proceed?