I am upgrading a VS2010 project to VS2013. One of my applications is looking for mfc120.lib (or mfc120d.lib for debug builds). However, it appears that VS2013 ships with mfc120*u*.lib and mfc120*u*d.lib (presumably unicode versions which is the only version of MFC supported by VS2013).
Here are the linker errors I'm getting:
LINK : fatal error LNK1104: cannot open file 'mfc120.lib'
LINK : fatal error LNK1104: cannot open file 'mfc120d.lib'
I'm looking through the project property sheets and don't see any setting for specifying which MFC library file to link against. It's not even showing up in the "Linker-->Command Line" page of the property sheets.
Can someone help me figure out how to get the project to link to the correct library files?
Thank you very, very much!
本文指导如何在将VS2010项目升级至VS2013后解决因MFC库文件版本不匹配导致的链接错误问题。主要关注于通过调整编译命令参数来确保项目正确链接到相应的库文件。
415

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



