Problema compialzione con NetBeans

di il
1 risposte

Problema compialzione con NetBeans

Poco fa ho deciso di "trasferirmi" da Code::Blocks a NetBeans per scrivere e compilare in c/c++.

Con C::B mai nessun problema.
Con NetBeans si rifiuta di compilare !

sorgente
/* 
 * File:   main.cpp
 * Author: User1
 *
 * Created on 12 settembre 2014, 18.40
 */

#include <stdio.h>
#include <cstdlib>

using namespace std;

/*
 * 
 */
int main(int argc, char** argv) {

    printf("ciao");
    
    return 0;
}
output dalla console di NetBeans
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make.exe[1]: Entering directory `/c/Users/User1/Desktop/CppApplication_1'
"/C/MinGW/msys/1.0/bin/make.exe" -f nbproject/Makefile-Debug.mk dist/Debug/MinGW-Windows/cppapplication_1.exe
make.exe[2]: Entering directory `/c/Users/User1/Desktop/CppApplication_1'
mkdir -p build/Debug/MinGW-Windows
0 [main] mkdir 2988 open_stackdumpfile: Dumping stack trace to mkdir.exe.stackdump
make.exe[2]: *** [build/Debug/MinGW-Windows/main.o] Error 5
make.exe[2]: Leaving directory `/c/Users/User1/Desktop/CppApplication_1'
make.exe[1]: *** [.build-conf] Error 2
make.exe[1]: Leaving directory `/c/Users/User1/Desktop/CppApplication_1'
make.exe": *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 5s)
La cartella " -p build/Debug/MinGW-Windows" è stata creata con successo

mkdir.exe.stackdump
MSYS-1.0.10 Build:2004-03-15 07:17
Exception: STATUS_ACCESS_VIOLATION at eip=71009181
eax=0001B008 ebx=60EA3144 ecx=004A1C8A edx=000000EC esi=00000000 edi=60EA00D4
ebp=0028FD44 esp=0028FD20 program=c:\msys\1.0\bin\mkdir.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028FD44 71009181 (60EA00D4, 000000EC, 0028FE34, 710048E1)
0028FE34 71004A74 (00000000, 00000000, 00000000, 00000000)
0028FF04 710051B1 (0040152C, 00000000, 00000000, 00000000)
0028FF24 7100581C (00000000, 00000000, 00000000, 00000000)
0028FF54 00407018 (0040152C, 00000000, 00000000, 00000000)
0028FF84 0040103D (7FFDE000, 0028FFD4, 7785BE99, 7FFDE000)
0028FF90 774A86E3 (7FFDE000, 1EAF3D1E, 00000000, 00000000)
0028FFD4 7785BE99 (00401000, 7FFDE000, FFFFFFFF, 778D1E8B)
0028FFEC 7785BE6C (00401000, 7FFDE000, 00000000, 78746341)
End of stack trace
rm.exe.stackdump
MSYS-1.0.10 Build:2004-03-15 07:17
Exception: STATUS_ACCESS_VIOLATION at eip=71009181
eax=0001B008 ebx=60EA163C ecx=008A1C78 edx=0000010C esi=00000000 edi=60EA00D4
ebp=0028FD44 esp=0028FD20 program=c:\msys\1.0\bin\rm.exe
cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
0028FD44 71009181 (60EA00D4, 0000010C, 0028FE34, 710048E1)
0028FE34 71004A74 (00000000, 00000000, 00000000, 00000000)
0028FF04 710051B1 (004016E4, 00000000, 00000000, 00000000)
0028FF24 7100581C (00000000, 00000000, 00000000, 00000000)
0028FF54 0040F2C8 (004016E4, 00000000, 00000000, 00000000)
0028FF84 0040103D (7FFDE000, 0028FFD4, 7785BE99, 7FFDE000)
0028FF90 774A86E3 (7FFDE000, 15F0F0F1, 00000000, 00000000)
0028FFD4 7785BE99 (00401000, 7FFDE000, FFFFFFFF, 778D1E8B)
0028FFEC 7785BE6C (00401000, 7FFDE000, 00000000, 78746341)
End of stack trace

Qualche idea sulla causa ( e magari la soluzione ) ?
Servono altre informazioni?

1 Risposte

  • Re: Problema compialzione con NetBeans

    Non conosco netbeans ma scrivi codice c++ per windows e non usi vs express?????¿
    Se ti gira netbeans visual studio vola...
Devi accedere o registrarti per scrivere nel forum
1 risposte