Difference: InstallingNetbeansWithCppOnWindows (1 vs. 7)

Revision 72017-10-02 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

Install the Java SDK
Changed:
<
<
    • Download the SDK (Top of three red buttons)
>
>
    • Download the SDK (Top of three blue buttons)
 
    • Get the Windows x64 version: "jdk-8u101-oth-JPRXXXjdk-8u101-windows-x64.exe"
    • Click to install after downloaded

Install Netbeans

Revision 62017-08-25 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

Install the Java SDK
Changed:
<
<
    • Get the Windows x64 version: <a name="jdk-8u101-oth-JPRXXXjdk-8u101-windows-x64.exe"></a>jdk-8u101-windows-x64.exe
>
>
    • Get the Windows x64 version: "jdk-8u101-oth-JPRXXXjdk-8u101-windows-x64.exe"
 
    • Click to install after downloaded

Install Netbeans

Revision 52017-01-19 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

Changed:
<
<
  • If you do not already have the Java SDK on your computer you must install the Java SDK
>
>
Install the Java SDK
  • If you do not already have the Java SDK on your computer you must install the Java SDK
 
Changed:
<
<
    • Get the Windows x64 version: jdk-8u101-windows-x64.exe
>
>
    • Get the Windows x64 version: <a name="jdk-8u101-oth-JPRXXXjdk-8u101-windows-x64.exe"></a>jdk-8u101-windows-x64.exe
 
    • Click to install after downloaded

Added:
>
>
Install Netbeans
 
  • Download and install a version of NetBeans that includes C++ support: Netbeans downloads
    • Go to https://netbeans.org/
    • You need to download and install the version that includes C++ support.
    • Go to this Link and pick one of the two options below:
      1. Netbeans with C++ only (142 MB)
      2. Netbeans with C++ plus Java and more (263 MB) (Get this if you also what Java support)
Changed:
<
<
>
>
Install C++ GNU compilers
 
      1. Go to http://cygwin.com/
      2. Click on "Install Cygwin"
      3. Click on setup-x86_64.exe to get the 64 bit version
Line: 25 to 27
 
        • gdb
        • make
      1. Click on next to install the compiler.
Changed:
<
<
  • Try it out:
>
>
Try it out
 
    1. Open Netbeans
    2. File/New Project
    3. Pick "C/C++" on left, "C/C++" Application on right, hit next
Line: 48 to 50
 

Comments

Deleted:
<
<
<--/commentPlugin-->
 \ No newline at end of file
Added:
>
>

<--/commentPlugin-->
 \ No newline at end of file

Revision 42016-11-14 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

  • If you do not already have the Java SDK on your computer you must install the Java SDK
Line: 15 to 15
 
Changed:
<
<
      1. Cllick on "Install Cygwin"
>
>
      1. Click on "Install Cygwin"
 
      1. Click on setup-x86_64.exe to get the 64 bit version
      2. Download and run the installer
      3. Click on the "Devel" to open

Revision 32016-08-29 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

Added:
>
>
 

Revision 22016-08-29 - JimSkon

Line: 1 to 1
 
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

Changed:
<
<
  • Download and install a version of NetBeans that includes C++ support: Netbeans downloads
    • Go to https://netbeans.org/
    • You need to download and install the version that includes C++ support.
    • Go to this Link and pick one of the two options below:
      1. Netbeans with C++ only (142 MB)
      2. Netbeans with C++ plus Java and more (263 MB) (Get this if you also what Java support)
  • Install xcode for Mac OS
    • Open Mac OS App Start
    • Search for and install Xcode 7
>
>
  • Download and install a version of NetBeans that includes C++ support: Netbeans downloads
    • Go to https://netbeans.org/
    • You need to download and install the version that includes C++ support.
    • Go to this Link and pick one of the two options below:
      1. Netbeans with C++ only (142 MB)
      2. Netbeans with C++ plus Java and more (263 MB) (Get this if you also what Java support)
 
Changed:
<
<
      1. Go to http://cygwin.com/
>
>
      1. Go to http://cygwin.com/
 
      1. Cllick on "Install Cygwin"
      2. Click on setup-x86_64.exe to get the 64 bit version
      3. Download and run the installer
Changed:
<
<
      1. The default option should be enough, click install (will take about 100mb and about an hour minutes to install)
      2. Follow the instructions in the NetBeans instructions above to set up the environment variable for "path" to include the compiler

>
>
      1. Click on the "Devel" to open
      2. Click on the "Skip" for each of the following to change itto install:
        • gcc-core
        • gcc-c++
        • gdb
        • make
      3. Click on next to install the compiler.
  • Try it out:
    1. Open Netbeans
    2. File/New Project
    3. Pick "C/C++" on left, "C/C++" Application on right, hit next
    4. Give name "hello"
    5. Select a project location(your H drive is best), hit finish
    6. Open source folder, main.cpp
    7. Paste in and run:

Hello world

<-- SyntaxHighlightingPlugin -->
#include <iostream>
using namespace std;
int main()
{
  cout << "Hello, world." << endl;
}
<-- end SyntaxHighlightingPlugin -->
 -- Jim Skon - 2016-08-09

Comments

Revision 12016-08-22 - JimSkon

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="WebHome"

Installing Netbeans With C++ on Windows

  • Download and install a version of NetBeans that includes C++ support: Netbeans downloads
    • Go to https://netbeans.org/
    • You need to download and install the version that includes C++ support.
    • Go to this Link and pick one of the two options below:
      1. Netbeans with C++ only (142 MB)
      2. Netbeans with C++ plus Java and more (263 MB) (Get this if you also what Java support)
  • Install xcode for Mac OS
    • Open Mac OS App Start
    • Search for and install Xcode 7
  • Install C++ GNU compilers
    • Complete official instructions here: NetBeans for C++ install

      1. Go to http://cygwin.com/
      2. Cllick on "Install Cygwin"
      3. Click on setup-x86_64.exe to get the 64 bit version
      4. Download and run the installer
      5. The default option should be enough, click install (will take about 100mb and about an hour minutes to install)
      6. Follow the instructions in the NetBeans instructions above to set up the environment variable for "path" to include the compiler

-- Jim Skon - 2016-08-09

Comments

<--/commentPlugin-->
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback