Netbeans, otwieranie plików .cpp

0

Siemka,

ściągnąłem sobie folder z ćwiczeniami i chciałbym je odpalić w Netbeans. Stworzyłem nowy projekt, importowałem pliki .cpp, ale podczas budowania programu wyskakuje mi błąd:

cd 'C:\Users\norbs\Documents\NetBeansProjects\Bruce Eckel ćwiczenia'
C:\cygwin64\bin\make.exe -f Makefile CONF=Debug
"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf
make[1]: Entering directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/Bruce Eckel ćwiczenia'
"/usr/bin/make"  -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin-Windows/bruce_eckel__wiczenia.exe
make[2]: Entering directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/Bruce Eckel ćwiczenia'
make[2]: *** No rule to make target '../../../Desktop/cpp/C02/Hello.cpp', needed by 'build/Debug/Cygwin-Windows/_ext/14294f57/Hello.o'.  Stop.
make[2]: Leaving directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/Bruce Eckel ćwiczenia'
nbproject/Makefile-Debug.mk:71: recipe for target '.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/Bruce Eckel ćwiczenia'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 766ms)

Dlaczego?

0

Luźny strzał: nieodpowiednie znaki w ścieżce (spacje, diakrytyki).

0

Hm, zmieniłem nazwę i teraz błąd wygląda tak:

collect2: error: ld returned 1 exit status
nbproject/Makefile-Debug.mk:73: recipe for target 'dist/Debug/Cygwin-Windows/be.exe' failed
make[2]: *** [dist/Debug/Cygwin-Windows/be.exe] Error 1
make[2]: Leaving directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/BE'
nbproject/Makefile-Debug.mk:70: recipe for target '.build-conf' failed
make[1]: *** [.build-conf] Error 2
make[1]: Leaving directory '/cygdrive/c/Users/norbs/Documents/NetBeansProjects/BE'
nbproject/Makefile-impl.mk:39: recipe for target '.build-impl' failed
make: *** [.build-impl] Error 2

BUILD FAILED (exit value 2, total time: 7s)

1 użytkowników online, w tym zalogowanych: 0, gości: 1