NetBeans Setup

adorableautomaticΛογισμικό & κατασκευή λογ/κού

15 Αυγ 2012 (πριν από 5 χρόνια)

501 εμφανίσεις

Setting Up NetBeans for Windows (Using Cygwin)
This is a setup method for NetBeans under the Windows Operating System using Cygwin for

compilers.
1.
Download NetBeans (Google search for NetBeans or go to
www.netbeans.org
)
2.
Download Cygwin (Google search for Cygwin or
www.cygwin.com
)
3.
Install NetBeans.
4.
Close down NetBeans and run the setup.exe for Cygwin.
5.
Click next until you get to the Setup Packages window.
6.
Here we need to find 4 packages total. There may be a search bar in the upper left of the

window. Just type in the next lines one a time into it:
1.
gcc-core: C compiler
2.
gcc-g++: C++ compiler
3.
gdb: The GNU Debugger
4.
make: The GNU version of the 'make' utility
Make sure that both of the boxes associated with the lines is marked with an X.
After you find all 4 and make sure that the X's are there, click next and finish installing.
7.
We need to now edit the Environment Variables. To do this you do: Start → Control Panel →

double click System.
8.
Select the Advanced Tab or Button.
9.
Under System click the Environment Variables button.
10.
Under the System Variables panel (Bottom one usually), scroll down until you see under the

Variable heading “Path”. Click that and then the Edit button.
11.
BE VERY CAREFUL THAT YOU DO NOT DELETE ANYTHING IN THERE! All we want

to do is append C:\cygwin\bin to the large list of variables. To do this, go to the end and place a

semicolon (;) there. After that, type in C:\cygwin\bin. Cygwin defaults to install to

C:\cygwin\bin. You need to make sure that where you installed Cygwin is how you put it into

the Environment Variables.
12.
Open NetBeans.
13.
Go to Tools → Options. Click on the C/C++ tab at the top.
14.
On the left side is the Tool Collection panel. Click on Cygwin and click the Ok button.
15.
You are now ready to use NetBeans. Have fun and Enjoy!