0
我已经安装了minGW和msys。在eclipse CDT中,我创建了使用交叉gcc工具链的C++项目。eclipse中构建cpp项目的问题
的Eclipse创建了我可以通过命令行使用make文件,所以如果我跑make all
项目编译正确,但如果我使用Eclipse来构建时,出现以下消息
**** Build of configuration Debug for project cpp ****
make all
Building file: ../src/main.cpp
Invoking: Cross G++ Compiler
g++ -O0 -g3 -Wall -c -fmessage-length=0 -MMD -MP -MF"src/main.d" -MT"src/main.d" -o "src/main.o" "../src/main.cpp"
make: *** [src/main.o] Error 1
**** Build Finished ****