Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Indexer problems?

Could that be, that not the space problem for itself but the '\' vs. '/' is
the problem? I think cygwin requires '/' as separator like in linux. \cygwin
would likely select the "current drive root" under windows. Like if you are
on D:, then \cygdrive\c would select the d:\cygdrive\c directory if
existent. If you are on C:, then C:\cygdrive\c and so on.

And if you have spaces in your name something like '/cygdrive/c/Program\
Files/xyz' would be better (don't care on the ' but on the \<whitespace>!).

Take into consideration, that cygwin make probably takes the cygwin bash as
command line shell, not the windows cmd.exe.


> --- Ursprüngliche Nachricht ---
> Von: "dmsubs" <dmsubs@xxxxxxxxxxxxx>
> An: <dmsubs@xxxxxxxxxxxxx>, "'CDT General developers list.'"
> <cdt-dev@xxxxxxxxxxx>, "'Doug Schaefer'" <DSchaefer@xxxxxxx>
> Betreff: RE: [cdt-dev] Indexer problems?
> Datum: Tue, 28 Feb 2006 15:40:37 -0000
> 
> Hi,
> 
> No, it's not the spacey pathname problem...
> 
> Doug, back to your original question. AFAIK, I haven't specified paths
> anywhere (neither the plugin, nor in the project) I'm guessing that the
> the
> indexer (arm-elf-gcc) is reporting the path in a cygwin format, but
> something else is unable to interpret it that way. Is there a way to trace
> what is going on here?
> 
> Thanks,
> 
> 
> ---
> Derek  
> 
> > -----Original Message-----
> > From: cdt-dev-bounces@xxxxxxxxxxx 
> > [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of dmsubs
> > Sent: 28 February 2006 15:25
> > To: 'Doug Schaefer'; 'CDT General developers list.'
> > Subject: RE: [cdt-dev] Indexer problems?
> > 
> > Hi Doug,
> > 
> > Hmm, I've just had a thought... I wonder if it is the 'spacey 
> > pathname'
> > problem. I've installed into C:\Program Files\GNUARM). I'll 
> > investigate.
> > 
> > [I am using 3.1.2/3.0.2]
> > 
> > Thanks
> > ---
> > Derek  
> > 
> > > -----Original Message-----
> > > From: Doug Schaefer [mailto:DSchaefer@xxxxxxx]
> > > Sent: 28 February 2006 15:18
> > > To: dmsubs@xxxxxxxxxxxxx; CDT General developers list.
> > > Subject: RE: [cdt-dev] Indexer problems?
> > > 
> > > Just guessing, but it could be the cygwin paths that you are using. 
> > > The CDT does not use cygpath to get at files. You need to 
> > provide the 
> > > paths as real Windows paths.
> > > 
> > > Doug Schaefer, QNX Software Systems
> > > Eclipse CDT Project Lead, http://cdtdoug.blogspot.com
> > >  
> > > 
> > > > -----Original Message-----
> > > > From: cdt-dev-bounces@xxxxxxxxxxx
> > > [mailto:cdt-dev-bounces@xxxxxxxxxxx]
> > > > On Behalf Of dmsubs
> > > > Sent: Tuesday, February 28, 2006 10:08 AM
> > > > To: 'CDT General developers list.'
> > > > Subject: [cdt-dev] Indexer problems?
> > > > 
> > > > 
> > > > Hi
> > > > 
> > > > I have defined a plugin for the GNUARM tools. When I create a new
> > > > (empty) project based on this plugin, I immediately get the
> > > following error:
> > > > 
> > > > Invalid project path: Include path not found (\cygdrive\c\program 
> > > > files\gnuarm\arm-elf\include).
> > > > 
> > > > When I create a simple C "Hello World" program, and build it, the 
> > > > program builds and links without error. However, after the clean 
> > > > build, I still have the following errors reported in the 
> > "Problems"
> > > > window:
> > > > 
> > > > Invalid project path: Include path not found (\cygdrive\c\program 
> > > > files\gnuarm\arm-elf\include).
> > > > Invalid project path: Include path not found (\cygdrive\c\program 
> > > > files\gnuarm\arm-elf\sys-include).
> > > > Invalid project path: Include path not found (\cygdrive\c\program 
> > > > files\gnuarm\lib\gcc\arm-elf\4.0.2\include).
> > > > C/C++ Indexer Problem: Preprocessor Inclusion not found: 
> > > stdio.h in file:
> > > > C:\Workspace\hello\hello.c on line: 1.
> > > > C/C++ Indexer Problem: Preprocessor Inclusion not found: 
> > > stdlib.h in file:
> > > > C:\Workspace\hello\hello.c on line: 2.
> > > > 
> > > > together with Warnings in the editor window by each of the
> > > #includes
> > > > that
> > > > state:
> > > > 
> > > > C/C++ Indexer Problem: Preprocessor Inclusion not found: 
> > > stdio.h in file:
> > > > C:\Workspace\hello\hello.c on line: 1.
> > > > 
> > > > Any clues as to what I am doing wrong?
> > > > 
> > > > Thanks,
> > > > 
> > > > ---
> > > > Derek
> > > > 
> > > > _______________________________________________
> > > > cdt-dev mailing list
> > > > cdt-dev@xxxxxxxxxxx
> > > > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> > 
> > _______________________________________________
> > cdt-dev mailing list
> > cdt-dev@xxxxxxxxxxx
> > https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 
> _______________________________________________
> cdt-dev mailing list
> cdt-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/cdt-dev
> 

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie


Back to the top