我正在尝试使用NetBean编写C++代码,我已经按照此处找到的每个命令进行了操作:https://netbeans.org/community/releases/68/cpp-setup-instructions.html#compilers_windows。然而,在NetBeans中使用make命令选项时出现了问题。我已将基础目录设置为M:\c++\bin,这是我安装MinGW的地方,并且将make命令设置为M:\MinSYS\bin\make.exe,但在尝试构建一个简单程序时,NetBeans会产生以下错误:
"/M/c++/MinSYS/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/m/Documents/NetBeansProjects/CppApplication_1'
"/M/c++/MinSYS/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory `/m/Documents/NetBeansProjects/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows
make.exe[2]: mkdir: Command not found
make.exe[2]: *** [build/Debug/MinGW-Windows/main.o] Error 127
make.exe[2]: Leaving directory `/m/Documents/NetBeansProjects/CppApplication_1'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/m/Documents/NetBeansProjects/CppApplication_1'
make.exe": *** [.build-impl] Error 2
我已经尝试更改 make 命令为任何包含 make 的命令,但都无法解决问题,希望能得到帮助,非常感激。