Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » "helloworld" project from FAQ does not run
"helloworld" project from FAQ does not run [message #63066] Tue, 25 February 2003 14:06 Go to next message
Eclipse UserFriend
Originally posted by: gthaker.atl.lmco.com

Hi,

I am on Eclipse 2.0.2 and CDT 1.0.1 on Redhat 8.1beta. I am using latest
Java SDK, 1.4.1_01-b01.

I have been running this eclipse for a few days without problems, but I
can not run the CDT FAQ's Helloworld example.

Since there are no Linux specific instructions I followed the windows
directions which are as follows:

"Creating a simple C++ Project -- "Hello World on a Windows Platform"

This section will use an example to create the familiar "Hello World!" C++
program. First, ensure that you have the CDT installed within Eclipse, as
described above. Open a C/C++ Perspective and complete the following steps:

1. In the C/C++ Projects View right click and select "New Project ..."
2. Select "C++" in the left pane and the select "Standard Make C++
Project"
3. Enter a name for the new project and select Finish. Note: you can
determine the "Build Settings" from this dialog, but we will do so later,
in the build section."

When I hit the "Finish" button here Eclipse hangs. THe processor pegs at
100%. After about 5 minutes I killed Eclipse. I tried to look for log
files but found none.

Should CDT 1.0.1 work on eclipse 2.0.2 on Linux 8.1beta? (Eclipse without
CDT works ok.)

thanks (i am a newbie)
Re: "helloworld" project from FAQ does not run [message #63555 is a reply to message #63066] Mon, 03 March 2003 20:42 Go to previous messageGo to next message
Judy N. Green is currently offline Judy N. GreenFriend
Messages: 149
Registered: July 2009
Senior Member
"Gautam Thaker" <gthaker@atl.lmco.com> wrote in message
news:b3ft8e$lg8$1@rogue.oti.com...
| Hi,
|
| I am on Eclipse 2.0.2 and CDT 1.0.1 on Redhat 8.1beta. I am using latest
| Java SDK, 1.4.1_01-b01.
|
| I have been running this eclipse for a few days without problems, but I
| can not run the CDT FAQ's Helloworld example.
|
| Since there are no Linux specific instructions I followed the windows
| directions which are as follows:
|
| "Creating a simple C++ Project -- "Hello World on a Windows Platform"
|
| This section will use an example to create the familiar "Hello World!" C++
| program. First, ensure that you have the CDT installed within Eclipse, as
| described above. Open a C/C++ Perspective and complete the following
steps:
|
| 1. In the C/C++ Projects View right click and select "New Project ..."
| 2. Select "C++" in the left pane and the select "Standard Make C++
| Project"
| 3. Enter a name for the new project and select Finish. Note: you can
| determine the "Build Settings" from this dialog, but we will do so later,
| in the build section."
|
| When I hit the "Finish" button here Eclipse hangs. THe processor pegs at
| 100%. After about 5 minutes I killed Eclipse. I tried to look for log
| files but found none.
|
| Should CDT 1.0.1 work on eclipse 2.0.2 on Linux 8.1beta? (Eclipse without
| CDT works ok.)
|
| thanks (i am a newbie)
|
|
The CDT should work fine.
This is definately not a good thing.

Can you run any C/C++ projects?
How is your environment set up with respect to the gcc and make utilities?

-Judy

--
Re: "helloworld" project from FAQ does not run [message #64049 is a reply to message #63555] Thu, 06 March 2003 11:01 Go to previous message
Eclipse UserFriend
Originally posted by: fudge.planetarion.com

"Judy N. Green" <jgreen@qnx.com> writes:

> "Gautam Thaker" <gthaker@atl.lmco.com> wrote in message
> news:b3ft8e$lg8$1@rogue.oti.com...

> | When I hit the "Finish" button here Eclipse hangs. THe processor pegs at
> | 100%. After about 5 minutes I killed Eclipse. I tried to look for log
> | files but found none.
> |
> | Should CDT 1.0.1 work on eclipse 2.0.2 on Linux 8.1beta? (Eclipse without
> | CDT works ok.)
> |
> | thanks (i am a newbie)
> |
> |
> The CDT should work fine.
> This is definately not a good thing.
>
> Can you run any C/C++ projects?
> How is your environment set up with respect to the gcc and make utilities?

I had the same problem when I first tried Eclipse a while ago. The
reason was that I was running a very recent Gtk+, which caused Eclipse
to hang like this every time a progress bar was done.

I changed to Eclipse 2.1rc1, and it worked fine.

--
Erlend Simonsen - <fudge@planetarion.com>
Previous Topic:Load command progress help req
Next Topic:gdb configuration
Goto Forum:
  


Current Time: Sat Nov 09 04:59:57 GMT 2024

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

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

Back to the top