Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 7 of 7

Thread: Help with eclipse?

  1. #1
    Junior Member
    Join Date
    Sep 2011
    Location
    michigan
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help with eclipse?

    Hi every time I try to start a new project in eclipse, when i get it all set up it returns 4 warnings and an error.
    They read: Description Resource Path Location Type
    1. Program "make" is not found in PATH New C++ C/C++ Problem
    2. Error launching external scanner info generator (g++ -E -P -v -dD /Users/Steven/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.cpp) New C++ [Discovery Options] page in project properties C/C++ Problem
    3. Error launching external scanner info generator (gcc -E -P -v -dD /Users/Steven/Documents/workspace/.metadata/.plugins/org.eclipse.cdt.make.core/specs.c) New C++ [Discovery Options] page in project properties C/C++ Problem

    4. Program 'g++' is not found in $PATH New C++ [Discovery Options] page in project properties C/C++ Problem
    5. Program 'gcc' is not found in $PATH New C++ [Discovery Options] page in project properties C/C++ Problem


    What is wrong? I tried deleting eclipse entirely and reinstalling it and it did not fix the issue. Is it something I did or is the program missing something? Also when I try to tell it to run the new project just to see what happens it says Launch Failed. Binary not found. Any clues would be greatly appreciated. I'm really lost as to whats going on and I'm trying to do some practice programming before my exam tomorrow but I can't with the program itself not working properly.


  2. #2
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Help with eclipse?

    How are you setting up Eclipse? Do you have a build system installed (Cygwin or Msys)?

    Did you add the location of the gcc compiler to your PATH environment variable?

  3. #3
    Junior Member
    Join Date
    Sep 2011
    Location
    michigan
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with eclipse?

    I would guess that i don't or I accidentally erased it. Which one should I download and where can i find it?

  4. #4
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Help with eclipse?

    Either works. I have both installed, but when I build C++ programs in windows with Eclipse (very rare now that I have Visual Studio) I tend to use MSys.

    MSYS | MinGW

  5. #5
    Junior Member
    Join Date
    Sep 2011
    Location
    michigan
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Help with eclipse?

    i'm using a mac. is there a mac version?

  6. #6
    Super Moderator helloworld922's Avatar
    Join Date
    Jun 2009
    Posts
    2,895
    Thanks
    23
    Thanked 619 Times in 561 Posts
    Blog Entries
    18

    Default Re: Help with eclipse?

    oh, I didn't realize that. Umm, I'm not sure you need either (both are meant for windows). If I remember correctly, macs should be able to install the gcc compiler directly, but don't quote me on this since I don't use macs and have never developed for them.

  7. #7
    Administrator copeg's Avatar
    Join Date
    Oct 2009
    Location
    US
    Posts
    5,318
    Thanks
    181
    Thanked 833 Times in 772 Posts
    Blog Entries
    5

    Default Re: Help with eclipse?

    I can't add much beyond a comment on gcc and mac: gcc is installed by default on mac. Go to the terminal and type gcc - should be on the Path already.

Similar Threads

  1. Replies: 24
    Last Post: August 4th, 2014, 12:49 PM
  2. Beginners Eclipse Tutorial. How to run first java application on Eclipse?
    By JavaPF in forum Java Code Snippets and Tutorials
    Replies: 13
    Last Post: June 24th, 2011, 12:26 AM
  3. Help with Eclipse
    By Graham Montgomery in forum Java IDEs
    Replies: 1
    Last Post: April 29th, 2011, 09:07 AM
  4. Eclipse goes beyond me a bit
    By MagicMojo in forum What's Wrong With My Code?
    Replies: 5
    Last Post: March 9th, 2011, 10:05 AM