致命错误C1083 ...错误突然出现. [英] fatal error C1083... Error suddenly showing up.

查看:224
本文介绍了致命错误C1083 ...错误突然出现.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好.
我正在运行VS 2008专业版SP1.
我已经使用了一段时间了,并且效果很好,直到昨晚我开始对它进行小型作业,当尝试构建cpp时,出现以下错误:
致命错误C1083:无法打开包含文件:'codeanalysis \ sourceannotations.h':没有此类文件或目录."

这错误来自页面"sal.h".我假设这是一个系统文件,以前从未见过或使用过它,实际上我也没有在代码中包含任何其他页面.
自从上次VS正常工作以来,唯一发生的变化是我由于空间原因不得不压缩HD.我以为这可能已损坏或删除了一些必要的VS文件,所以我只是执行了一次修复安装,无济于事.
我创建了一个测试页面,其中只包含了Hello World的基本代码,但仍然会导致此错误,确保与语法无关.

如果有人可以对此提供任何见解,我将不胜感激.
谢谢,
Micah

Hello all.
I am running VS 2008 professional edition SP1.
I have been using it for a while now and it has worked fine until last night I started a small homework assignment on it and when attempting to build the cpp I get this error:
"fatal error C1083: Cannot open include file: 'codeanalysis\sourceannotations.h': No such file or directory."

This error is coming from a page "sal.h". I'm assuming this is a system file as I have never seen or worked with it before nor am I actually including any other pages in my code.
The only thing that has changed since the last time VS worked properly was I had to compress my HD for space reasons. I thought this may have corrupted or deleted some necessary VS files so I just preformed a repair install to no avail.
I created a test page with just the essential code for a hello world and it still causes this error so I'm sure it's not syntax related.

If anyone can provide any insight into this I would appreciate if very much.
Thanks,
Micah

推荐答案

在硬盘上进行搜索,并检查文件sourceannotations.h是否存在.
Do a search in your hard disk and check if the file sourceannotations.h exists.
如果找到,它将检查其路径.
If you find, it check its path.


这篇关于致命错误C1083 ...错误突然出现.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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