compile in Netbeans 7.1

匆匆过客 提交于 2019-12-23 19:34:05

问题


I couldn't compile project in netbeans 7.1 in Widows 7 ,the error is "mkdir.exe stop working" I find mkdir.exe in MinGW>Msys>1.0>bin and run but didn't solve this problem . when I run a project the output is :

"/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 (exit value 2, total time: 7s)


回答1:


I had the same problem and after installing msys separately and adding c:\msys\1.0\bin directory to the PATH variable, problem was solved. I had to restart NetBeans.



来源:https://stackoverflow.com/questions/9850381/compile-in-netbeans-7-1

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!