帮助检测到'RuntimeLibrary'的某些不匹配:值'MDd_DynamicDebug' [英] Help With Some mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug'

查看:92
本文介绍了帮助检测到'RuntimeLibrary'的某些不匹配:值'MDd_DynamicDebug'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

错误 LNL2038
为'RuntimeLibrary'检测到不匹配:value' MDd_DynamicDebug'与d3d11Hook.obj中的值'MTd_StaticDebug'不匹配


Error LNK2038 mismatch detected for 'RuntimeLibrary': value 'MDd_DynamicDebug' doesn't match value 'MTd_StaticDebug' in d3d11Hook.obj

任何人都知道如何修复我的错误我已经改变了编译器库并且已经解决了它但是不知道;(

Would Any One Know how to fix my Error i have changed the Compiler Libs and Worked away round it but is don't know ;(

推荐答案

使用/ MTd选项编译d3d11Hook.obj文件,其余部分使用/ MDd编译。

The d3d11Hook.obj file was compiled with the /MTd option where the rest was compiled with /MDd.

如果你有一个文件d3d11Hook.c / cpp / cc或者其他什么,那么检查单个文件属性以查看是否设置了运行时库。如果是粗体,选择它并从父设置中选择继承。这将设置此选项根据项目的设置。

If you have a file d3d11Hook.c/cpp/cc or whatever then check the individual file properties to see if the runtime library is set. If it is bold, select it and select the inherit from parent setting. This will set this option based upon the project's setting.


这篇关于帮助检测到'RuntimeLibrary'的某些不匹配:值'MDd_DynamicDebug'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆