Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » will not run(building a c project)
will not run [message #1785046] Sun, 08 April 2018 17:02 Go to next message
sydney faria is currently offline sydney fariaFriend
Messages: 35
Registered: March 2013
I built a c project from some files that I found in a folder and then compiled the project. The group of files made a very nice build, and I can see the .0 and .exe files in the debug directory that was created, so I know I have a runnable exe file. The problem that I have is that with the main.c file showing in the console and clicking on the run button, it pops up a window saying that the " launch failed, the binary could not be found"! I have been tinkering with this project and had to compile it several times before because of some syntax errors: one of the files in the project was copied over to correct for a small syntax error, and then the whole thing compiled correctly, but now I have this strange problem. I think there is a problem in the project properties menus, but I cannot find the answer.
Re: will not run [message #1785064 is a reply to message #1785046] Mon, 09 April 2018 04:08 Go to previous message
David VavraFriend
Messages: 803
Registered: October 2012
Senior Member
I don't depend on CDT creating default launch configurations.
Read here on how they work and how to create one.

There is an error in the documentation though.
You access the launch configurations through
Run--> Run Configurations ... or Debug --> Debug Configurations ...
You can also get to them using the down arrow next to the Run and Debug tools.
Assuming, of course, you have the Launch Toolbar enabled

The one thing that may confuse beginners is that the name of the launch configuration is unique.
Both Run Configurations and Debug Configurations access the same named launch configuration.
The only difference is the dialog used.

Read the section for creating a launch configuration.
You'll need to eventually know how.
Might as well start now.
Previous Topic:A quick question about CDT 3.1
Next Topic:Configuring indexer based on files list included in the build
Goto Forum:

Current Time: Fri Nov 16 03:42:27 GMT 2018

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

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

Back to the top