酷知百科网

位置:首页 > 游戏数码 > 电脑

C Free运行时显示No such file or directory

电脑3.18W

以前一直用的vc++6.0,后来觉得vc界面不好看,就决定安装C-Free 5,结果运行程序时出现[Error] g++: 5mingwinclude: No such file or directory的错误,然后不停的试方法终于找出了解决方法(其实So easy!)

操作方法

(01)编写程序,运行程序出现[Error] g++: 5mingwinclude: No such file or directory的错误

C Free运行时显示No such file or directory

(02)找到安装的程序所在的文件

C Free运行时显示No such file or directory 第2张

(03)出现的原因是安装文件安装在了 C-Free 5目录下,但是在编译的过程中不认用空格空开的目录,所以需要在安装的时候将安装目录修改为C-Free5,也就是去掉空格就可以了。

C Free运行时显示No such file or directory 第3张

(04)再次打开程序并运行程序,就没有错了~

C Free运行时显示No such file or directory 第4张

特别提示

这条不能包含所有错误哈!不过可能会解决出现的这种错误