which version works best? [message #94368] |
Tue, 17 February 2004 09:34  |
Eclipse User |
|
|
|
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 #94524 is a reply to message #94497] |
Tue, 17 February 2004 15:36   |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
> >>>
> >
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.07345 seconds