分页: 1 / 1

新手急问 ubuntu7+eclipse3.2.2+cdt3.1.1

发表于 : 2007-06-29 4:23
alaaf
刚装了ubuntu7,就立即添加了eclipse环境,然后就下在了cdt包,用managed make c++project 运行hello,world!

不能生成binary文件,console出现下列信息

(系统里面应该已经有gcc了,不知道怎么配置gcc,让eclipse能看见)
**** Build of configuration Debug for project hello ****

make -k all
/bin/sh: g++: not found
make: *** [hello.o] Error 127
make: Target `all' not remade because of errors.
Building file: ../hello.cpp
Invoking: GCC C++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"hello.d" -MT"hello.d" -o"hello.o" "../hello.cpp"
Build complete for project hello

发表于 : 2007-06-29 10:41
seaway
可以试试配置一下当前用户的path