Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Help me!(An error has occured...)
Help me! [message #1778553] Sun, 17 December 2017 07:39 Go to next message
Keegan Boldt is currently offline Keegan BoldtFriend
Messages: 1
Registered: December 2017
Junior Member
For a long time I've been looking for a lightweight IDE for C++, and Eclipse CDT seemed to be the right thing. I was excited to finally get back into C++ (I stopped because school and homework exist.) but when I try to create a new C++ project, it gives me an error: "Cannot run program 'gcc': Launching Failed". How do I fix this?
Re: Help me! [message #1778684 is a reply to message #1778553] Wed, 20 December 2017 04:05 Go to previous message
David VavraFriend
Messages: 784
Registered: October 2012
Senior Member
There is a lot of confusion among beginners as to what Eclipse actually does.

It is primarily a text editor which can call external programs to build and debug projects.
It defaults to building using GNU Make directly or emulated.
It can create the makefile used by Make or use one provided by the user.

In addition to needing Make, Eclipse also needs a compiler and a linker.
It will create Make recipes which call the compiler and linker.
The default is to use GCC to provide these but, of course, others can be used.

This means you must have GCC and Make installed on your system.
They are not provided by Eclipse.

You need to read all of:

Particularly, Before you Begin and Getting Started.

Previous Topic:how to install zoil ineclipse c++ neon
Next Topic:"Launch failed. Binary not found."
Goto Forum:

Current Time: Thu Oct 18 15:50:07 GMT 2018

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

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

Back to the top