Home » Language IDEs » C / C++ IDE (CDT) » Trying to use CDT first time, Hello World doesn't run
Trying to use CDT first time, Hello World doesn't run [message #704719] |
Fri, 29 July 2011 02:00 |
eclipse Messages: 2 Registered: July 2011 |
Junior Member |
|
|
Newly installed Eclipse Java EE IDE, Indigo Release, on OS X 10.7, with latest CDT.
Here's what I've tried:
Start Eclipse with a new empty workspace.
Close the welcome thing.
Choose New, Project... from the File menu.
Click C/C++, click C Project, click Next.
Enter "hello" for project name, click "Hello World ANSI C Project", click Next.
Click Next, and Finish.
Click Yes to answer question about C/C++ perspective.
Click the Hammer icon. Zero problems.
Click the Launch icon (right-pointing triangle).
"The selection cannot be launched, and there are no recent launches."
Right-click "hello" project icon, choose Run As, Run Configurations...
Now I'm completely lost. I see "Apache Tomcat", "Eclipse Application", "Eclipse Data Tools", etc.; none of them seem appropriate for a simple C application.
Click on the Help icon (a question mark) in the "Create, manage, and run configurations" screen. Nothing happens.
What am I doing wrong, or failing to do? Thanks in advance for any clues.
Best wishes,
Tom
|
|
|
Re: Trying to use CDT first time, Hello World doesn't run [message #704996 is a reply to message #704719] |
Fri, 29 July 2011 09:57 |
John McCabe Messages: 228 Registered: July 2009 |
Senior Member |
|
|
On Thu, 28 Jul 2011 22:00:04 -0400, eclipse
<forums-noreply@eclipse.org> wrote:
>Newly installed Eclipse Java EE IDE, Indigo Release, on OS X 10.7, with latest CDT.
>
>Here's what I've tried:
>
>Start Eclipse with a new empty workspace.
>Close the welcome thing.
>Choose New, Project... from the File menu.
>Click C/C++, click C Project, click Next.
>Enter "hello" for project name, click "Hello World ANSI C Project", click Next.
>Click Next, and Finish.
>Click Yes to answer question about C/C++ perspective.
>Click the Hammer icon. Zero problems.
>Click the Launch icon (right-pointing triangle).
>"The selection cannot be launched, and there are no recent launches."
>Right-click "hello" project icon, choose Run As, Run Configurations...
>Now I'm completely lost. I see "Apache Tomcat", "Eclipse Application", "Eclipse Data Tools", etc.; none of them seem appropriate for a simple C application.
>Click on the Help icon (a question mark) in the "Create, manage, and run configurations" screen. Nothing happens.
>
>What am I doing wrong, or failing to do? Thanks in advance for any clues.
What toolchain have you got installed? (It should be in the
"Toolchains:" box in the C Project wizard).
When you right click on the project and select "Run As" is there no
"Local C/C++ Application" option?
In the "Run Configurations" dialog there should be a "C/C++
Application" option.
John
|
|
| | |
Goto Forum:
Current Time: Fri Apr 26 21:54:48 GMT 2024
Powered by FUDForum. Page generated in 0.03545 seconds
|