Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Can I do this with eclipse? (remote compilation)
Can I do this with eclipse? (remote compilation) [message #193401] Fri, 15 June 2007 04:31
Eclipse UserFriend
Hi there.

I have HUGE C++ project on Sparc/Solaris platform.
But I have x86/Linux on my workstation (Gentoo).
Running eclipse on solaris and displaying it on my x server is not an
option,
since there are a lot of tests and so on running on this server.
What I'm trying to do:
Mount directory with sources from solaris on my workstation (via nfs).
Make eclipse project that take sources from this directory.
Than invoke make on remote solaris via ssh (using ssh-agent with key).
Previously I was using similar building way (with another IDE) on windows
and everything was fine.
With eclipse I experienced following problems:
1) It looks like I cannot have project location in default workspace
directory, and sources in other directory.
When I'm trying to add sources it does copy them.
Making project in directory with sources makes unwanted (there) files.

2) I failed to tell eclipse that compiler output should be parsed as
"Solaris C++ Compiler" output.
I managed to invoke remote make command, but errors and warnings are not
recognized.
Full paths to files are the same on solaris and linux.

3) After I added path to root of project sources to Include Paths I'm
constantly getting warning like this:
Include path not found:home/username/project/src
Yes - without leading slash.
However indexer does understand this path and unrecognized includes no
longer underlined as errors.

4) I'm constantly getting this exception:
Exception in thread "org.eclipse.cdt.internal.ui.text.CReconciler"
java.lang.ClassCastException:
org.eclipse.cdt.internal.core.pdom.dom.cpp.PDOMCPPClassTempl ate cannot be
cast to org.eclipse.cdt.internal.core.dom.parser.cpp.ICPPInternalTem plate

During startup in console and during editing when trying to use Open
Declaration feature.
I guess I should report this to bugzilla?
But I don't know how to reproduce this.
As I said project is HUGE.
I don't get this error on smaller local project.
Previous Topic:Team Preferences not saved...
Next Topic:Syntax Coloring
Goto Forum:
  


Current Time: Mon Jun 09 05:07:32 EDT 2025

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

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

Back to the top