Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » eclipse Galileo with CDT.(How to integrate cdt plugin with eclipse galileo.)
eclipse Galileo with CDT. [message #484743] Wed, 09 September 2009 02:07 Go to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Dear experts,

i am trying to add cdt 6.0 with eclipse galileo but not able to get the required,
i have MinGW , cdt 6.0 , with eclipse 6.0 instead of using the update software i am following this

tutorial to install a plugin so i can get some idea.

http://www.cs.umanitoba.ca/~eclipse/7-EclipseCDT.pdf

but there is some problem when i try to build



Internal Builder: Cannot run program "g++": The system



even i though i have set the path and i can compile and run from command line.
as in the tutorial says after unzipping the cdt i should get that folder structure i am not getting that instead the CDT 6.0 contains only jar files

please tell me how to proceed i want to add cdt plugin to eclipse 3.5 please help.
Re: eclipse Galileo with CDT. [message #484761 is a reply to message #484743] Wed, 09 September 2009 03:47 Go to previous messageGo to next message
Eclipse User
Originally posted by: ReinerHummel.web.de

The tutorial is quite old, you should definitely use the update site or
install from a master update archive.
See http://www.eclipse.org/cdt/downloads.php
Re: eclipse Galileo with CDT. [message #484975 is a reply to message #484761] Thu, 10 September 2009 00:58 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Thank you for the reply,

i am just referring the tutorial and versions of the downloads are new only as i informed the eclipse id Eclipse Galileo and cdt is cdt 6.0 and MinGW is also latest,

can you provide me the good tutorial or if you have done tell me the procedure for this .

please help me.
Re: eclipse Galileo with CDT. [message #485264 is a reply to message #484975] Thu, 10 September 2009 23:24 Go to previous messageGo to next message
Andrew Gvozdev is currently offline Andrew Gvozdev
Messages: 253
Registered: July 2009
Senior Member
vin_pll wrote:
> Thank you for the reply,
> i am just referring the tutorial and versions of the downloads are new only
as i informed the eclipse id Eclipse Galileo and cdt is cdt 6.0 and MinGW is
also latest,
> can you provide me the good tutorial or if you have done tell me the
procedure for this .
> please help me.

There is a collection of links on CDT FAQ page
http://wiki.eclipse.org/CDT/User/FAQ#Download_and_Installati on

I haven't read any of them but suggest you do.

Andrew
Re: eclipse Galileo with CDT. [message #485270 is a reply to message #484743] Fri, 11 September 2009 01:55 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Please Experts,
i have two questions please answer them as i am not getting any answer from any where its too frustrating , i am not getting even a single answer correct please tell me correctly,

question 1)
As i heard eclipse is a open source i want to download the source code of it which i am not getting i am tried visiting all the sites of eclipse.org and tried to get the source through svn
i used, even though i am not a committer
svn co svn+ssh://committerid@dev.eclipse.org/svnroot/technology/som e.repository
which the command is failing and i am not getting a right command for the svn can you please in step wise tell me how to download the source .

question2)
i want to integrate the cdt6.0 with galileo(eclipse 3.5) the tutorail are not showing any useful info and also in most of the tutorial they say to directly connecting through update and install which i dont want to use


please answer these two question thinking i am a very beginner please answer them.
Re: eclipse Galileo with CDT. [message #485275 is a reply to message #485270] Fri, 11 September 2009 03:18 Go to previous messageGo to next message
Derek is currently offline Derek
Messages: 60
Registered: July 2009
Member
On 11/09/2009 06:55, vin_pll wrote:
> Please Experts,
> i have two questions please answer them as i am not getting any answer
> from any where its too frustrating , i am not getting even a single
> answer correct please tell me correctly,
>
> question 1)
> As i heard eclipse is a open source i want to download the source code
> of it which i am not getting i am tried visiting all the sites of
> eclipse.org and tried to get the source through svn
> i used, even though i am not a committer
> svn co
> svn+ssh://committerid@dev.eclipse.org/svnroot/technology/som e.repository
> which the command is failing and i am not getting a right command for
> the svn can you please in step wise tell me how to download the source .
If you really are a beginner, why do you want the source? Still, if you
want it, download "Eclipse Classic" - this includes source.
If you want CDT source too, use the CDT update site to install CDT SDK
http://download.eclipse.org/tools/cdt/releases/ganymede/
>
> question2)
> i want to integrate the cdt6.0 with galileo(eclipse 3.5) the tutorail
> are not showing any useful info and also in most of the tutorial they
> say to directly connecting through update and install which i dont want
> to use
Its already done for you. Just download "Eclipse IDE for C/C++ Developers"

This is a ready to go CDT/Eclipse installation. It DOES NOT include a
compiler or debugger, which you will need to get from elsewhere.
>
> please answer these two question thinking i am a very beginner please
> answer them.


--
Derek
Re: eclipse Galileo with CDT. [message #485511 is a reply to message #485275] Sat, 12 September 2009 06:57 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Thank you Derek ,
For your Nice reply ,

i got the cdt window with that,
but where are the source files you mean to unjar the jar files that comes with set up or i am not getting the core .java files which i require ,
can you please tell me .
Re: eclipse Galileo with CDT. [message #485530 is a reply to message #485511] Sat, 12 September 2009 11:36 Go to previous messageGo to next message
Derek is currently offline Derek
Messages: 60
Registered: July 2009
Member
On 12/09/2009 11:57, vin_pll wrote:
> Thank you Derek ,
> For your Nice reply ,
>
> i got the cdt window with that,
> but where are the source files you mean to unjar the jar files that
> comes with set up or i am not getting the core .java files which i
> require ,
> can you please tell me .
Are you trying to build the source, or do you just want to view them? In
my experience, if you are developing plugins for CDT you don't need to
build them you just need to read them.

If this is what you want to do, I suggest you download
Eclipse for RCP/Plugin-in Developers
and then, using the update mechanism, to install the CDT SDK

But, as I said, if you are beginner, reading and understanding even a
fraction of the CDT sources is a very big job.

--
Derek
Re: eclipse Galileo with CDT. [message #485599 is a reply to message #484743] Mon, 14 September 2009 00:32 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Really Thanks for your reply derek,

I want to build the cdt with there source code in,

because i want to know the flow of it , so i want the source code of the cdt and want to build them in LINUX and Windows,

As i am downloading the any set ups they contain only the jar files thats what i am not able to understand as the eclipse is a open source , whether i need to unjar the jar files in order to view there source code.

thanks in advance.

Re: eclipse Galileo with CDT. [message #485613 is a reply to message #485599] Mon, 14 September 2009 03:00 Go to previous messageGo to next message
Derek is currently offline Derek
Messages: 60
Registered: July 2009
Member
On 14/09/2009 05:32, vin_pll wrote:
> Really Thanks for your reply derek,
>
> I want to build the cdt with there source code in,
>
> because i want to know the flow of it , so i want the source code of the
> cdt and want to build them in LINUX and Windows,
>
> As i am downloading the any set ups they contain only the jar files
> thats what i am not able to understand as the eclipse is a open source ,
> whether i need to unjar the jar files in order to view there source code.
>
> thanks in advance.
>
>
You don't need to build cdt to do that. If you do what I said, you get
all the source code and you can debug with it (set breakpoints, single
step etc) although you can't change it. Also, Eclipse understands how to
find the source, so there is no need to unzip jars.

If you really really want to build the source, then start reading the
developers FAQ at:
http://wiki.eclipse.org/index.php/CDT

However, unless you are quite expert with Eclipse and Java I think you
are in for a bit of a steep learning curve. And the questions you are
asking indicate that you are not an expert...

--
Derek
Re: eclipse Galileo with CDT. [message #486274 is a reply to message #484743] Thu, 17 September 2009 00:59 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Thanks you Derek,

thanks for your reply ,

i was successfully able to build the cdt from eclipse,

my question is as i was using some other machine which can be used for the connecting for the cvs repository with pserver and port
i was able to check out those plugins and able to build them in that workspace now i want to build the same thing in my other workspace with the plugins i have checkout in the previous workspace whether this is possible or how to achieve this whether i have to check out those plugins everytime by connecting with the server to build please help me.
Re: eclipse Galileo with CDT. [message #486794 is a reply to message #484743] Sat, 19 September 2009 02:03 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
Dear experts,

i tried to import the plugins of other workspace to my workspace i get this error.

Message :An internal error occurred during: "Update Installed JREs"

And Stack trace as follows:
java.lang.IllegalArgumentException: Attempted to beginRule: R/, does not match outer scope rule: P/org.eclipse.cdt.core
at org.eclipse.core.runtime.Assert.isLegal(Assert.java:63)
at org.eclipse.core.internal.jobs.ThreadJob.illegalPush(ThreadJ ob.java:120)
at org.eclipse.core.internal.jobs.ThreadJob.push(ThreadJob.java :230)
at org.eclipse.core.internal.jobs.ImplicitJobs.begin(ImplicitJo bs.java:58)
at org.eclipse.core.internal.jobs.JobManager.beginRule(JobManag er.java:232)
at org.eclipse.core.internal.resources.WorkManager.checkIn(Work Manager.java:117)
at org.eclipse.core.internal.resources.Workspace.prepareOperati on(Workspace.java:1747)
at org.eclipse.core.internal.resources.Resource.touch(Resource. java:1725)
at org.eclipse.core.internal.resources.Project.touch(Project.ja va:1108)
at org.eclipse.jdt.internal.core.SetContainerOperation.executeO peration(SetContainerOperation.java:115)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.jdt.internal.core.JavaModelOperation.runOperatio n(JavaModelOperation.java:793)
at org.eclipse.jdt.core.JavaCore.setClasspathContainer(JavaCore .java:4759)
at org.eclipse.jdt.internal.launching.JREContainerInitializer.i nitialize(JREContainerInitializer.java:69)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges .rebind(LaunchingPlugin.java:298)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges .access$0(LaunchingPlugin.java:263)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$1.run(Lau nchingPlugin.java:251)
at org.eclipse.jdt.internal.core.BatchOperation.executeOperatio n(BatchOperation.java:39)
at org.eclipse.jdt.internal.core.JavaModelOperation.run(JavaMod elOperation.java:728)
at org.eclipse.core.internal.resources.Workspace.run(Workspace. java:1800)
at org.eclipse.jdt.core.JavaCore.run(JavaCore.java:4694)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$VMChanges .doit(LaunchingPlugin.java:255)
at org.eclipse.jdt.internal.launching.LaunchingPlugin$JREUpdate Job.run(LaunchingPlugin.java:335)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

please tell me how to solve this.
Re: eclipse Galileo with CDT. [message #487126 is a reply to message #484743] Tue, 22 September 2009 00:54 Go to previous messageGo to next message
vin_pll  is currently offline vin_pll
Messages: 25
Registered: September 2009
Junior Member
why no reply , please reply.
Re: eclipse Galileo with CDT. [message #491306 is a reply to message #484743] Wed, 14 October 2009 01:41 Go to previous messageGo to next message
pezeshki8005  is currently offline pezeshki8005
Messages: 1
Registered: October 2009
Junior Member
Hello vin_pll,
Yes, I had exactly the same problem.
I use Cygwin + eclipse CDT
It wasn't a problem with the paths.
The internal builder seems to have a problem with logical links (or as Windows calls them "short cuts).
What appeared as "g++.exe" in my /usr/bin Cygwin directory was actually a logical link to something that in turn pointed to g++-3.exe

So, the solution was simply to replace the logical link "g++" with an actual copy of "g++-3.exe" And everything works now.

Here are the steps:
1) From Windows XP explorer find your C:\Cygwin\bin
2) Check that g++.exe is in fact a windows "short cut" to something else.
3) Rename this short cut to something else.
4) The copy g++-3.exe to g++.exe (or whatever version of g++) you are using.

I hope this helps.
May the Force be with you.
Re: eclipse Galileo with CDT. [message #493599 is a reply to message #484743] Tue, 27 October 2009 03:45 Go to previous messageGo to next message
Jesse mok is currently offline Jesse mok
Messages: 6
Registered: October 2009
Junior Member
i met the problem too.
Re: eclipse Galileo with CDT. [message #493605 is a reply to message #484743] Tue, 27 October 2009 04:24 Go to previous messageGo to next message
Jesse mok is currently offline Jesse mok
Messages: 6
Registered: October 2009
Junior Member
Do not try to compile cdt source code,that's not a good idea.


I faced the same problem too,and I fixed it.The reason is you do not install cdt plugins correctly!


There are 3 ways to install plugins in eclipse3.5.
(1)unzip the plugin file to eclipse directory.
(2)using link file
(3)using eclipse plugin install tool.



I guess you used the first one to install cdt plugin.why not try the third as following:
1. delete your not work well eclipse,and unzip it again.
2. run eclipse.exe,choose menu Help->Install New Software->Add
press Archive and select cdt-master-6.0.0.zip(the cdt plugin file you download)
type a name what you want,then press ok.
3. Select all the plugins,press next,next....to finish
4. Restart eclipse.



If you insist using link file to install eclipse plugins,there also have solution.
It's a good way to manage your plugins,after all.I suppose you installed eclipse3.5 in D:\program files\eclipse
1.create folders.
"D:\Program Files\eclipse\links"
"D:\Program Files\eclipse\myplugins"
"D:\Program Files\eclipse\myplugins\cdt
"D:\Program Files\eclipse\myplugins\cdt\eclipse"

2.Create cdt.link in "D:\Program Files\eclipse\links"
The content of cdt.link:path=D:/Program Files/eclipse/myplugins/cdt

3.Unzip cdt-master-6.0.0.zip to "D:\Program Files\eclipse\myplugins\cdt\eclipse"

4.In "D:\Program Files\eclipse\myplugins\cdt\eclipse\plugins" directory,you can find the file
org.eclipse.cdt.core.win32_5.1.0.200906161748.jar
unzip it as a folder in the current directory.that means after you unzip it,there is a new folder name
org.eclipse.cdt.core.win32_5.1.0.200906161748

5.delete org.eclipse.cdt.core.win32_5.1.0.200906161748.jar

6.Run eclipse in command line:
D:\Program Files\eclipse>eclipse -clean
If you can't find the cdt plugin,do it again.

The same, if you just want to install CDT by unzip it to eclipse directory,you only need to unzip org.eclipse.cdt.core.win32_5.1.0.200906161748.jar and delete it!

[Updated on: Tue, 27 October 2009 04:27]

Report message to a moderator

Re: eclipse Galileo with CDT. [message #510705 is a reply to message #484743] Thu, 28 January 2010 06:33 Go to previous message
gwenny is currently offline gwenny
Messages: 12
Registered: January 2010
Junior Member
i'm having a difficult time building the source code i've checked out on the cvs repository for the CDT code. Can you help me on this. Please i need your help asap... tnx
Previous Topic:CPPUnit and Boost with Eclipse
Next Topic:How to create Marker on elements which are not IResource?
Goto Forum:
  


Current Time: Fri Apr 18 06:46:22 EDT 2014

Powered by FUDForum. Page generated in 0.02485 seconds