| View previous topic :: View next topic |
| Author |
Message |
facultyofmusic
Joined: 25 Oct 2010 Posts: 1
|
Posted: Mon Oct 25, 2010 2:40 am Post subject: mkdir Crashes. |
|
|
I just downloaded and installed Netbeans IDE 6.9.1 and Installed the MinGW compiler for C and C++ as the website told me to. At first there was bunch of problems, iostream not found, std namespace not recignized, i fixed all that. So in my coding screen everything looks fine. But when I try to build it, "mkdir" crashes. "crash" as in a box pops up saying "mkdir.exe has encountered a problem and needs to close. We are sorry for the inconvenience."
This is the console output:
| Code: |
"/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/c/Documents and Settings/Li.LI_DELLXP_GX280/My Documents/NetBeansProjects/InputOutput_1'
"/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/inputoutput_1.exe
make[2]: Entering directory `/c/Documents and Settings/Li.LI_DELLXP_GX280/My Documents/NetBeansProjects/InputOutput_1'
mkdir -p build/Debug/MinGW-Windows/src
0 [main] mkdir 1288 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
make[2]: Leaving directory `/c/Documents and Settings/Li.LI_DELLXP_GX280/My Documents/NetBeansProjects/InputOutput_1'
make[1]: Leaving directory `/c/Documents and Settings/Li.LI_DELLXP_GX280/My Documents/NetBeansProjects/InputOutput_1'
make[2]: *** [build/Debug/MinGW-Windows/src/io.o] Error 5
make[1]: *** [.build-conf] Error 2
make: *** [.build-impl] Error 2
BUILD FAILED (exit value 2, total time: 14s)
|
mkdir crashes after the line "0 [main] mkdir 1288 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump".
I've searched around but couldn't find the problem with this. If anyone knows what's going on please help me.
P.S. The program I tried to run is the Welcome example project that comes with the IDE.
|
|
| Back to top |
|
 |
fsoares
Joined: 14 Dec 2010 Posts: 1
|
Posted: Tue Dec 14, 2010 11:39 pm Post subject: |
|
|
I'm having the same problem using Windows XP SP3. If anyone can, please help.
The attachment is my C/C++ options tab.
Best regards!
| Description: |
|
| Filesize: |
71.64 KB |
| Viewed: |
3416 Time(s) |

|
|
|
| Back to top |
|
 |
gdepuydt
Joined: 08 Dec 2009 Posts: 5
|
Posted: Wed Dec 15, 2010 11:34 am Post subject: |
|
|
| I think you should install the msys bins seperately. The msys files distributed with the MinGW automated install are bogus.
|
|
| Back to top |
|
 |
shima
Joined: 25 Mar 2012 Posts: 10
|
Posted: Sun Mar 25, 2012 8:01 am Post subject: mkdir.exe |
|
|
hi I have problem with netbeans 7.1 when I compile program in it one error occurs "mkdir.exe stopped working" and 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 4392 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: 8s)
|
|
| Back to top |
|
 |
Joseph Areeda Posted via mailing list.
|
Posted: Sun Mar 25, 2012 2:28 pm Post subject: mkdir Crashes. |
|
|
I don't use minGW so this is more of a hint.
It looks like you are trying to build a project in the c:\program
files\NetBeans 7.1.1 directory
Windows will stop you from doing that unless you run with administrator
privileges which I wouldn't do.
I usually put my Windows Projects in their own top level folder call
NetBeansProjects but they can go anywhere except a system folder.
Joe
On 03/25/2012 01:02 AM, shima wrote:
| Quote: | hi I have problem with netbeans 7.1 when I compile program in it one error occurs "mkdir.exe stopped working" and 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 4392 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: 8s)
|
|
|
| Back to top |
|
 |
shima
Joined: 25 Mar 2012 Posts: 10
|
Posted: Mon Mar 26, 2012 8:26 pm Post subject: Re: mkdir Crashes. |
|
|
Thank you so much for your help
I install netbeans in D Drive and I put my window project in NetBeansProject after I run two output appear
(Build,Run) include:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/d/netbeans/MMMM'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/mmmm.exe
make[2]: Entering directory `/d/netbeans/MMMM'
make[2]: `dist/Debug/MinGW-Windows/mmmm.exe' is up to date.
make[2]: Leaving directory `/d/netbeans/MMMM'
make[1]: Leaving directory `/d/netbeans/MMMM'
BUILD SUCCESSFUL (total time: 1s)
another is (Run) include:
RUN FAILED (exit value -1,073,741,819, total time: 3s)
after them again:"mmmm.exe stopped working" appear
| Joseph Areeda wrote: | I don't use minGW so this is more of a hint.
It looks like you are trying to build a project in the c:\program
files\NetBeans 7.1.1 directory
Windows will stop you from doing that unless you run with administrator
privileges which I wouldn't do.
I usually put my Windows Projects in their own top level folder call
NetBeansProjects but they can go anywhere except a system folder.
Joe
On 03/25/2012 01:02 AM, shima wrote:
| Quote: | hi I have problem with netbeans 7.1 when I compile program in it one error occurs "mkdir.exe stopped working" and 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 4392 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: 8s)
|
|
|
|
| Back to top |
|
 |
shima
Joined: 25 Mar 2012 Posts: 10
|
Posted: Mon Mar 26, 2012 8:34 pm Post subject: Re: mkdir Crashes. |
|
|
Thank you so much for your help
I install netbeans in D Drive and I put my window project in NetBeansProject after I run two output appear
(Build,Run) include:
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory `/d/netbeans/MMMM'
"/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/mmmm.exe
make[2]: Entering directory `/d/netbeans/MMMM'
make[2]: `dist/Debug/MinGW-Windows/mmmm.exe' is up to date.
make[2]: Leaving directory `/d/netbeans/MMMM'
make[1]: Leaving directory `/d/netbeans/MMMM'
BUILD SUCCESSFUL (total time: 1s)
another is (Run) include:
RUN FAILED (exit value -1,073,741,819, total time: 3s)
after them again:"mmmm.exe stopped working" appear
| Joseph Areeda wrote: | I don't use minGW so this is more of a hint.
It looks like you are trying to build a project in the c:\program
files\NetBeans 7.1.1 directory
Windows will stop you from doing that unless you run with administrator
privileges which I wouldn't do.
I usually put my Windows Projects in their own top level folder call
NetBeansProjects but they can go anywhere except a system folder.
Joe
On 03/25/2012 01:02 AM, shima wrote:
| Quote: | hi I have problem with netbeans 7.1 when I compile program in it one error occurs "mkdir.exe stopped working" and 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 4392 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: 8s)
|
|
|
|
| Back to top |
|
 |
|