Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT under Eclipse 2.1
CDT under Eclipse 2.1 [message #65630] Thu, 03 April 2003 15:53 Go to next message
Eclipse UserFriend
Originally posted by: cbrake.accelent.com

How do I install CDT under Eclipse 2.1? I tried the 1.0.1 release and the
org.eclipse.cdt-200303270421-win32_1.0.1.bin.dist.zip nightly build, but
when I copy to files into the eclipse directly and start eclipse, I get a
"Selected update will result in an invalid configuration". The "Finish"
button is grayed out. How do I get past this?

Thanks,
Cliff
Re: CDT under Eclipse 2.1 [message #65651 is a reply to message #65630] Thu, 03 April 2003 21:22 Go to previous messageGo to next message
Stefan Bittner is currently offline Stefan BittnerFriend
Messages: 3
Registered: July 2009
Junior Member
Cliff Brake wrote:

> How do I install CDT under Eclipse 2.1? I tried the 1.0.1 release and the
> org.eclipse.cdt-200303270421-win32_1.0.1.bin.dist.zip nightly build, but
> when I copy to files into the eclipse directly and start eclipse, I get a
> "Selected update will result in an invalid configuration". The "Finish"
> button is grayed out. How do I get past this?
>
> Thanks,
> Cliff

Here is a workaround. It did let me install CDT on Linux / GTK.

In features/org.eclipse.cdt_1.0.1/feature.xml there are the following
lines:

<requires>
<import plugin="org.eclipse.platform" version="2.0.0"
match="compatible"/>
<import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/>
</requires>

change the last of the two <import plugin=... lines to:
<!--import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/-->

That is, comment it out.

This, of course, does not change the root of the problem.
I actuall don't know what the "import plugin" cause does.
(I hope it is just a consistency/dependency check at install time and does
not add to the actual functionality)
But CDT was installable and did work. I compiled and ran a Hello world
example.

There were two more complains in the Update manager referring to two missing
plugins:
- org.eclipse.cdt.linux.gtk - which indeed seems to be missing and
- org.eclipse.cdt (1.0.1) - which seems to be there (at least there is a
plugins/org.eclipse.cdt_1.0.1 directory)

Good luck,
Stefan
---
Stefan Bittner
Re: CDT under Eclipse 2.1 [message #65696 is a reply to message #65651] Thu, 03 April 2003 22:08 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: cbrake.accelent.com

Thanks, that seemed to work. I no longer get anything in the "Outline" view
when looking at C code. Does this work on your system?

Thanks,
Cliff

Stefan Bittner wrote:

> Cliff Brake wrote:
>
>> How do I install CDT under Eclipse 2.1? I tried the 1.0.1 release and
>> the org.eclipse.cdt-200303270421-win32_1.0.1.bin.dist.zip nightly build,
>> but when I copy to files into the eclipse directly and start eclipse, I
>> get a
>> "Selected update will result in an invalid configuration". The "Finish"
>> button is grayed out. How do I get past this?
>>
>> Thanks,
>> Cliff
>
> Here is a workaround. It did let me install CDT on Linux / GTK.
>
> In features/org.eclipse.cdt_1.0.1/feature.xml there are the following
> lines:
>
> <requires>
> <import plugin="org.eclipse.platform" version="2.0.0"
> match="compatible"/>
> <import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/>
> </requires>
>
> change the last of the two <import plugin=... lines to:
> <!--import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/-->
>
> That is, comment it out.
>
> This, of course, does not change the root of the problem.
> I actuall don't know what the "import plugin" cause does.
> (I hope it is just a consistency/dependency check at install time and does
> not add to the actual functionality)
> But CDT was installable and did work. I compiled and ran a Hello world
> example.
>
> There were two more complains in the Update manager referring to two
> missing plugins:
> - org.eclipse.cdt.linux.gtk - which indeed seems to be missing and
> - org.eclipse.cdt (1.0.1) - which seems to be there (at least there is a
> plugins/org.eclipse.cdt_1.0.1 directory)
>
> Good luck,
> Stefan
> ---
> Stefan Bittner
Re: CDT under Eclipse 2.1 [message #65826 is a reply to message #65696] Fri, 04 April 2003 12:01 Go to previous messageGo to next message
Stefan Bittner is currently offline Stefan BittnerFriend
Messages: 3
Registered: July 2009
Junior Member
I indeed do have an outline. It shows includes and functions.

with the following code:

#include <stdio.h>

int main ( int argc, char** argv) {
printf ( "hello, world!\n");
}

int f1 () {
return 0;
}


The outline has:

stdio.h
main()
f1()

In the project view there is a kind of outline for the
compiled executable. It shows the executable's functions.
To get that you have to enable the right "Binary Parser"
in the project's properties.
But that is probably not what you're looking for.

Regards,
Stefan


On Thu, 03 Apr 2003 17:08:03 -0500, Cliff Brake <cbrake@accelent.com>
wrote:

> Thanks, that seemed to work. I no longer get anything in the "Outline"
> view when looking at C code. Does this work on your system?
>
> Thanks,
> Cliff
>
> Stefan Bittner wrote:
>
>> Cliff Brake wrote:
>>
>>> How do I install CDT under Eclipse 2.1? I tried the 1.0.1 release and
>>> the org.eclipse.cdt-200303270421-win32_1.0.1.bin.dist.zip nightly
>>> build,
>>> but when I copy to files into the eclipse directly and start eclipse, I
>>> get a
>>> "Selected update will result in an invalid configuration". The
>>> "Finish"
>>> button is grayed out. How do I get past this?
>>>
>>> Thanks,
>>> Cliff
>>
>> Here is a workaround. It did let me install CDT on Linux / GTK.
>>
>> In features/org.eclipse.cdt_1.0.1/feature.xml there are the following
>> lines:
>>
>> <requires>
>> <import plugin="org.eclipse.platform" version="2.0.0"
>> match="compatible"/>
>> <import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/>
>> </requires>
>>
>> change the last of the two <import plugin=... lines to:
>> <!--import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/-->
>>
>> That is, comment it out.
>>
>> This, of course, does not change the root of the problem.
>> I actuall don't know what the "import plugin" cause does.
>> (I hope it is just a consistency/dependency check at install time and
>> does
>> not add to the actual functionality)
>> But CDT was installable and did work. I compiled and ran a Hello world
>> example.
>>
>> There were two more complains in the Update manager referring to two
>> missing plugins:
>> - org.eclipse.cdt.linux.gtk - which indeed seems to be missing and
>> - org.eclipse.cdt (1.0.1) - which seems to be there (at least there is a
>> plugins/org.eclipse.cdt_1.0.1 directory)
>>
>> Good luck,
>> Stefan
>> ---
>> Stefan Bittner
>
>



--
Stefan Bittner
Re: CDT under Eclipse 2.1 [message #65889 is a reply to message #65696] Fri, 04 April 2003 15:22 Go to previous message
Eclipse UserFriend
Originally posted by: mikhailk.qnx.com

The outline is broken in this build.

"Cliff Brake" <cbrake@accelent.com> wrote in message
news:b6ibbe$qvh$1@rogue.oti.com...
> Thanks, that seemed to work. I no longer get anything in the "Outline"
view
> when looking at C code. Does this work on your system?
>
> Thanks,
> Cliff
>
> Stefan Bittner wrote:
>
> > Cliff Brake wrote:
> >
> >> How do I install CDT under Eclipse 2.1? I tried the 1.0.1 release and
> >> the org.eclipse.cdt-200303270421-win32_1.0.1.bin.dist.zip nightly
build,
> >> but when I copy to files into the eclipse directly and start eclipse, I
> >> get a
> >> "Selected update will result in an invalid configuration". The
"Finish"
> >> button is grayed out. How do I get past this?
> >>
> >> Thanks,
> >> Cliff
> >
> > Here is a workaround. It did let me install CDT on Linux / GTK.
> >
> > In features/org.eclipse.cdt_1.0.1/feature.xml there are the following
> > lines:
> >
> > <requires>
> > <import plugin="org.eclipse.platform" version="2.0.0"
> > match="compatible"/>
> > <import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/>
> > </requires>
> >
> > change the last of the two <import plugin=... lines to:
> > <!--import plugin="org.eclipse.cdt" version="1.0.1" match="perfect"/-->
> >
> > That is, comment it out.
> >
> > This, of course, does not change the root of the problem.
> > I actuall don't know what the "import plugin" cause does.
> > (I hope it is just a consistency/dependency check at install time and
does
> > not add to the actual functionality)
> > But CDT was installable and did work. I compiled and ran a Hello world
> > example.
> >
> > There were two more complains in the Update manager referring to two
> > missing plugins:
> > - org.eclipse.cdt.linux.gtk - which indeed seems to be missing and
> > - org.eclipse.cdt (1.0.1) - which seems to be there (at least there is a
> > plugins/org.eclipse.cdt_1.0.1 directory)
> >
> > Good luck,
> > Stefan
> > ---
> > Stefan Bittner
>
Previous Topic:Eclipse on QNX
Next Topic:How can I disable this function?
Goto Forum:
  


Current Time: Thu Dec 26 23:47:46 GMT 2024

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

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

Back to the top