当我设置为Not Using Precompiled Headers时,致命错误C1010仍然存在 [英] Fatal Error C1010 still exists when i set to Not Using Precompiled Headers

查看:670
本文介绍了当我设置为Not Using Precompiled Headers时,致命错误C1010仍然存在的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

还有什么可能产生此错误?

What else may generate this error?

推荐答案

您好,

错误是:

致命错误C1010:查找预编译头时意外结束文件。您是否忘记将'#include" stdafx.h"'添加到您的来源?

the error is:
fatal error C1010: unexpected end of file while looking for precompiled header. Did you forget to add '#include "stdafx.h"' to your source?

检查标记是否未使用预编译标头。检查设置是否完全符合您的项目类型(调试/发布,win32,...)。 您必须在那里犯了错误。

Check the flag for not using precompiled header. Check if the setting is exactly for your Project type (debug/release, win32,...). You must have made a mistake there.

或仅包括"stdafx.h"在源头。

Or only include "stdafx.h" in the source.

问候,Guido


这篇关于当我设置为Not Using Precompiled Headers时,致命错误C1010仍然存在的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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