Installation steps:
- NetBeans IDE 8.0
- C/C++ plugin module
- Compiler and Tools
NetBeans IDE
From [1], you can choose which bundle (based on supported technologies) to download. The choices include:
- Java SE
- Java EE
- C/C++
- HTML5 & PHP
- All
C/C++ plugin module
The NetBeans IDE is a dynamic modular IDE, which means you can change it by adding and removing modules of the program. You can add functionality by installing plugin modules, or remove functionality by uninstalling plugin modules.
If your NetBeans IDE does not show a C/C++ project category when you select File > New Project, complete the following steps to add the C/C++ plugin module to the IDE.[2]
- If your network uses a proxy, choose Tools > Options > General in the IDE, select Manual Proxy Settings, enter the HTTP Proxy and Port for your proxy, and click OK.
- Choose Tools > Plugins.
- In the Plugins dialog box, click the Available Plugins tab, and scroll to the C/C++ category.
- Select the C/C++ checkbox and click Install to start the NetBeans IDE Installer.
- In the NetBeans IDE Installer, click Next.
- Read the license agreement, select the checkbox to accept the terms of the license agreement, and click Next.
- Click Install.
- After the installation completes, select either Restart IDE Now or Restart IDE Later and click Finish.
Compiler and Tools
The Netbeans C/C++ module requires a C compiler, C++ compiler, make utility, and gdb debugger. See [3] on the instructions for the platform of your development system. Here we will use Micorsoft Windows as our platform and use the tools provided in cygwin for the demonstration.
The NetBeans C/C++ module has been tested with the following compilers and tools from Cygwin.com. However, if your version is newer, it seems to work fine too.
Software or Resource | Version Tested | Description |
---|---|---|
cygwin1.dll | 1.7.7, 1.7.9 | Cygwin Linux-like environment for Windows |
gcc | 4.3.4 | Cygwin C compiler |
g++ | 4.3.4 | Cygwin C++ compiler |
gdb | 6.8 | Cygwin GNU debugger |
make | 3.81 | Cygwin make utility |
To download the compiler and tools you needed for C/C++ plugin, you can go to [4] and select one of the mirror sites.
Note that you could select the appropriate package to download by specifying your compiler name or tool name. If you select all packages to download, it will take hours.
In the figure, we have specified g++ in the Search field. Cygwin Setup was able to identify which package containing the interested product. For example, we have selected GNU Complier for the download.
After you have downloaded all packages that are needed for the C/C++ plugin module. You should follow the instructions in [2] to configure it. If you didn't set them up correctly, you will run into this "No Compiler" error.
Then just follow the provided instructions to fix the issue. For example, here is the tool collection we have in the environment:
As you can see, most of our tools are provided from the cygwin64 installation. But, you don't need to specify everything out of your cygwin64 installation. For example, we have chosen make.exe out of our MKS Toolkit installation (see [5]).
References
- Download NetBeans IDE
- Configuring NetBeans IDE 8.0 for C/C++/Fortran
- Installing and Setting Up the Compilers and Tools
- cygwin.com
- Tool Collection Notes
- Dependency checking requires support from your tool collection (make and compilers).
- It has been tested with the Oracle Solaris Studio tool collection and GNU tool collections including Cygwin and MinGW.
- Dependency checking works when Oracle Solaris Studio compilers are used together with Oracle Solaris make and when GNU compilers are used with GNU gmake. Mixing Oracle Solaris make with GNU compilers and vice versa is not supported.
- NetBeans Community Day at JavaOne 2014
- Netbeans: Is it possible to install mulltiple Netbeans for each different development need?
- NetBeans IDE 8.1 Download
- With installation of NetBeans 8.1, I need to change "Make Command" to use:
- C:\cygwin64\bin\bin\make.exe
- Eclipse CDT: Symbol 'cout' could not be resolved
- To resolve this issue in NetBeans, select
Project Properties -> Build -> C++ Compiler -> Additional Options
and add Use -std=c++11. - NetBeans invalid jdkhome specified fix
- Navigate to your NetBeans installation folder which by default should beC:\Program Files\NetBeans and look for the folder etc. Inside that folder should be a file with the name netbeans.conf. What you need to do is to open the file with your favorite text reader (notepad as an example) and look for the line that starts with netbeans_jdkhome=.
2 comments:
I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Netbeans, kindly contact us http://www.maxmunus.com/contact
MaxMunus Offer World Class Virtual Instructor led training on Netbeans. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
For Demo Contact us.
Nitesh Kumar
MaxMunus
E-mail: nitesh@maxmunus.com
Skype id: nitesh_maxmunus
Ph:(+91) 8553912023
http://www.maxmunus.com/
Web services are client and server applications that communicate over the World Wide Web’s (WWW) HyperText Transfer Protocol (HTTP). Web services provide a standard means of inter operating between software applications running on a variety of platforms and frameworks. Web Design Services
Post a Comment