Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Hello world 6 errors(Programming beginner, HELP!!)
icon5.gif  Hello world 6 errors [message #1067092] Fri, 05 July 2013 18:56 Go to next message
kenzie campbell is currently offline kenzie campbellFriend
Messages: 1
Registered: July 2013
Junior Member
index.php/fa/15489/0/ I am currently enrolled in a beginners programing online class. Eclipse was recommended by a classmate. However as I set up my first project (Hello world), 6 errors appears within the lines even though it was the template which I would have thought wouldn't have errors. How do i fix it?index.php/fa/15489/0/
Re: Hello world 6 errors [message #1067096 is a reply to message #1067092] Fri, 05 July 2013 19:50 Go to previous messageGo to next message
Luuk 34 is currently offline Luuk 34Friend
Messages: 13
Registered: November 2012
Junior Member
On 05-07-2013 21:14, kenzie campbell wrote:
> I am currently enrolled in a beginners programing online class. Eclipse was recommended by a classmate. However as I set up my first project (Hello world), 6 errors appears within the lines even though it was the template which I would have thought wouldn't have errors. How do i fix it?
>


The first two errors:
Program 'g++' not found in path
Prorgram 'gcc' not found in path

Should be solvable real simple .......

I you cannot solve that youself, you might not be ready to take a
"beginners programing online class"
Re: Hello world 6 errors [message #1067167 is a reply to message #1067092] Sun, 07 July 2013 03:51 Go to previous messageGo to next message
Russell Bateman is currently offline Russell BatemanFriend
Messages: 3798
Registered: July 2009
Location: Provo, Utah, USA
Senior Member

On 07/05/2013 01:14 PM, kenzie campbell wrote:
> I am currently enrolled in a beginners programing online class. Eclipse was recommended by a classmate. However as I set up my first project (Hello world), 6 errors appears within the lines even though it was the template which I would have thought wouldn't have errors. How do i fix it?

Reading the sticky posts at the top of this forum would have saved you
some time. You should ask questions about Eclipse C/C++ development in
the Eclipse CDT forum.
Re: Hello world 6 errors [message #1067799 is a reply to message #1067096] Wed, 10 July 2013 15:45 Go to previous messageGo to next message
Clay Codner is currently offline Clay CodnerFriend
Messages: 6
Registered: July 2013
Junior Member
Kenzie,

The problem you are having is because Eclipse can't find gcc, which is the compiler. Unfortunately, the problem could have several different sources. We need more information on your setup. Are you on Windows? Are you using MinGW or something else? Everything about your installation.

P.S. You will find a link on this website that allows you to ignore all messages from people like Luuk.
Re: Hello world 6 errors [message #1067809 is a reply to message #1067799] Wed, 10 July 2013 16:28 Go to previous messageGo to next message
Denis Roy is currently offline Denis RoyFriend
Messages: 484
Registered: October 2004
Location: Ottawa, Ontario, Canada
Senior Member

Clay Codner wrote on Wed, 10 July 2013 11:45
Kenzie,

The problem you are having is because Eclipse can't find gcc, which is the compiler. Unfortunately, the problem could have several different sources.



Not really -- calling commands like "make" without specifying a full path to them will always lead to an error, unless they are in the path. This is computers 101 and has nothing to do with programming or Eclipse, which is why there are responses that seem to be "rude".

A quick Google of the error message leads to some obvious solutions:

https://www.google.ca/webhp?sourceid=chrome-instant&ion=1&ie=UTF-8#sclient=psy-ab&q=program%20make%20not%20found%20in%20path


Denis Roy
Eclipse Webmaster -- webmaster@eclipse.org
Re: Hello world 6 errors [message #1067814 is a reply to message #1067809] Wed, 10 July 2013 16:50 Go to previous message
Clay Codner is currently offline Clay CodnerFriend
Messages: 6
Registered: July 2013
Junior Member
I agree. Either something is wrong with her path variable, or she needs to specify the whole path. The reason I found one of the responses rude is because she admits she is taking programming 101. I suspect she might not have learned about the path variable yet.
Previous Topic:Toolchain integration in CDT(Build artifact extension does not get changed)
Next Topic:Call to ITranslationUnit.getAST() gets interrupted and error is logged
Goto Forum:
  


Current Time: Mon Sep 09 11:55:31 GMT 2024

Powered by FUDForum. Page generated in 0.04511 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top