Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Help me!(An error has occured...)
Help me! [message #1778553] Sun, 17 December 2017 02:39 Go to next message
Eclipse UserFriend
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] Tue, 19 December 2017 23:05 Go to previous message
Eclipse UserFriend
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: http://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_o_home.htm

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: Sun Jul 27 12:04:12 EDT 2025

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

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

Back to the top