VC++报错:value ‘MTd_StaticDebug‘ doesn‘t match value ‘MDd_DynamicDebug‘

VC++调试报错:

LNK2038    mismatch detected for 'RuntimeLibrary': value 'MTd_StaticDebug' doesn't match value 'MDd_DynamicDebug' in DesUtil.obj    DES    C:\Users\Administrator\source\repos\DES\DES\cryptlib.lib(cryptlib.obj)   

两个值:

MTd_StaticDebug

MDd_DynamicDebug

看上去像是config的问题。

网上找到了解决方案:

项目属性 > C/C++ > Runtime Library, 选择 /Mtd

VC++报错:value ‘MTd_StaticDebug‘ doesn‘t match value ‘MDd_DynamicDebug‘_第1张图片

参考:'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in IPlugVST.obj - Cockos Incorporated Forums

你可能感兴趣的:(C/C++,数学建模)