Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [ptp-user] Can't get indexer to work

Did you try rebuilding the index?

Greg

On Jul 15, 2013, at 6:19 PM, "Steven R. Brandt" <sbrandt@xxxxxxxxxxx> wrote:

> This is interesting. I can browse through the remote include file in the Project explorer, even though the editor and outline view claim it doesn't exist.
> 
> Cheers,
> Steve
> 
> On 07/15/2013 04:52 PM, Greg Watson wrote:
>> Also, when you added the path in Preprocessor Include Paths, did you have "GNU C" selected in the languages tab, or was "Assembly" selected. This has caught me out a few times.
>> 
>> Greg
>> 
>> On Jul 15, 2013, at 5:46 PM, Greg Watson <g.watson@xxxxxxxxxxxx> wrote:
>> 
>>> More information:
>>> 
>>> - By "latest updated Kepler", do you mean updated with the latest kepler nightly build?
>>> - Type of sync project (C, Fortran, etc)?
>>> - Toolchains you selected?
>>> - Do you get the invalid values message before you set the path?
>>> - Do you get the invalid values message for a local C project?
>>> 
>>> The error message is coming from CDT, not PTP, so it looks like something is wrong with your installation.
>>> 
>>> Try setting the path in the Paths and Symbols page instead.
>>> 
>>> Greg
>>> 
>>> On Jul 15, 2013, at 5:42 PM, "Steven R. Brandt" <sbrandt@xxxxxxxxxxx> wrote:
>>> 
>>>> On 07/15/2013 04:29 PM, Steven R. Brandt wrote:
>>>>> I can't get the remote indexer to work. In my example, I set the include path to
>>>>> 
>>>>> the include path in
>>>>>   Project Properties > C/C++ General > Paths and Symbols > GNU C
>>>> Sorry, that's in Preprocessor Paths and Symbols, and "Filesystem" is selected.
>>>>> is set to
>>>>>   //queenbee/usr/include/mpich2-x86_64
>>>>> 
>>>>> Where queenbee is the name of my connection. I verified the connection by modifying files in the synchronized project and observing the changes on the remote machine. I rebuild the index, etc. but all I see is errors and typing F3 on the mpi.h include line fails.
>>>>> 
>>>>> Windows > Preferences > C/C++ > Indexer
>>>>> 
>>>>> Always shows the message "The currently displayed page contains invalid values." If I click on something else, say File Types, then click on Indexer again I see a checkbox ("Enable Indexer") , a chooser with "C/C++ Indexer" and "RDT Remote Fast Indexer". Regardless of what I pick, on this page, none of the values will show up again when I return.
>>>>> 
>>>>> I'm running on Fedora17 with the Oracle JDK, version 1.6.0_30. I am using the latest updated Kepler.
>>>>> 
>>>>> The log contains this, possibly relevant, message:
>>>>> !ENTRY org.eclipse.jface 4 2 2013-07-15 16:24:09.786
>>>>> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
>>>>> !STACK 0
>>>>> java.lang.IllegalArgumentException
>>>>>   at org.eclipse.core.resources.ProjectScope.<init>(ProjectScope.java:57)
>>>>>   at org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getProjectPreferences(IndexerPreferences.java:296)
>>>>>   at org.eclipse.cdt.internal.core.pdom.indexer.IndexerPreferences.getReindexOnIndexerChange(IndexerPreferences.java:457)
>>>>>   at org.eclipse.cdt.ui.dialogs.IndexerBlock.initializeIndexerCombo(IndexerBlock.java:365)
>>>>>   at org.eclipse.cdt.ui.dialogs.IndexerBlock.createControl(IndexerBlock.java:241)
>>>>> 
>>>>> Any idea what I'm doing wrong?
>>>>> 
>>>>> Cheers,
>>>>> Steve
>>>>> 
>>>> _______________________________________________
>>>> ptp-user mailing list
>>>> ptp-user@xxxxxxxxxxx
>>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>>> _______________________________________________
>>> ptp-user mailing list
>>> ptp-user@xxxxxxxxxxx
>>> https://dev.eclipse.org/mailman/listinfo/ptp-user
>> _______________________________________________
>> ptp-user mailing list
>> ptp-user@xxxxxxxxxxx
>> https://dev.eclipse.org/mailman/listinfo/ptp-user
> 
> _______________________________________________
> ptp-user mailing list
> ptp-user@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/ptp-user



Back to the top