Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » New Launch Configuration (No launch configuration when building a new project )
New Launch Configuration [message #1826280] Wed, 22 April 2020 17:36 Go to next message
Connie Fischer is currently offline Connie FischerFriend
Messages: 10
Registered: April 2020
Junior Member
I am just learning C++ using tutorials from Udemy and other YouTube videos.

None of the tutorials seem to have to this extra step that I have to do:
Every time I build a new project, I have to choose "New Launch Configuration" and set that up before the project will run. It took me forever to figure out how to do this!

What I would like to know is WHY do I need to do this step when none of the tutorials show it. The only thing that I can think is that I missed something in the installation, but I followed the instructions very carefully.

I am using the latest version of Eclipse IDE with the CDT tools installed on a Windows 10 laptop.

Thanks for any assistance.
Re: New Launch Configuration [message #1826285 is a reply to message #1826280] Wed, 22 April 2020 18:59 Go to previous messageGo to next message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 4487
Registered: July 2009
Senior Member

How exactly do they show you to run your application? Some actions implicitly create a launch configuration for you.

_
Nitin Dahyabhai
Eclipse Web Tools Platform
Re: New Launch Configuration [message #1827842 is a reply to message #1826285] Mon, 25 May 2020 11:46 Go to previous message
Connie Fischer is currently offline Connie FischerFriend
Messages: 10
Registered: April 2020
Junior Member
Thank you so much for responding, Nitin. I am sorry that I didn't see this response until now. The instructor's compiler looks a little different from mine, but he chooses File >New>C/C++ Project > Hello World C++ Project >
On his compiler, he then chooses Project >Build Project and that's it. Then he can run it.

On mine, I do this: File > New C/C++ Project. Then I get a window with a list of templates. I choose C++ Managed Build (A C++ Project build using the CDT's managed build system). This brings me to the same window as the instructors where I name the project and choose Hello World C++ Project (MinGW GCC is automatically selected). Then I can choose Build Project or just click the Hammer icon and this is where I get that extra step. I cannot just run - I have to use the New Launch Configuration dropdown menu and create a Launch Configuration. If I try to just run the project without this step, it will run one of the previously created launch configurations.
The instructor's compiler doesn't even have that Launch Configuration dropdown menu.
Previous Topic:CDT indexer on big cmake project
Next Topic:Remote program execution
Goto Forum:
  


Current Time: Tue Sep 10 02:25:08 GMT 2024

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

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

Back to the top