我无法在Widows 7中的netbeans 7.1中编译项目,错误是“mkdir.exe停止工作”我在MinGW中找到mkdir.exe> Msys> 1.0> bin并运行但没有解决这个问题。当我运行一个项目时,输出是:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Program Files/NetBeans 7.1.1/c++2'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW_1-Windows/c__2.exe
make[2]: Entering directory `/c/Program Files/NetBeans 7.1.1/c++2'
mkdir -p build/Debug/MinGW_1-Windows
0 [main] mkdir 4516 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
make[2]: Leaving directory `/c/Program Files/NetBeans 7.1.1/c++2'
make[1]: Leaving directory `/c/Program Files/NetBeans 7.1.1/c++2'
make[2]: *** [build/Debug/MinGW_1-Windows/main.o] Error 5
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED(退出值2,总时间:7s)
答案 0 :(得分:4)
我遇到了同样的问题,在单独安装msys并将c:\ msys \ 1.0 \ bin目录添加到PATH变量后,问题就解决了。我不得不重新启动NetBeans。