Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » windows xp, cygwin, CDT and me
windows xp, cygwin, CDT and me [message #137313] Thu, 03 February 2005 00:17 Go to next message
Eclipse UserFriend
Originally posted by: cometguy2.aol.com

Ok, so I've got cygwin running eclipse. I write out a little hello world
program. But i can't get it to do anything. not even compile. I'm not sure
if it's my lack of experience with cygwin? or with g++? or with eclipse.
What i've done:

new --> standard make c++ project (called it "hello world")
right click on "Hello world" --> new --> file (called it hello.cpp)

code:
******************
#include <iostream.h>

int main()
{
cout << "hello world\n";
return 0;
}
*******************
right click on "hello world" --> rebuild project

in the console it says:
make -k clean all
make: ***No rule to make target 'clean'.
make: ***No rule to make target 'all'.

any help is super appreciated. thank so much. i feel so humbled going back
to g++. visual studio ruined me. :)

Jody!
Re: windows xp, cygwin, CDT and me [message #137347 is a reply to message #137313] Thu, 03 February 2005 00:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cometguy2.aol.com

nevermind. i got it. i was using a standard make project instead of a
managed make project. Funny, i posted a question on what the difference
was yesterday, but didn't get an answer back. Got it now though!! BOO YAH

Jody

"Jody" <cometguy2@aol.com> wrote in message
news:ctrql9$b8f$1@www.eclipse.org...
> Ok, so I've got cygwin running eclipse. I write out a little hello world
> program. But i can't get it to do anything. not even compile. I'm not
sure
> if it's my lack of experience with cygwin? or with g++? or with eclipse.
> What i've done:
>
> new --> standard make c++ project (called it "hello world")
> right click on "Hello world" --> new --> file (called it hello.cpp)
>
> code:
> ******************
> #include <iostream.h>
>
> int main()
> {
> cout << "hello world\n";
> return 0;
> }
> *******************
> right click on "hello world" --> rebuild project
>
> in the console it says:
> make -k clean all
> make: ***No rule to make target 'clean'.
> make: ***No rule to make target 'all'.
>
> any help is super appreciated. thank so much. i feel so humbled going
back
> to g++. visual studio ruined me. :)
>
> Jody!
>
>
>
Re: windows xp, cygwin, CDT and me [message #137452 is a reply to message #137313] Thu, 03 February 2005 19:51 Go to previous message
Eclipse UserFriend
Originally posted by: tdk1ncGAUSS.YankMathGuy.northcanton.sparcc.org

This is less of a cygwin issue and more of an Eclipse/CDT issue...

Jody wrote:

> new --> standard make c++ project (called it "hello world")

Make a managed make c++ project instead of a standard make. In a
standard make, you have to write the makefile yourself. Managed make
projects autogenerate the makefile.

-Troy
Previous Topic:OpenGL and Glut with CDT and Eclipse
Next Topic:Linux kernel modules C and Java
Goto Forum:
  


Current Time: Wed Jan 15 06:42:54 GMT 2025

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

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

Back to the top