Eclipse 2018-09 keeps building C++ project - no execute [message #1801772] |
Sat, 26 January 2019 02:37 |
Anne Creek Messages: 275 Registered: September 2014 |
Senior Member |
|
|
I have transferred a C++ project from older Eclipse release to Eclipse 2018-09. .
It compiles / links just fine, but it will not execute.
Using Run as _>Configuration->... which runs perfect in older release just keeps "rebuilding" and never executes.
Using different / clean project copy but in same workspace as the older release.
I understand using same workspace used to be an issue.
But I do not get any errors or warnings indicating that I have to run from a different / separate 2018-09 workspace.
Any clue what I missed and HOW to fix this ?
[Updated on: Sat, 26 January 2019 02:38] Report message to a moderator
|
|
|
|
Re: Eclipse 2018-09 keeps building C++ project - no execute [message #1801797 is a reply to message #1801788] |
Sun, 27 January 2019 04:29 |
Anne Creek Messages: 275 Registered: September 2014 |
Senior Member |
|
|
Downloaded fresh 2018-12 , same issue .
Here is the sequence of events.
I do "Build project", no problem.
I do "Run configurations" and select "Application " tab and then do "Search" for current project, no problem.
Then I select "Run" , and it compiles AGAIN.
When I go back do "Run configurations " I get ""Program does not exist" and the "Run" button is grayed out.
That is a first indicator something is amiss.
Second , and it should be , If I select "Application " tab and then do "Search" for current project it is NOT in among the options.
Which just confirms the first indicator.
I still think it has something to do with Eclipse 2018-12 using / referencing same workspace as Oxygen.
The Oxygen project really did not get imported into new 2018-12 workspace.
I'll try to copy the project from Oxygen to 2018_12 workspace next, but not sure if I get all project configuration ( includes ) by doing copy.
[Updated on: Sun, 27 January 2019 04:34] Report message to a moderator
|
|
|
Re: Eclipse 2018-09 keeps building C++ project - no execute [message #1801802 is a reply to message #1801797] |
Sun, 27 January 2019 06:59 |
David Vavra Messages: 1426 Registered: October 2012 |
Senior Member |
|
|
If it built without a problem it should be around somewhere.
Try searching for it then give it to a run configuration.
"Run" doesn't try to build in my installation but instead complains that the executable is missing.
But then I have auto-build disabled.
I separate my workspaces by Eclipse version.
I first completely copy them (there are hidden files, at least in Linux).
2018-12 wanted to convert my Photon workspaces and did.
I assume earlier ones should be converted also.
You could try making a new workspace to see if the problem persists.
[Updated on: Sun, 27 January 2019 07:09] Report message to a moderator
|
|
|
|
|
Re: Eclipse 2018-09 keeps building C++ project - no execute [message #1802340 is a reply to message #1802273] |
Wed, 06 February 2019 20:08 |
Anne Creek Messages: 275 Registered: September 2014 |
Senior Member |
|
|
Update
Copied entire Oxygen workspace to new 2019 release workspace.
When trying "Build project" using 2019 dedicated workspace received warning about "older release will no longer run in (this) workspace".
Project build , however , still had to be "Refresh" to be able to use TCF "Application" - > Search ->Program selection to select correct version.
The "Program Selection " is still presenting long deleted "Binaries" versions from TCF configuration tree selection. The whole "Program Selection " form / window has also some options , generally duplicating the "Binaries" selection.
It compiled / linked and run on first try.
There is a new option in configuring TCF - something about "prototype".
Selecting it does not give any response.
Did not look for "prototype" documentation.
Consider this issue closed.
[Updated on: Wed, 06 February 2019 20:18] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.05905 seconds