9
Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your system 2. Install CDT plugin (C/C++ development toolkit)

Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

  • Upload
    others

  • View
    11

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

Eclipse IDE Setup for Windows (CS 261)

1. Install Eclipse for your system 2. Install CDT plugin (C/C++

development toolkit)

Page 2: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

Go to programming languages and select C/C++ Development toolkit

Page 3: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

3. Download and install MinGW(Minimalist GNU for Windows)-GNU compiler collection(GCC)

Page 4: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

4. Set up the environment variables – PATH variable for MinGW

5. Restart eclipse to complete all installations.

Page 5: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

6. Create a new makefile project with

existing code.

Page 6: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

7. Give a project name and the code location where your makefile and C code is present.

Page 7: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

8. Setup the Run configuration

Page 8: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

Open the makefile. We see the statement all: gcc -Wall -std=c99 -o a.out main.c This is the name of the C code name of executable

The name of the executable should match the C/C++ executable name in the run configuration.

Page 9: Eclipse IDE Setup for Windows (CS 261) 1. Install Eclipse for your …people.oregonstate.edu/~kumarp/CS261/Resources/Eclipse... · 2017-01-10 · Tips and Tricks... Report Bug or

9. Build and run the project to get output