[CentOS] Eclipse CDT not working properly

Toralf Lund toralf.lund at pgs.com
Thu Feb 14 13:57:56 UTC 2013


On 07/02/13 18:40, Paul Norton wrote:
> Hello Toralf
>
> Removed the 32bit JRE and set the default to 64bit
>
> which java
>
> Check here https://bugzilla.redhat.com/show_bug.cgi?id=477766
>
> Or set the vm from the shell as mentioned here
> http://wiki.eclipse.org/IRC_FAQ#I_just_installed_Eclipse_on_Linux.2C_but_it_does_not_start._What_is_the_problem.3F
I have only a 64-bit (OpenJDK) JRE, as far as I can tell, and specifying 
the path on the command line makes no difference, unfortunately.

>
> > From here.
>
> http://www.eclipse.org/downloads/
>
> Download Eclipse ide for c/c++ developers
This is essentially what I did on CentOS 5, but I was hoping that this 
wouldn't be necessary on release 6, but that the bundled version would 
be sufficiently up-to-date and usable. But perhaps this isn't really the 
case :-(

- Toralf

>
> I have run eclipse(C/C++) on xfce with OpenJDK. No problems.
>
> It works fine for C.
> All the best Paul
>
>
>
>
> On Thu, Feb 7, 2013 at 1:06 PM, Toralf Lund<toralf.lund at pgs.com>  wrote:
>
>> Hello again,
>>
>> Another problem with my new CentOS 6 installation:
>> The C/C++ support in Eclipse seems to be partial or missing - even
>> though eclipse-cdt is installed. Eclipse starts all right, and I get a
>> C/C++ perspective, but:
>>
>>   1. If I open a C++ file, it's sent to an external editor.
>>   2. C or C++ is not mentioned in Preferences.
>>   3. I can't find a reference to CDT under Help->About Eclipse
>>      Platform->Installation Details
>>
>> I've tried reinstalling all the eclipse packages, and also resetting the
>> workspace as well as the settings in ~/.eclipse, but it made no
>> difference. On startup I get the following messages:
>> CompilerOracle: exclude
>> org/eclipse/core/internal/dtree/DataTreeNode.forwardDeltaWith
>> CompilerOracle: exclude
>> org/eclipse/jdt/internal/compiler/lookup/ParameterizedMethodBinding.<init>
>> CompilerOracle: exclude
>>
>> org/eclipse/cdt/internal/core/dom/parser/cpp/semantics/CPPTemplates.instantiateTemplate
>> CompilerOracle: exclude
>> org/eclipse/cdt/internal/core/pdom/dom/cpp/PDOMCPPLinkage.addBinding
>> CompilerOracle: exclude
>>
>> org/python/pydev/editor/codecompletion/revisited/PythonPathHelper.isValidSourceFile
>> CompilerOracle: exclude
>>
>> org/python/pydev/ui/filetypes/FileTypesPreferencesPage.getDottedValidSourceFiles
>>
>> Has anyone else seen this? Any idea what's wrong? Is anyone here are
>> using Eclipse for C++ development, anyway?
>>
>> Eclipse platform version is 3.6.1-6.13.el6.x86_64, CDT
>> 7.0.1-4.el6.x86_64 (those are the latest from updates.)
>>
>> - Toralf
>>
>>
>> This e-mail, including any attachments and response string, may contain
>> proprietary information which is confidential and may be legally
>> privileged. It is for the intended recipient only. If you are not the
>> intended recipient or transmission error has misdirected this e-mail,
>> please notify the author by return e-mail and delete this message and any
>> attachment immediately. If you are not the intended recipient you must not
>> use, disclose, distribute, forward, copy, print or rely on this e-mail in
>> any way except as permitted by the author.
>> _______________________________________________
>> CentOS mailing list
>> CentOS at centos.org
>> http://lists.centos.org/mailman/listinfo/centos
>>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos


This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.



More information about the CentOS mailing list