Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "Run Configuration " dialogue blues (cannot get pass selecting C++ application in configuration )
"Run Configuration " dialogue blues [message #1769682] Wed, 02 August 2017 15:40 Go to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
I need some help with „Run Configuration" dialog.
I'll try to describe it as best I can , without pictures.

In "project Explorer" I select my project for testing purposes I call it "A". Then I get to "Run Configuration..." dialog , I got that OK.

Select "C/C/++ Application " and get "A Debug " under it . OK .
In "Run Configuration " dialog I get "Name A Debug". In Name text box.

This is my first question "name " of what?

In "Project " text box I get "A" - OK so do now I have "project named" A? Again what is "A Debug" " name " for?

I can "Browse" for "Project" but why? I already have "Project"?

Now I need "C/C++ Application" .
Where do I get it from ?

I can "Search project..." but why I already have / know project, I need application.

Second main question what is my application and how do I get it into "Run Configuration " dialog??

BTW "Search project ..." brings up "PROGRAM SELECTION " not project selection.

"Browse " which belong to whom, bring s up "Application Selection" with all the files in the folder where the Eclipse resides. There are no "applications" there.

So now I am lost and "help" for "configuration" is not there !?

And "Run Congiguration" is telling me "Program not specified".

Third question what I is the unspecified "program" ?

Project / application / name / program ...
who is on first ?

Could some please hold my hand to get pass this?

Just it case it matters - running Ubuntu and Oxygen

[Updated on: Wed, 02 August 2017 15:42]

Report message to a moderator

Re: "Run Configuration " dialogue blues [message #1769733 is a reply to message #1769682] Thu, 03 August 2017 03:42 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
You really should consult the documentation first.
The Run/Debug configuration dialog is here
for Oxygen: https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Freference%2Fcdt_o_run_dbg_pages.htm&cp=13_4_9
for neon: https://help.eclipse.org/neon/topic/org.eclipse.cdt.doc.user/reference/cdt_o_run_dbg_pages.htm?cp=8_4_9

For me, the "?" button on a Run/Debug Configuration dialog shows:
index.php/fa/30241/0/
And selecting the first option (Launch Configurations Common Tabs)
Brings up the above linked help text
If it doesn't for some reason, use one of the two links above.

The Name field is the name of the configuration.
It must be unique as they are global.
The only difference between a Run Configuration vs. a Debug Configuration is access to the Debugger tab.
Otherwise the configuration is the same for both

You can get into the configuration dialog by selecting the down arrow next to the Run or Debug icon
OR, from one of
1) Run --> Run Configurations ...
2) Run --> Debug Configurations ...
Then pick a launch configuration or create a new one.
https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_o_run.htm&cp=13_3_5
There's a similar one for Neon.
Starting here may also help: https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Fconcepts%2Fcdt_o_home.htm&cp=13


  • Attachment: DebugHelp.png
    (Size: 29.00KB, Downloaded 5218 times)

[Updated on: Thu, 03 August 2017 04:27]

Report message to a moderator

Re: "Run Configuration " dialogue blues [message #1769792 is a reply to message #1769733] Thu, 03 August 2017 13:01 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
It is not getting to Run Configuration , it is

selection of C/C++ Application - which BTW does work somehow in my Oxygen 64 running on Ubuntu 32

it is the naming conventions and stuff like this

BTW "Search project ..." brings up "PROGRAM SELECTION " not project selection.

I am asking - is it "Application" or "program"?

Just noticed that eclipse uses "workspace" but loads "workbench" and clears ( poorly ) "workbench".

No, I do not need instructions how to read get and read "help" , it is the non descriptive or contradicting naming conventions.
It seems I have been into same when I first used Eclipse years ago.
Re: "Run Configuration " dialogue blues [message #1769807 is a reply to message #1769792] Thu, 03 August 2017 14:18 Go to previous messageGo to next message
David VavraFriend
Messages: 1426
Registered: October 2012
Senior Member
Quote:
It is not getting to Run Configuration

Sorry, I guess your how do I get it into "Run Configuration " dialog?? misled me.

Quote:
I am asking - is it "Application" or "program"?

"Application" is synonymous with "program". On cell phones (and other places) they are called "Apps".
They are also known as "Executables".

The Search Project button searches the named project for executables to run or debug.

Quote:
I do not need instructions how to read get and read "help"

This So now I am lost and "help" for "configuration" is not there !? also misled me.

It appears you need to read the help.
https://help.eclipse.org/oxygen/index.jsp?topic=%2Forg.eclipse.cdt.doc.user%2Ftasks%2Fcdt_o_run.htm&cp=13_3_5
And https://help.eclipse.org/oxygen/topic/org.eclipse.cdt.doc.user/tasks/cdt_t_run_main.htm


[Updated on: Thu, 03 August 2017 14:38]

Report message to a moderator

Re: "Run Configuration " dialogue blues [message #1769884 is a reply to message #1769807] Fri, 04 August 2017 13:41 Go to previous messageGo to next message
Anne Creek is currently offline Anne CreekFriend
Messages: 275
Registered: September 2014
Senior Member
My last post got lost and I really do not feel retyping it.
But I did check the help.
Now I have to ask silly but important for me question.
The Help dialogues are Windows OS style, I am using Linux Ubuntu.
It should make beans difference, but does anybody actually using Oxygen on Ubuntu and can "Run Configuration" without a hitch?
Just had to ask.


Allow me to clarify
In Windows dialog there is tree control with "C/C++ Applications"
assuming it is a real name of the folder / directory
where is it in Linux FHS ?
I do not get this nice tree to show on Ubuntu.
Maybe that will help to get me unstuck.

[Updated on: Fri, 04 August 2017 15:56]

Report message to a moderator

Re: "Run Configuration " dialogue blues [message #1769893 is a reply to message #1769884] Fri, 04 August 2017 16:31 Go to previous messageGo to next message
Jonah Graham is currently offline Jonah GrahamFriend
Messages: 416
Registered: June 2014
Senior Member
Quote:
assuming it is a real name of the folder / directory


Its not.

Quote:
where is it in Linux FHS ?


Same place as on Windows, in the .metadata in files with .launch extension

Quote:
I do not get this nice tree to show on Ubuntu.


Here is a Ubuntu screenshot.
index.php/fa/30277/0/

BTW I am really having a lot of trouble understanding what your problem is.

Quote:
I'll try to describe it as best I can , without pictures.

Sometimes pictures can save a 1000 words, put in a picture!
  • Attachment: ubuntu.png
    (Size: 101.57KB, Downloaded 5318 times)
Re: "Run Configuration " dialogue blues [message #1828748 is a reply to message #1769682] Thu, 18 June 2020 05:49 Go to previous message
sonu ahluwalia is currently offline sonu ahluwaliaFriend
Messages: 2
Registered: June 2020
Junior Member
It doesn't matter which version of eclipse you use or the OS.
In the "C/C++ Applications" area of Run Configuration, you have to give the source file which contains the main method which is the starting point of your application.

e..g. HelloWorld C/C++ project -> Run Configuration -> Hello.c is the file having the main method -> so i have to browse for this file and select it. -> apply -> run .

Enjoy.
Previous Topic:Can't get C/C++ IDE
Next Topic:C++ 'binary not found' message what do I do
Goto Forum:
  


Current Time: Fri Mar 29 13:26:39 GMT 2024

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

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

Back to the top