Note that there are some explanatory texts on larger screens.

plurals
  1. PONetbeans C/C not compiling
    primarykey
    data
    text
    <p>I installed the <strong>NetBeans</strong> IDE 7.3.1 almost a week ago and still haven't been able to get it to compile anything.<br> I'm using the <strong>Cygwin</strong>'s compiler for C/C++, and I get the following error message for a simple <em>"Hello World"</em> program:</p> <pre><code>"/usr/bin/make" -f nbproject/Makefile-Debug.mk QMAKE= SUBPROJECTS= .build-conf make[1]: Entering directory `/cygdrive/c/Users/CaptFuzzyboots/Documents/NetBeansProjects/Hello World' "/usr/bin/make" -f nbproject/Makefile-Debug.mk dist/Debug/Cygwin_1-Windows/hello_world.exe make[2]: Entering directory `/cygdrive/c/Users/CaptFuzzyboots/Documents/NetBeansProjects/Hello World' mkdir -p build/Debug/Cygwin_1-Windows rm -f build/Debug/Cygwin_1-Windows/main.o.d gcc -c -g -MMD -MP -MF build/Debug/Cygwin_1-Windows/main.o.d -o build/Debug/Cygwin_1-Windows/main.o main.c make[2]: gcc: Command not found nbproject/Makefile-Debug.mk:66: recipe for target `build/Debug/Cygwin_1-Windows/main.o' failed make[2]: *** [build/Debug/Cygwin_1-Windows/main.o] Error 127 make[2]: Leaving directory `/cygdrive/c/Users/CaptFuzzyboots/Documents/NetBeansProjects/Hello World' nbproject/Makefile-Debug.mk:59: recipe for target `.build-conf' failed make[1]: *** [.build-conf] Error 2 make[1]: Leaving directory `/cygdrive/c/Users/CaptFuzzyboots/Documents/NetBeansProjects/Hello World' nbproject/Makefile-impl.mk:39: recipe for target `.build-impl' failed make: *** [.build-impl] Error 2 BUILD FAILED (exit value 2, total time: 472ms) </code></pre> <hr> <h2>EDIT</h2> <p><strong>I fixed this</strong> by just making a new toolkit and adding the base directory as Cygwin -> bin. </p> <p>The problem now is that I keep getting</p> <blockquote> <p>Unable to start pty process</p> </blockquote>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload