Thread: Issues with Installing Eclipse

  1. #1
    Registered User
    Join Date
    Apr 2009
    Posts
    3

    Issues with Installing Eclipse

    I've been trying to install this program for hours... and it still doesn't seem to work. Every tutorial I find assume that you are extremely knowledgeable of how to work eclipses' interface and all of these other things... despite them being beginners tutorials...

    Well my issue is that whenever I try to run the simple Hello World script in Eclipse I get the error:

    "Launch Failed: Binary not found"

    code:
    Code:
    #include <iostream>
    
    using namespace std;
    
    int main(int argc, char *argv[])
    {
    cout << "Hello World" << endl;
    return 0;
    }// end main

    I did everything the tutorials I did find said to do:
    + I installed Eclipse 3.4.2 (ganymede)
    + I added MinGW\bin to PATH
    + I made sure that the CDT plugin was installed
    + I installed MSYS\bin 1.0

    Is there something I'm doing wrong here?

    I haven't even began to learn to program w/ c++ yet because I can never get the IDE to work.
    + I've also tried building the project before I run it... that doesn't help either...
    and most of the time the progress for the building doesn't appear.
    Last edited by nexusgen; 04-13-2009 at 10:18 AM.

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    28,413
    Just to check: besides adding MinGW directory to path, did you add MinGW\bin to the path? That is where the compiler executable resides.
    Quote Originally Posted by Bjarne Stroustrup (2000-10-14)
    I get maybe two dozen requests for help with some sort of programming or design problem every day. Most have more sense than to send me hundreds of lines of code. If they do, I ask them to find the smallest example that exhibits the problem and send me that. Mostly, they then find the error themselves. "Finding the smallest program that demonstrates the error" is a powerful debugging tool.
    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User
    Join Date
    Apr 2009
    Posts
    3
    oops my bad I meant the bin... thats what i did add.

  4. #4
    Registered User
    Join Date
    Apr 2008
    Posts
    890
    Eclipse is a bloated, piggy application that was designed for use with Java software development. If you must use an IDE, why not something designed for C++, like Code::Blocks?

  5. #5
    Registered User
    Join Date
    Apr 2009
    Posts
    3
    thanks... i'll try that out =)

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Profiling for c code in eclipse
    By hai12345 in forum C Programming
    Replies: 2
    Last Post: 10-10-2008, 04:46 PM
  2. Configuring Eclipse for C programming
    By Moony in forum Tech Board
    Replies: 2
    Last Post: 07-12-2007, 12:53 AM
  3. Replies: 1
    Last Post: 04-26-2007, 08:04 PM
  4. Eclipse - Palm - undefined reference to - Cygwin
    By gustavolaufer in forum C++ Programming
    Replies: 0
    Last Post: 03-02-2006, 07:33 AM
  5. Trouble installing Qt3 from book Cd
    By mrcheesypants in forum Tech Board
    Replies: 2
    Last Post: 10-12-2005, 06:57 PM