Install NetBeans IDE & Configure C + + compilation environment under Windows

Source: Internet
Author: User
Tags netbeans gdb debugger

NetBeans IDE installation requires JAVASDK to be installed first.

JAVASDK and NetBeans bundled packages can be downloaded directly on the Oracle Web site:


Add the methods supported by C + + and how to install the compilation tool:

Turn from: http://blog.163.com/wodis@126/blog/static/1115955922009101244957740/

If you have installed the NetBeans IDE but do not include C + + support, complete the following steps to add C + + support for the IDE. Choose Tools > Plugins from the main menu. In the Plugins dialog box, click the Available Plugins tab, and then scroll to the C + + category. Select the "C + +" check box. Click Install.


Under the Windows platform, the Netbeans IDE does not have a C + + compiler by default, so you must manually install the C + + compiler, make utility, and the GDB debugger.


Http://www.netbeans.org/community/releases/60/cpp-setup-instructions_zh_CN.html, the official provided C + + configuration method,

We know that the NetBeans C + + package can be used in conjunction with the following compilers and tools:

Cygwin 1.5.21
Cygwin gcc-core (C compiler) 3.4.x
Cygwin gcc-c++ (c + + Compiler 3.4.x
Cygwin gdb (GNU debugger) 6.5.50
Cygwin make 3.80
personal prefer to use MinGW3.10 (15M or so), after installation, the default installation directory C:\MinGW\ Bin is added to "My Computer-> the right key properties-> environment variable-> system variable path". The

Restart Netbeans,netbeans will automatically load the MinGW compiler, run discover missing make.exe files, and, after viewing, discover MinGW default installation C:\MinGW\ Bin under only Mingw32-make.exe, no make.exe. Bold attempt to rename Mingw32-make.exe to Make.exe, run the prompt "Mingw32-make not compatible, use Msys make".


Then download MSYS1.0 (around 2.6M) to add the default installation directory "C:\msys\1.0\bin\make.exe" to the path of the make command.


To add a blank C + + application. Compile to run, finally appeared the familiar interface.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.