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

软件和网站开发以及相关技术探讨
回复
alaaf
帖子: 2
注册时间: 2007-06-29 4:12

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

#1

帖子 alaaf » 2007-06-29 4:23

刚装了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
头像
seaway
帖子: 88
注册时间: 2006-06-27 16:37
来自: china
联系:

#2

帖子 seaway » 2007-06-29 10:41

可以试试配置一下当前用户的path
回复