Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[ptp-user] Remote Indexing Issue with PTP 6.0.3 and Remote Indexing Patch

Hi,

It's possible I'm doing something wrong because it seems that this feature seems to work for others (I read the recent thread near the beginning of this month related to this).

I am using PTP 6.0.3 (upgraded from 6.0.2) and installed the remote indexing patch.

I'm setting up my synchronized project, running Eclipse on a Windows machine to my development Linux machine.  I'm doing this by following the SC12 tutorial slides.

The connection I set up through RSE is SSH-only and this appears to work fine.  When I make a change in my files in Eclipse, they sync over to the development machine as expected.  I even have it working with Git, fantastic :)

However, currently I am receiving many "Field .. could not be resolved" errors because I did not set up my include paths.  I tried to follow the steps in the slides, particularly where you go to Preprocessor Include Paths -> C++ -> CDT User Setting Entries -> Add... and enter the following:

//connection_name/usr/local/include 
(selecting Filesystem from dropdown)

I receive a warning "The selected folder does not exist or not accessible."

I am sure my connection_name matches the name of the connection that I set up, the one that I am using successfully.  The connection_name refers to the Remote Tools name?

I believe I have both a RSE connection and a Remote Tools connection with the same name (to cover my bases).  There is a connection mentioned i the "Remote Environments" tab that has status "Running" (I believe this is the Remote Tools connection?) as well as an connection listed in the Remote System Explorer perspective (I believe this is the RSE connection?)

Any ideas?

Also, I set up my connection by using IP, not hostname, as the remote machine is not on DNS and I do not have permission to edit my /etc/hosts file on Windows.  I assume connection_name points to the name I give it and not the hostname.  Hopefully this isn't an issue.  I tried //IP//usr/local/include as well and it didn't seem to work.  I really prefer not to use Samba as currently the Samba configuration only lets me see my home directory from my mapped network drive; I need to reference headers in /usr.

I also tried C/C++ General -> Paths and Symbols -> Source and setting a Linked Directory.  This was causing Eclipse to "kind of hang" and I had to ultimately delete my project.  I can elaborate on this if needed.

Thank you very much.

Derek

Back to the top