Indexing problems [message #121493] |
Thu, 23 September 2004 12:27  |
Eclipse User |
|
|
|
Hi,
I encounter some problems with navigation with C++ Project -
When I select a function and press F3 (Open declaration) I get an error
saying:
The operation is unavailable on the current selection" and
the navigation fails.
I tried to see what is the problem and I found myself a little confused
with the C++ indexser.
I hope you'll be able to help me...
I have these questions:
1. I get many Indexer Problems, even though in the Discovered Paths
container (in the C/C++ Include Paths & Symbols project property page) I
can see all the relevant includes were found !
Here are some of the errors:
C/C++ Indexer Problem: Attempt to use symbol failed : _prm in file:
/view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/args.h
C/C++ Indexer Problem: Preprocessor Conditionals unbalanced : endif in
file: /view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/baseid.h
C/C++ Indexer Problem: Attempt to use symbol failed : ostream in file:
/view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/buffer.h
2. Why I got semantic or syntactic errors when the project was
successfully compiled?
3. I have some questions regarding the C++ Include Paths & Symbols project
property page:
a. I selected the Discovery paths->include sub folder, pressed on the 'add
Folder/File...' option and selected a folder. I saw the folder in the
Include paths and Preprocessor Symbols list, under the project name.
After pressing OK and reopening the Properties Dialog I saw that the
folder I added was vanished !
(The same behavior occurred when I didn't select anything in the Include
paths and Preprocessor Symbols list and selected the 'add Folder/File...'
option).Is it supposed to be like that or is it a bug?
What does the 'add Folder/File...' option suppose to do?
b. What does the 'Add Contributed...' option,suppose to do? It also
doesn't work for me ...
4.Does the C/C++ make project option have anything to do with the indexer
(John told me I need to change the Discovery options to enable
5. The 'Path Containers' in the C/C++ Project paths can have different
paths from the paths that are mentioned in the C/C++ Include paths &
Symbols option. Are these path relevant to the indexer? Why can they be
different?
Thabks a lot
Guy
|
|
|
|
|
|
Re: Indexing problems [message #121716 is a reply to message #121596] |
Mon, 27 September 2004 03:32  |
Eclipse User |
|
|
|
Hi John,
Thank you for your answer.
I tried in the past to build my project with remote compilation, but the
remote navigation failed. Now I have the severe problem that locale
navigation fails too, even though the include paths discovered by Scanner
Discovery are valid on my system !
What do you think I should do?
johnc wrote:
> I noticed in a previous post that you're doing ssh to build your project.
> If the include paths discovered by Scanner Discovery are not valid on your
> system (i.e. make uses a directory not available on your local machine) then
> you are unfortunately out of luck w/this feature.
> We need the include files in order to properly parse your source code.
> JC
> "Guy" <guy.Milman@comverse.com> wrote in message
> news:ciuti9$qcu$1@eclipse.org...
> > Hi,
> > I encounter some problems with navigation with C++ Project -
> > When I select a function and press F3 (Open declaration) I get an error
> > saying:
> > The operation is unavailable on the current selection" and
> > the navigation fails.
> > I tried to see what is the problem and I found myself a little confused
> > with the C++ indexser.
> > I hope you'll be able to help me...
> > I have these questions:
> >
> > 1. I get many Indexer Problems, even though in the Discovered Paths
> > container (in the C/C++ Include Paths & Symbols project property page) I
> > can see all the relevant includes were found !
> > Here are some of the errors:
> >
> > C/C++ Indexer Problem: Attempt to use symbol failed : _prm in file:
> > /view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/args.h
> >
> > C/C++ Indexer Problem: Preprocessor Conditionals unbalanced : endif in
> > file: /view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/baseid.h
> >
> > C/C++ Indexer Problem: Attempt to use symbol failed : ostream in file:
> > /view/gmilman_myView_view/mvobs/INFRA/code/adt/inc/buffer.h
> >
> > 2. Why I got semantic or syntactic errors when the project was
> > successfully compiled?
> > 3. I have some questions regarding the C++ Include Paths & Symbols project
> > property page:
> > a. I selected the Discovery paths->include sub folder, pressed on the 'add
> > Folder/File...' option and selected a folder. I saw the folder in the
> > Include paths and Preprocessor Symbols list, under the project name.
> > After pressing OK and reopening the Properties Dialog I saw that the
> > folder I added was vanished !
> > (The same behavior occurred when I didn't select anything in the Include
> > paths and Preprocessor Symbols list and selected the 'add Folder/File...'
> > option).Is it supposed to be like that or is it a bug?
> > What does the 'add Folder/File...' option suppose to do?
> > b. What does the 'Add Contributed...' option,suppose to do? It also
> > doesn't work for me ...
> > 4.Does the C/C++ make project option have anything to do with the indexer
> > (John told me I need to change the Discovery options to enable
> > 5. The 'Path Containers' in the C/C++ Project paths can have different
> > paths from the paths that are mentioned in the C/C++ Include paths &
> > Symbols option. Are these path relevant to the indexer? Why can they be
> > different?
> >
> > Thabks a lot
> > Guy
> >
> >
|
|
|
Powered by
FUDForum. Page generated in 0.04852 seconds