我已经安装了Netbeans和MinGW作为C / C ++ IDE但是我没能在Netbeans中编译提供的示例。我收到以下构建错误:
mkdir -p build/Debug/MinGW_1-Windows
rm -f build/Debug/MinGW_1-Windows/main.o.d
gcc.exe -c -g -MMD -MP -MF build/Debug/MinGW_1-Windows/main.o.d -o build/Debug/MinGW_1-Windows/main.o main.c
make[2]: *** [build/Debug/MinGW_1-Windows/main.o] Error 1
make[2]: Leaving directory `/c/Users/Momo/Documents/NetBeansProjects/Test2'
make[1]: Leaving directory `/c/Users/Momo/Documents/NetBeansProjects/Test2'
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 4s)