然后写了一个测试程序
代码: 全选
#include <iostream>
using namespace std;
int main() {
cout<<"hi"<<endl;
return 0;
}
在 /home/sunshine/NetBeansProjects/first_C 中运行 "/usr/bin/make -f Makefile CONF=Debug"
/usr/bin/make -f nbproject/Makefile-Debug.mk SUBPROJECTS= .build-conf
make[1]: Entering directory `/home/sunshine/NetBeansProjects/first_C'
mkdir -p build/Debug/GNU-Linux-x86
c -g -o build/Debug/GNU-Linux-x86/newmain.o newmain.cc
make[1]: c:命令未找到
make[1]: [build/Debug/GNU-Linux-x86/newmain.o] 错误 127 (忽略)
mkdir -p dist/Debug/GNU-Linux-x86
o dist/Debug/GNU-Linux-x86/first_c build/Debug/GNU-Linux-x86/newmain.o
make[1]: o:命令未找到
make[1]: [dist/Debug/GNU-Linux-x86/first_c] 错误 127 (忽略)
make[1]: Leaving directory `/home/sunshine/NetBeansProjects/first_C'
生成 成功。 退出值 0。
请问一下是怎么回事,我该怎么办?