NetBeans IDE for C/C++

concepcionsockSoftware and s/w Development

Aug 15, 2012 (5 years and 28 days ago)

735 views

NetBeans IDE for C/C++

Netbeans IDE 6.
9


Google: netbeans C/C++


NetBeans IDE 6.9 Features


http://netbeans.org/features/cpp/index.html


C and C++ Learning Trail


C and C++ Learning Trail


http://netbeans.org/kb/trails/cnd.html


C/C++ Projects Quick Start Tutorial


C/C++ Projects Quick Start Tutorial


http://netbeans.org/kb/docs/cnd/quickstart.htm

Requirements


Netbeans IDE 6.9 Installation Instructions


http://netbeans.org/community/releases/69/install.html


JDK


http://java.sun.com/javase/downloads/index.jsp


NetBeans IDE


http://netbeans.org/downloads/index.html


C/C++


compilers, make, gdb


http://netbeans.org/kb/docs/cnd/supported
-
tool
-
collections.html


JDK 6 with NetBeans 6.9.1

NetBeans IDE Download Bundles

C/C++ Tool Collections Tested with NetBeans IDE


Configuring the Netbeans IDE for C/C++/Fortran


http://netbeans.org/community/releases/69/cpp
-
setup
-
instructions.html#mingw


MinGW Compilers and Tools


MinGW Compilers and Tools


Log in to Windows using an account with "computer administrator"
privileges.


Download the self
-
extracting installer from
How To Install the MinGW (GCC)
Compiler Suite

on mingw.org or for convenience you can download from
this
direct link to MinGW
-
5.1.4.exe
.


http://sourceforge.net/projects/mingw/files/


Download mingw
-
get
-
inst
-
20110211.exe (575.4 KB)


Run the MinGW
-
5.1.4.exe installer in Windows.


In the MinGW installer, accept the defaults until you get to the Choose
Components page.


Select Components


On the Choose Components page, select the g++ compiler. The gcc
compiler is automatically included in the installation so it is not a selectable
component.


C++ Compiler


Do not select MinGW make, as you need to use the make from MSYS
instead, which is downloaded separately. Click Next.


Use the default C:
\
MinGW as the destination folder if possible to minimize
any potential difficulty with using the compilers from another location.


Click Install to install the MinGW tools, then click Next, then click Finish.

MinGW Compilers and Tools


Add the C:
\
MinGW
\
bin directory to your path, as described in
Environment Settings

in the MinGW wiki.


My Computer / Properties /
Environment Variables
/ Path / Edit

MinGW Compilers and Tools


See the installation instructions for MSYS at the
MinGW MSYS wiki
.
You only need to install the MSYS 1.0 files. You do not need to
install the DTK or the core files mentioned in the wiki page.


For convenience, you can download from this
direct link to MSYS
-
1.0.10.exe



http://sourceforge.net/projects/mingw/files/MSYS/BaseSystem/msys
-
core/msys
-
1.0.10/MSYS
-
1.0.10.exe/download


az új,
mingw
-
get
-
inst
-
20100909.exe
fájlhoz csak az MSYS
-
1.0.11.exe
jó!!!!


Make sure you are using a Windows account with "computer
administrator" privileges when you install MSYS. The NetBeans IDE
might have issues when you try to build and run projects later if
MSYS is installed under a limited user account.


Run the MSYS
-
1.0.10.exe installer and accept the defaults.


MinGW Compilers and Tools

MinGW Compilers and Tools


To install the gdb debugger, download from this
direct link to gdb
-
6.8
-
mingw
-
3.tar.bz2
. You must have a Windows zip utility such as
gzip, 7
-
zip, or WinZip to extract this gdb archive.


Unzip the gdb
-
6.8
-
mingw
-
3.tar.bz2 to your C:
\
MinGW directory so
that the gdb executable is installed into your C:
\
MinGW
\
bin directory.


See
Verifying the Installation

to verify that the tools were installed
correctly for the NetBeans IDE.