【发布时间】:2013-06-26 14:55:58
【问题描述】:
QT 给出错误
LNK4098: defaultlib 'MSVCRTD' conflicts with use of other libs; use /NODEFAULTLIB:library
LNK4098: defaultlib 'LIBCMT' conflicts with use of other libs; use /NODEFAULTLIB:library
我应该把 /NODEFAULTLIB:library 放在哪里?
【问题讨论】:
-
@Mgetz 我在哪里放 /NODEFAULTLIB:library ?
-
链接器设置下有一个忽略默认库设置
-
这可能包含在Qt FAQs 中。但是,如果你 need to add compiler options,这就是方法
-
您没有正确拼写库名称,仅供参考