eclipse+CDT+MinGW问题
想用eclipse+CDT+MinGW搞个C++开发环境,都装好之后新建helloworld项目,编译没有通过:****InternalBuilderisusedforb...
想用eclipse+CDT+MinGW搞个C++开发环境,都装好之后新建helloworld项目,编译没有通过:
**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\test.o ..\src\test.cpp
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/bits/postypes.h:42:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iosfwd:42,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ios:39,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ostream:40,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iostream:40,
from ..\src\test.cpp:9:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/cwchar:47:19: fatal error: wchar.h: No such file or directory
compilation terminated.
Build error occurred, build is stopped
高手们帮忙看看是怎么回事啊? 多谢了
环境变量都设置了的 展开
**** Internal Builder is used for build ****
g++ -O0 -g3 -Wall -c -fmessage-length=0 -osrc\test.o ..\src\test.cpp
In file included from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/bits/postypes.h:42:0,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iosfwd:42,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ios:39,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/ostream:40,
from c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/iostream:40,
from ..\src\test.cpp:9:
c:\mingw\bin\../lib/gcc/mingw32/4.5.0/include/c++/cwchar:47:19: fatal error: wchar.h: No such file or directory
compilation terminated.
Build error occurred, build is stopped
高手们帮忙看看是怎么回事啊? 多谢了
环境变量都设置了的 展开
3个回答
2010-11-26
展开全部
我开始也是跟你一样的错误。
后来将下载的lzma一起用7-zip解压两次就可以了。不知道为什么。
设置的路径为
set MinGW_PATH=D:\Program\MinGW
path = %path%;%MinGW_PATH%\bin;%MinGW_PATH%\mingw32\bin
后来将下载的lzma一起用7-zip解压两次就可以了。不知道为什么。
设置的路径为
set MinGW_PATH=D:\Program\MinGW
path = %path%;%MinGW_PATH%\bin;%MinGW_PATH%\mingw32\bin
展开全部
||运算符有个特点,就是只要出现1就不会执行剩下的运算
所以++x||++y&&++z;中只会执行++x,剩下的++y&&++z不会被运行到。
所以++x||++y&&++z;中只会执行++x,剩下的++y&&++z不会被运行到。
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
展开全部
你的makefile有问题吧
你的串号我已经记下,采纳后我会帮你制作
你的串号我已经记下,采纳后我会帮你制作
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询