Thread: Help with Eclipse IDE

  1. #1
    Registered User
    Join Date
    Feb 2012
    Posts
    116

    Help with Eclipse IDE

    Hi guys, I am really rusty at C programming and looking to restart my interest in programming.

    My work laptop wont let me download visual studios, I get some error that says encryption threshold has been reached when I try to install it, from the work virus checker.

    So i thought I would look into some other favourite IDEs and saw Eclypse was the second most widely used.

    I tried a basic hello world program just to get the ball rolling and get a feel for how to run a programme before I start getting into making anything more interesting, but the program won't run.

    Can anyone figure out what the error means and why the program wont run?

    Help with Eclipse IDE-eclypsehelloworldissue-jpg
    Last edited by David_Baratheon; 01-17-2022 at 01:44 PM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,675
    Eclipse is just an IDE.
    It doesn't come with a compiler, hence the "g++ not found in PATH" messages.

    If you want an all-in-one complete package, try code::blocks.
    Binary releases - Code::Blocks and get codeblocks-20.03mingw-setup.exe
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    Feb 2012
    Posts
    116
    How can I install the compiler?

  4. #4
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,675
    codeblocks-20.03mingw-setup.exe is an all-in-one package.
    You just install it, and you get the compiler, debugger, editor all wrapped up for you.

    There is nothing else needed to start writing code.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  5. #5
    Registered User
    Join Date
    Feb 2012
    Posts
    116
    Ok i will give blocks a go then, thanks.

    Can it handle python also?

  6. #6
    Registered User
    Join Date
    May 2009
    Posts
    4,181
    Quote Originally Posted by David_Baratheon View Post
    Ok i will give blocks a go then, thanks.

    Can it handle python also?
    There is a old Python Plugin that you likely will need to build in order to use; I have no idea whether the plugin is very good.

    Tim S.
    "...a computer is a stupid machine with the ability to do incredibly smart things, while computer programmers are smart people with the ability to do incredibly stupid things. They are,in short, a perfect match.." Bill Bryson

  7. #7
    Registered User
    Join Date
    Feb 2012
    Posts
    116
    Ok I have installed CODE::BLOCKS now and did the version with MINGW so that I have a GCC compiler installed on my machine also.

    So How would I compile code in eclipse using the compiler I have just installed? Would be good to see how to "link" an IDE to a compiler if it didn't come pre-installed with one.

  8. #8
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,675
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Eclipse for C++
    By KansaiRobot in forum C++ Programming
    Replies: 1
    Last Post: 03-16-2016, 07:19 PM
  2. eclipse
    By Naama Levi in forum C Programming
    Replies: 2
    Last Post: 06-02-2015, 06:52 AM
  3. Eclipse with Ubuntu
    By Elvio Esposito in forum Linux Programming
    Replies: 2
    Last Post: 07-14-2013, 11:06 PM
  4. editing in eclipse
    By MK27 in forum Tech Board
    Replies: 4
    Last Post: 01-04-2012, 10:13 AM
  5. eclipse CDT and boost
    By csonx_p in forum C++ Programming
    Replies: 0
    Last Post: 12-17-2009, 01:41 PM

Tags for this Thread