在Windows 7 32位上使用netbeans 8.1和MinGW for c / c ++

时间:2016-05-28 12:35:57

标签: windows netbeans mingw32

我正在尝试从24小时开始编译c ++程序,但我面临同样的问题" Build Failed" 我使用过MinGW并设置了路径变量 C:\ MinGW \ msys \ 1.0 \ bin; C:\ MinGW \ bin; 但遇到了同样的问题 在运行程序之前,我有构建项目然后运行程序,但情况是一样的。 我收到的错误信息是

cd 'C:\Users\DELL\Documents\NetBeansProjects\CppApplication_1'
C:\MinGW\msys\1.0\bin\make.exe -f Makefile CONF=Debug
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/c/Users/DELL/Documents/NetBeansProjects/CppApplication_1'
"/C/MinGW/msys/1.0/bin/make.exe"  -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory `/c/Users/DELL/Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows
rm -f "build/Debug/MinGW-Windows/main.o.d"
g++    -c -g -MMD -MP -MF "build/Debug/MinGW-Windows/main.o.d" -o build/Debug/MinGW-Windows/main.o main.cpp
g++.exe: error: CreateProcess: No such file or directory
make.exe[2]: *** [build/Debug/MinGW-Windows/main.o] Error 1
make.exe[2]: Leaving directory `/c/Users/DELL/Documents/NetBeansProjects/CppApplication_1'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/c/Users/DELL/Documents/NetBeansProjects/CppApplication_1'
make.exe": *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 2s)

请帮帮我

0 个答案:

没有答案