简体   繁体   English

VS2012到VS2015的迁移

[英]VS2012 to VS2015 migration

Hi I am migrating my project from VS2012 to VS2015 and I ended up with the following error 嗨,我正在将我的项目从VS2012迁移到VS2015,但最终出现以下错误

Error LNK1104 cannot open file 'mfc110.lib' 错误LNK1104无法打开文件'mfc110.lib'

I also search for mfc110.lib file in the installation directory of VS2012 and VS2015 but its not there. 我还在VS2012和VS2015的安装目录中搜索mfc110.lib文件,但不在该目录中。

I googled it found the following link but it did not help me 我用谷歌搜索找到了以下链接,但它没有帮助我

https://social.msdn.microsoft.com/Forums/en-US/081c25ed-d068-4ef2-a08d-b5639d443c98/vs2012-linker-error-1104-mfc100lib https://social.msdn.microsoft.com/Forums/en-US/081c25ed-d068-4ef2-a08d-b5639d443c98/vs2012-linker-error-1104-mfc100lib

error LNK1104: cannot open file 'mfc90.lib' 错误LNK1104:无法打开文件'mfc90.lib'

Try to link the project to the new .lib (probably something like mfc120.lib) Seems to be the same problem just with an older version of VS. 尝试将项目链接到新的.lib(可能类似于mfc120.lib之类),似乎与旧版VS一样,是同样的问题。 As well in your posted URL it states to relink the project to the new .lib 在您发布的URL中,它还会指出将项目重新链接到新的.lib

One of your objects files or other libraries (maybe third party) you use still links to the old VS version. 您使用的目标文件之一或其他库(可能是第三方)仍然链接到旧VS版本。

Try the /verbose option of the linker, to see what module wants to link to the old libraries. 尝试使用链接器的/ verbose选项,以查看要链接到旧库的模块。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM