LNK1104:无法打开文件'msvcprt.lib' [英] LNK1104: cannot open file 'msvcprt.lib'

查看:3154
本文介绍了LNK1104:无法打开文件'msvcprt.lib'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Window 7机器上使用Visual Studio 2010 Express。两天前,我的项目编译得很好,但突然它得到这个链接器失败:

I'm using Visual Studio 2010 Express on a Window 7 machine. Two days ago, my project compiled just fine, but all the sudden it get this linker failure:


LNK1104:无法打开文件'msvcprt。 lib'

LNK1104: cannot open file 'msvcprt.lib'

在其中,我在该机器上安装了MS Office 2010,Windows安装了一堆更新。看起来像Windows / VS丢失一个文件! (这怎么可能发生?)我能做些什么?

In between, I installed MS Office 2010 on that machine and Windows installed a bunch of updates, that's all. Seems like Windows / VS "lost" a file!? (how can that even happen?) What can I do about this?

推荐答案

最简单的方法可能只是重新安装VS.它将获得所有的资源,并且只要你备份你的项目(或如果他们在一个不同的文件夹,默认),你不会失去任何东西。它会比尝试找到该特定文件更快。

The easiest way would probably be just re-installing VS. It will get all the resources for you and as long as you back up your projects (or if they're in a different folder than the default) you won't lose anything. It will be faster than trying to find that specific file.

这篇关于LNK1104:无法打开文件'msvcprt.lib'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆