编译致命错误头文件g ++ [英] compilation fatal error header file g++

查看:382
本文介绍了编译致命错误头文件g ++的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我收到此编译错误:

fatal error: can’t create precompiled header f: Text file busy
compilation terminated.  

这是一个非常神秘的一个,因为我只有一次在一段时间。

This is a very mysterious one, since i get it only once in a while..

在哪里出错?

推荐答案

ETXTBSY是一个标准的errno值,我发现的最好的解释是:

ETXTBSY is a standard errno value, the best explanation I've found being:


尝试执行当前打开以供写入的文件,或写入文件正在执行。通常使用调试器来运行程序被认为是开放的写入,并将导致此错误。 (名称代表文本文件忙。)

An attempt to execute a file that is currently open for writing, or write to a file that is currently being executed. Often using a debugger to run a program is considered having it open for writing and will cause this error. (The name stands for "text file busy".)

因此,您可能仍在执行编译器尝试重新创建的程序/ update ...?

So, you might still be executing the program the compiler is trying to recreate/update...?

这篇关于编译致命错误头文件g ++的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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