Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » which version works best?
which version works best? [message #94368] Tue, 17 February 2004 09:34 Go to next message
Eclipse UserFriend
I'm having a fair amount of trouble getting everything to work correctly.

I'm on rh linux using Eclipse 2.1.2 and cdt 1.2

Would I be better off if I switched to Eclipse 3.0M6 and CDT 2.0M6 ???

Thanks

David
Re: which version works best? [message #94467 is a reply to message #94368] Tue, 17 February 2004 11:59 Go to previous messageGo to next message
Eclipse UserFriend
David Bearh wrote:
> I'm having a fair amount of trouble getting everything to work correctly.

Well, if you don't tell, what the troubles are, we probably should take
our crystal ball out of the shelf.

What did you do, what went wrong?


> I'm on rh linux using Eclipse 2.1.2 and cdt 1.2
>
> Would I be better off if I switched to Eclipse 3.0M6 and CDT 2.0M6 ???
>
> Thanks
>
> David
>
Re: which version works best? [message #94497 is a reply to message #94467] Tue, 17 February 2004 13:45 Go to previous messageGo to next message
Eclipse UserFriend
Hi Kesselhaus,

I went and upgraded to 3.0 and the new cdt release and now see the same
problems.

Basically the problem is this.

I have a series of programs that were never a part of an eclipse project
that are all stored in a series of directories all under one 'root'.

When I tell CVS to load the project, everything seems to happen correctly.

I can edit any of the files.

I just can't compile. I can only rebuild on the 'root' directory.
HOwever I don't have a makefile for that root directory. When I rebuild,
nothing happens.

I can compile a subdirectory (project) outside in a bash linux shell via
my makefile and have no errors.

Since I can't compile, I can't run or debug.

David

kesselhaus wrote:

> David Bearh wrote:
> > I'm having a fair amount of trouble getting everything to work correctly.

> Well, if you don't tell, what the troubles are, we probably should take
> our crystal ball out of the shelf.

> What did you do, what went wrong?


> > I'm on rh linux using Eclipse 2.1.2 and cdt 1.2
> >
> > Would I be better off if I switched to Eclipse 3.0M6 and CDT 2.0M6 ???
> >
> > Thanks
> >
> > David
> >
Re: which version works best? [message #94524 is a reply to message #94497] Tue, 17 February 2004 15:36 Go to previous messageGo to next message
Eclipse UserFriend
David Bearh wrote:

> Hi Kesselhaus,
>
> I went and upgraded to 3.0 and the new cdt release and now see the same
> problems.
>
> Basically the problem is this.
>
> I have a series of programs that were never a part of an eclipse project
> that are all stored in a series of directories all under one 'root'.
>
> When I tell CVS to load the project, everything seems to happen correctly.
>
> I can edit any of the files.
>
> I just can't compile. I can only rebuild on the 'root' directory.
> HOwever I don't have a makefile for that root directory. When I rebuild,
> nothing happens.
>
> I can compile a subdirectory (project) outside in a bash linux shell via
> my makefile and have no errors.
>

Did never come into your mind, to either create just the missing
Makefile in your root dir?

Otherwise, open the "Make Target" View. Go to the sub-folders you have
makefiles in, and add a make target by rightclicking the folder, then
"Add ...". Give the target the same name as in the Makefile, e.g. if you
have all: and debug: targets in your makefile, create an all and an
debug target as prevously described.

BTW, this issue has been discussed just some days before here in this
newsgroup.


You could also import each project itself as a standalone project. For
C/C++-projects they will get the Standard Make nature.

Then you can adjust the project settings and define the standard build
targets their.

> Since I can't compile, I can't run or debug.
>
> David
>
> kesselhaus wrote:
>
>
>>David Bearh wrote:
>>
>>>I'm having a fair amount of trouble getting everything to work correctly.
>
>
>>Well, if you don't tell, what the troubles are, we probably should take
>>our crystal ball out of the shelf.
>
>
>>What did you do, what went wrong?
>
>
>
>>>I'm on rh linux using Eclipse 2.1.2 and cdt 1.2
>>>
>>>Would I be better off if I switched to Eclipse 3.0M6 and CDT 2.0M6 ???
>>>
>>>Thanks
>>>
>>>David
>>>
>
>
>
Re: which version works best? [message #94539 is a reply to message #94524] Tue, 17 February 2004 16:35 Go to previous message
Eclipse UserFriend
Hi Kesselhaus,

Yes i thought about the root makefile as a solution but I do not know how
to do that so it would launch sub projects automatically.

I also have the problem of making it sync up with an existing cvs project.

Currently what I have done that seems to have promise:

1) create a new managed project
2) import the cvs project to eclipse
3) i guess now do your suggestion so it will build.

my apologies if this has been discussed before. i did try searching but
didn't find my exact case.

kesselhaus wrote:

> David Bearh wrote:

> > Hi Kesselhaus,
> >
> > I went and upgraded to 3.0 and the new cdt release and now see the same
> > problems.
> >
> > Basically the problem is this.
> >
> > I have a series of programs that were never a part of an eclipse project
> > that are all stored in a series of directories all under one 'root'.
> >
> > When I tell CVS to load the project, everything seems to happen correctly.
> >
> > I can edit any of the files.
> >
> > I just can't compile. I can only rebuild on the 'root' directory.
> > HOwever I don't have a makefile for that root directory. When I rebuild,
> > nothing happens.
> >
> > I can compile a subdirectory (project) outside in a bash linux shell via
> > my makefile and have no errors.
> >

> Did never come into your mind, to either create just the missing
> Makefile in your root dir?

> Otherwise, open the "Make Target" View. Go to the sub-folders you have
> makefiles in, and add a make target by rightclicking the folder, then
> "Add ...". Give the target the same name as in the Makefile, e.g. if you
> have all: and debug: targets in your makefile, create an all and an
> debug target as prevously described.

> BTW, this issue has been discussed just some days before here in this
> newsgroup.


> You could also import each project itself as a standalone project. For
> C/C++-projects they will get the Standard Make nature.

> Then you can adjust the project settings and define the standard build
> targets their.

> > Since I can't compile, I can't run or debug.
> >
> > David
> >
> > kesselhaus wrote:
> >
> >
> >>David Bearh wrote:
> >>
> >>>I'm having a fair amount of trouble getting everything to work correctly.
> >
> >
> >>Well, if you don't tell, what the troubles are, we probably should take
> >>our crystal ball out of the shelf.
> >
> >
> >>What did you do, what went wrong?
> >
> >
> >
> >>>I'm on rh linux using Eclipse 2.1.2 and cdt 1.2
> >>>
> >>>Would I be better off if I switched to Eclipse 3.0M6 and CDT 2.0M6 ???
> >>>
> >>>Thanks
> >>>
> >>>David
> >>>
> >
> >
> >
Previous Topic:CDT 1.2: Frequent Hangs
Next Topic:Can't get to resource
Goto Forum:
  


Current Time: Thu Jul 17 21:28:18 EDT 2025

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

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

Back to the top