|
Re: Eclipse C/C++ help, gcc not found. [message #908498 is a reply to message #908235] |
Wed, 05 September 2012 13:30 |
|
On 9/4/2012 7:51 PM, Alex Gilbreath wrote:
> I saw the 'before you begin' section where you have to install MinGW for
> Eclipse to work correctly (Eclipse Juno). Both my C++ test project and C
> project have the following errors:
>
> Program "gcc" not found in PATH
> sh -c "autoreconf -i"
>
> and the C++ has the error
>
> Program "g++" not found in PATH
>
> Did I miss that you had to install something else? Did I have to
> manually add some PATH variable and I have no clue what the second error
> is saying. Can anyone tell me where I'm being stupid?
>
> Windows 7 64-bit.
Please read sticky posts at top of forum.
|
|
|
|
Re: Eclipse C/C++ help, gcc not found. [message #917013 is a reply to message #908498] |
Wed, 19 September 2012 18:31 |
josh schwartzbeck Messages: 1 Registered: September 2012 |
Junior Member |
|
|
Russell Bateman wrote on Wed, 05 September 2012 09:30On 9/4/2012 7:51 PM, Alex Gilbreath wrote:
> I saw the 'before you begin' section where you have to install MinGW for
> Eclipse to work correctly (Eclipse Juno). Both my C++ test project and C
> project have the following errors:
>
> Program "gcc" not found in PATH
> sh -c "autoreconf -i"
>
> and the C++ has the error
>
> Program "g++" not found in PATH
>
> Did I miss that you had to install something else? Did I have to
> manually add some PATH variable and I have no clue what the second error
> is saying. Can anyone tell me where I'm being stupid?
>
> Windows 7 64-bit.
Please read sticky posts at top of forum.
This post is among the top google search results for this question and like many of the top google search results involving software development, the answers tell the asker to look somewhere else. The diligent asker will take the advice and look at the sticky posts at the top of the forum as such:
Quote:sticky: Trouble with Android Development Tools (ADT)? READ THIS FIRST
Not Applicable
Quote:sticky: Trouble getting Eclipse to run? READ THIS FIRST
Advises to install the latest or correct architecture of the JVM.
Not Applicable
Quote:Announcement: New forum members, READ THIS FIRST.
Mentions forum etiquette and that C/C++ developers should look at another sticky post:
Quote:Problems with C/C++ in Eclipse? Read this.
states that C/C++ developers are welcome to the newcomer group but might get more help asking in the cdt specific group: http://www.eclipse.org/forums/eclipse.tools.cdt
(no stickies here)
Quote:Announcement: Linux + Eclipse users, read this!
Not Applicable (Running Windows 7, per original post)
Quote:sticky: Problems with C/C++ in Eclipse? Read this.
same as above
After spending the time to read through all the stickies, the newcomer trying to get their C/C++ environment working in eclipse has been told several times to look and ask somewhere else, specifically the CDT forums which have no stickies or instructions to get your eclipse project to recognize your gcc/g++ (even if you have it installed and it's in your PATH).
My point is that it would be hugely beneficial to the developer community as a whole if we were more helpful to each other and consider that answering someone's question directly will help many, many other people as well.
In my case, I found that the toolchain is generated when the project is created and if you don't have the tools installed before hand, you need to manually configure your project's toolchain or re-create the project. If you don't have gcc/g++ on Windows you can use the recommended MinGW installer at sourceforge. This forum won't allow me to link externally to MinGW or I would.
Edit: See also: http://wiki.eclipse.org/CDT/User/FAQ#Are_there_complete_HowTos_for_setting_up_the_CDT.3F
[Updated on: Wed, 19 September 2012 18:40] Report message to a moderator
|
|
|
Re: Eclipse C/C++ help, gcc not found. [message #917078 is a reply to message #917013] |
Wed, 19 September 2012 19:56 |
|
On 9/19/2012 12:31 PM, josh schwartzbeck wrote:
> Russell Bateman wrote on Wed, 05 September 2012 09:30
>> On 9/4/2012 7:51 PM, Alex Gilbreath wrote:
>> > I saw the 'before you begin' section where you have to install MinGW
>> for
>> > Eclipse to work correctly (Eclipse Juno). Both my C++ test project
>> and C
>> > project have the following errors:
>> >
>> > Program "gcc" not found in PATH
>> > sh -c "autoreconf -i"
>> >
>> > and the C++ has the error
>> >
>> > Program "g++" not found in PATH
>> >
>> > Did I miss that you had to install something else? Did I have to
>> > manually add some PATH variable and I have no clue what the second
>> error
>> > is saying. Can anyone tell me where I'm being stupid?
>> >
>> > Windows 7 64-bit.
>> Please read sticky posts at top of forum.
>
>
> This post is among the top google search results for this question and
> like many of the top google search results involving software
> development, the answers tell the asker to look somewhere else. The
> diligent asker will take the advice and look at the sticky posts at the
> top of the forum as such:
>
> Quote:
>> sticky: Trouble with Android Development Tools (ADT)? READ THIS FIRST
>
> Not Applicable
>
> Quote:
>> sticky: Trouble getting Eclipse to run? READ THIS FIRST
>
> Advises to install the latest or correct architecture of the JVM.
> Not Applicable
>
> Quote:
>> Announcement: New forum members, READ THIS FIRST.
>
> Mentions forum etiquette and that C/C++ developers should look at
> another sticky post:
> Quote:
>> Problems with C/C++ in Eclipse? Read this.
>
> states that C/C++ developers are welcome to the newcomer group but might
> get more help asking in the cdt specific group:
> http://www.eclipse.org/forums/eclipse.tools.cdt
> (no stickies here)
>
> Quote:
>> Announcement: Linux + Eclipse users, read this!
>
> Not Applicable (Running Windows 7, per original post)
>
> Quote:
>> sticky: Problems with C/C++ in Eclipse? Read this.
>
> same as above
>
> After spending the time to read through all the stickies, the newcomer
> trying to get their C/C++ environment working in eclipse has been told
> several times to look and ask somewhere else, specifically the CDT
> forums which have no stickies or instructions to get your eclipse
> project to recognize your gcc/g++ (even if you have it installed and
> it's in your PATH).
>
> My point is that it would be hugely beneficial to the developer
> community as a whole if we were more helpful to each other and consider
> that answering someone's question directly will help many, many other
> people as well.
>
> In my case, I found that the toolchain is generated when the project is
> created and if you don't have the tools installed before hand, you need
> to manually configure your project's toolchain or re-create the project.
> If you don't have gcc/g++ on Windows you can use the recommended MinGW
> installer at sourceforge. This forum won't allow me to link externally
> to MinGW or I would.
The sticky about CDT at the top of this forum suggests you ask your
C/C++ question in the Eclipse CDT forum. It doesn't say there are more
stickies there.
The Eclipse CDT forum is a place, like the Eclipse newcomers forum,
where you ask a question and get it answered. In this case, lots of
Eclipse C/C++ users are there to help solve your problems, more than
haunt the newcomers' forum. It's not to put you off.
|
|
|
Powered by
FUDForum. Page generated in 0.08973 seconds