OK, so I set
Synchronize > Set Active > queenbee
That should use the remote includes, shouldn't it?
When I build, I set the path in "Paths & Symbols" to
/usr/local/packages/cp2k/prereqs/mpich2/1.4.1p1/gcc-4.3.2/include
And it builds (I also set the library paths, etc. but nevermind
those
for now). If I put "//queenbee" in front of the path above, it
fails as you expect.
If I then put
//queenbee/usr/local/packages/cp2k/prereqs/mpich2/1.4.1p1/gcc-4.3.2/include
in preprocessor symbols, I should be able to press F3 and go into
the file.
Except I can't. It says it can't find mpi.h. What else could I be
doing wrong?
Cheers,
Steve
On 07/15/2013 06:13 PM, Beth Tibbitts wrote:
Why is it doing remote indexer if it's a sync
project? It should be doing local indexer, shouldn't it?
... Beth
Beth Tibbitts
Sent from my Samsung Galaxy S3 Android phone
On Jul 15, 2013 6:24 PM, "Steven R.
Brandt" < sbrandt@xxxxxxxxxxx>
wrote:
On 07/15/2013 05:22 PM, Greg Watson wrote:
Did you try rebuilding the index?
Yes, repeatedly.
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
_______________________________________________
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
|