CDT 2.1 + MSVC Include Paths Question [message #139836] |
Tue, 01 March 2005 11:17  |
Eclipse User |
|
|
|
Originally posted by: Paul.Henshaw.icimsi.ch
Dear All,
I am using CDT 2.1 with Eclipse 3.0.1 and Visual C++ 6.0 on
Windows 2000/XP.
I am able to build and run our applications correctly, but
I am are rather confused about the behaviour of the "Include
Paths & Symbols" preference page and the F3 "Open Declaration"
action.
If I have two projects, A and B, with B importing A, when I
open B.c and select A_t, the F3 action says "The operation is
unavailable on the current selection". F3 works correctly
for definitions in the same project. I suspect that my
include paths are not setup correctly, and so experiment with
the project preferences.
I would like to export the src folder of project A to project
B. If I open the "Include Paths & Symbols" preferences page
for A, and use the "Add Folder/File" button to add "src", the
entry for this folder is automatically removed when the
autobuilder runs.
If I use the "Add Include Path from Workspace" to add A/src
to A I am able to use the "Export" button to export it. F3
now works correctly from B.c but this doesn't seem like the
right way to export files from one project to another.
I could add A/src directly to Bs include paths, but this is
less convenient if a project is used by many other projects.
Is there a better way of approaching this problem?
I have looked in the user guide, and on the web, but have
not been able to find any non-GNU toolchain examples.
Thanks in advance for any help or advice.
Paul
|
|
|
Re: CDT 2.1 + MSVC Include Paths Question [message #139994 is a reply to message #139836] |
Wed, 02 March 2005 11:51   |
Eclipse User |
|
|
|
Originally posted by: alain.nowhere.ca
Paul Henshaw wrote:
> Dear All,
> I am using CDT 2.1 with Eclipse 3.0.1 and Visual C++ 6.0 on
> Windows 2000/XP.
> I am able to build and run our applications correctly, but
> I am are rather confused about the behaviour of the "Include
> Paths & Symbols" preference page and the F3 "Open Declaration"
> action.
> If I have two projects, A and B, with B importing A, when I
> open B.c and select A_t, the F3 action says "The operation is
> unavailable on the current selection". F3 works correctly
> for definitions in the same project. I suspect that my
> include paths are not setup correctly, and so experiment with
> the project preferences.
> I would like to export the src folder of project A to project
> B. If I open the "Include Paths & Symbols" preferences page
> for A, and use the "Add Folder/File" button to add "src", the
> entry for this folder is automatically removed when the
> autobuilder runs.
> If I use the "Add Include Path from Workspace" to add A/src
> to A I am able to use the "Export" button to export it. F3
> now works correctly from B.c but this doesn't seem like the
> right way to export files from one project to another.
> I could add A/src directly to Bs include paths, but this is
> less convenient if a project is used by many other projects.
> Is there a better way of approaching this problem?
> I have looked in the user guide, and on the web, but have
> not been able to find any non-GNU toolchain examples.
> Thanks in advance for any help or advice.
The steps that you outline seems right.
This look like a nasty bug to me.
Can you PR this, please.
|
|
|
|
Powered by
FUDForum. Page generated in 0.03680 seconds