MinGW/includes/缺少了个c++目录
MinGW是安装在C:\MinGW,在站点下载了**-bin.tar.lzma,**-dll-tar.lzma,解压后设置环境变量,但我发现没有MinGW/include...
MinGW是安装在C:\MinGW,在站点下载了**-bin.tar.lzma,**-dll-tar.lzma,解压后设置环境变量,但我发现没有MinGW/includes/c++目录,是缺少了什么文件?
参考的以下说明安装的
http://wiki.wxwidgets.org/HowTo:_Install_MSYS_and_MinGW_for_use_with_Eclipse_CDT
我只对MinGW设置了path变量,其他的如C_INCLUDE_PATH等都没设置,直接运行CDT6.0
写了个executable项目的helloword,编译器选的MinGW
----------------------------
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
return EXIT_SUCCESS;
}
----------------------------
控制台的消息:
**** Build of configuration Debug for project h2 ****
**** Internal Builder is used for build ****
**** WARNING: The "Debug" Configuration may not build ****
**** because it uses the "MinGW GCC" ****
**** tool-chain that is unsupported on this system. ****
**** Attempting to build... ****
gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\h2.o ..\src\h2.c
gcc -oh2.exe src\h2.o
Build complete for project h2
Time consumed: 485 ms. 展开
参考的以下说明安装的
http://wiki.wxwidgets.org/HowTo:_Install_MSYS_and_MinGW_for_use_with_Eclipse_CDT
我只对MinGW设置了path变量,其他的如C_INCLUDE_PATH等都没设置,直接运行CDT6.0
写了个executable项目的helloword,编译器选的MinGW
----------------------------
#include <stdio.h>
#include <stdlib.h>
int main(void) {
puts("!!!Hello World!!!"); /* prints !!!Hello World!!! */
return EXIT_SUCCESS;
}
----------------------------
控制台的消息:
**** Build of configuration Debug for project h2 ****
**** Internal Builder is used for build ****
**** WARNING: The "Debug" Configuration may not build ****
**** because it uses the "MinGW GCC" ****
**** tool-chain that is unsupported on this system. ****
**** Attempting to build... ****
gcc -O0 -g3 -Wall -c -fmessage-length=0 -osrc\h2.o ..\src\h2.c
gcc -oh2.exe src\h2.o
Build complete for project h2
Time consumed: 485 ms. 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询