问题描述
大家好
我有一个使用Visual Studio早期版本创建的.lib文件,也许是2003年
我在Visual Studio 2010中将其与我的代码链接.构建成功,但收到此警告
警告LNK4098:defaultlib``msvcrt.lib"与其他库的使用发生冲突;使用/NODEFAULTLIB:library
我希望我的应用程序使用VS2010''msvcrt.lib''库,该库比
更新库嵌入在.lib文件中.
如何确保VS2010库已链接?
有什么办法可以迫使我的旧.lib使用新的``msvcrt.lib''?
我在本地CPP中编程.
谢谢前进
mr.abzadeh
Hi guys
I have a .lib file created with previous versions of visual studio, perhaps 2003
I link it with my code in visual studio 2010. build succeeds but I get this warning
warning LNK4098: defaultlib ''msvcrt.lib'' conflicts with use of other libs; use /NODEFAULTLIB:library
I want my application to use VS2010 ''msvcrt.lib'' library, which is newer than the
library embeded in .lib file.
How can I make sure that the VS2010 library is linked ?
Is ther any way to force my old .lib to use new ''msvcrt.lib'' ?
I program inNative CPP.
Thanks in forward
mr.abzadeh
推荐答案
这篇关于需要帮助来消除库冲突的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!