error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MT_StaticRelease’ doesn’t match value ‘MDd_DynamicDebug

error LNK2038: mismatch detected for ‘RuntimeLibrary’: value ‘MT_StaticRelease’ doesn’t match value ‘MDd_DynamicDebug

依赖库用了mt, 但是本工程用了MDd

C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage

1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(23,41): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(27,40): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\cstdlib(31,46): error C2733: ‘abs’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(282,28): error C2733: ‘==’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(287,28): error C2733: ‘==’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(295,28): error C2733: ‘!=’: you cannot overload a function with ‘extern “C”‘ linkage
1>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\include\exception(299,28): error C2733: ‘!=’: you cannot overload a function with ‘extern “C”‘ linkage

本文出自:https://blog.csdn.net/kangear/article/details/18141741