我最近决定尝试NetBeans,在下载和链接时,MinGW在尝试编译" Hello World"时遇到以下错误。程序
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/c/Users/David/Documents/NetBeansProjects/Welcome_2'
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_TDM-Windows/welcome_2.exe
make.exe[2]: Entering directory `/c/Users/David/Documents/NetBeansProjects/Welcome_2'
mkdir -p build/Debug/MinGW_TDM-Windows
make.exe[2]: mkdir: Command not found
make.exe[2]: *** [build/Debug/MinGW_TDM-Windows/welcome.o] Error 127
make.exe[2]: Leaving directory `/c/Users/David/Documents/NetBeansProjects/Welcome_2'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/c/Users/David/Documents/NetBeansProjects/Welcome_2'
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 1s)
对于我在tools \ options \ c / c ++ \ Build Tools下的选项 基本目录:C:\ MinGW32 \ bin
C编译器:C:\ MinGW32 \ bin \ gcc.exe
C ++编译器:C:\ MinGW32 \ bin \ g ++。exe
汇编程序:C:\ MinGW32 \ bin \ as.exe
制作命令:C:\ MinGW \ msys \ 1.0 \ bin \ make.exe
调试器命令:C:\ MinGW32 \ bin \ gdb.exe
我可能只是把错误链接起来,但如果重新安装一些东西会更容易,那么我也会对此持开放态度。