LNK4098
defaultlib ‘library’ conflicts with use of other libs; use /NODEFAULTLIB:library
https://msdn.microsoft.com/en-us/library/6wtdswk0(v=vs.140).aspx
解决方案:You can tell the linker to ignore the incorrect run-time libraries by using /NODEFAULTLIB for each library you want to ignore.
link 选项里面加:
/NODEFAULTLIB:xxx.lib
本文介绍了解决LNK4098错误的方法,该错误通常出现在使用多个运行时库导致冲突的情况下。通过在链接器选项中使用/NODEFAULTLIB参数可以忽略不必要的运行时库。
5080

被折叠的 条评论
为什么被折叠?



