开发工具cfree安装报错解决
报错如下:
【
--------------------配置: mingw5 - CUI Debug, 编译器类型: MinGW--------------------
检查文件依赖性...
正在编译 C:\Users\qian\Documents\C-Free\Temp\未命名1.cpp...
[Warning] C:\Users\qian\Documents\C-Free\Temp\未命名1.cpp:5:3: warning: no newline at end of file
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\include: No such file or directory
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\include\c++\3.4.5: No such file or directory
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\lib\gcc\mingw32\3.4.5\include: No such file or directory
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\lib\gcc\mingw32\3.4.5\install-tools\include: No such file or directory
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\bin\: No such file or directory
[Error] g++.exe: Files: No such file or directory
[Error] g++.exe: (x86)\C-Free: No such file or directory
[Error] g++.exe: 5\mingw\mingw32\bin\: No such file or directory
构建中止 未命名1: 18 个错误, 1 个警告
】
下面我们一起来解决这个问题。
重新安装c-free
-
在c盘,或者你想安装的但那个盘,就在那个盘下新建文件夹,名称为cfree【注意千万不要有空格】我这里以c盘为例。
-
双击c-free安装包,选择安装路径为刚才新建的那个文件夹,然后安装。
-
运行c-free,写入程序。进行编译运行。你会发现仍然报错,
【
--------------------配置: mingw5 - CUI Debug, 编译器类型: MinGW--------------------
检查文件依赖性...
正在编译 C:\Users\qian\Documents\C-Free\Temp\未命名1.cpp...
[Warning] C:\Users\qian\Documents\C-Free\Temp\未命名1.cpp:6:2: warning: no newline at end of file
[Error] g++.exe: 5\mingw\include: No such file or directory
[Error] g++.exe: 5\mingw\include\c++\3.4.5: No such file or directory
[Error] g++.exe: 5\mingw\lib\gcc\mingw32\3.4.5\include: No such file or directory
[Error] g++.exe: 5\mingw\lib\gcc\mingw32\3.4.5\install-tools\include: No such file or directory
[Error] g++.exe: 5\mingw\bin\: No such file or directory
[Error] g++.exe: 5\mingw\mingw32\bin\: No such file or directory
构建中止 未命名1: 6 个错误, 1 个警告
】但是错误明显没有第一次报的多了。
END
posted on 2018-08-12 16:36 activecode 阅读(1621) 评论(0) 编辑 收藏 举报