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