Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Program "g++" not found in PATH???
Program "g++" not found in PATH??? [message #1659935] Mon, 09 March 2015 01:56 Go to next message
Nicholas Riesterer is currently offline Nicholas RiestererFriend
Messages: 2
Registered: March 2015
Junior Member
I keep getting the following errors whenever I go into eclipse:

Program "g++" not found in PATH
Program "gcc" not found in PATH

I have no clue how to fix this and have been searching for the last couple hours. Any advice would be appreciated. Thank you!
Re: Program "g++" not found in PATH??? [message #1661474 is a reply to message #1659935] Mon, 09 March 2015 16:51 Go to previous messageGo to next message
Tauno Voipio is currently offline Tauno VoipioFriend
Messages: 742
Registered: August 2014
Senior Member
Nicholas Riesterer wrote on Mon, 09 March 2015 03:56
I keep getting the following errors whenever I go into eclipse:

Program "g++" not found in PATH
Program "gcc" not found in PATH

I have no clue how to fix this and have been searching for the last couple hours. Any advice would be appreciated. Thank you!


You did not tell which operating system. The instructions depend on it.
For Windows, you need to install MinGW or Cygwin with the compiler,
and for UNIXish system the native GNU toolkit.

Can you access gcc or g++ on command line? Try:

gcc --version




--

Tauno Voipio
Re: Program "g++" not found in PATH??? [message #1661974 is a reply to message #1661474] Mon, 09 March 2015 21:46 Go to previous messageGo to next message
Nicholas Riesterer is currently offline Nicholas RiestererFriend
Messages: 2
Registered: March 2015
Junior Member
The errors are gone now. Thank you!

Whenever I try to run anything, I get a pop-up saying "Launch Failed. Binary not found."

I'm not sure how to fix this.

[Updated on: Mon, 09 March 2015 21:50]

Report message to a moderator

Re: Program "g++" not found in PATH??? [message #1688355 is a reply to message #1661974] Fri, 20 March 2015 14:22 Go to previous message
Laszlo Uveges is currently offline Laszlo UvegesFriend
Messages: 3
Registered: August 2014
Junior Member
You get this error message when try to run a project you have nout yet built for example. You can build the project from the context menu of the project or by pressing Ctrl + B. It also accessible from the menu and toolbar. If you have a managed project CDT will create the binary in a folder named your active configuration at the root of your project. It will contain the binary and you can Run the project now. If you have a makefile project you have to create a makefile at the root of your application.
Previous Topic:Custom CDT project
Next Topic:Connect C++ to MySQL
Goto Forum:
  


Current Time: Fri Apr 26 20:10:08 GMT 2024

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

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

Back to the top