Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » CDT 2.1 + MSVC Include Paths Question
CDT 2.1 + MSVC Include Paths Question [message #139836] Tue, 01 March 2005 11:17 Go to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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.
Re: CDT 2.1 + MSVC Include Paths Question [message #140259 is a reply to message #139994] Mon, 07 March 2005 06:50 Go to previous message
Eclipse UserFriend
Originally posted by: Paul.Henshaw.icimsi.ch

Dear Alain,

thanks for your reply:


"alain" <alain@nowhere.ca> wrote in message
news:d04qtu$1rt$1@www.eclipse.org...

> The steps that you outline seems right.
> This look like a nasty bug to me.
> Can you PR this, please.

Done, id is 87257.

Paul
Previous Topic:Displaynums as string value in debugger?
Next Topic:Cant't build
Goto Forum:
  


Current Time: Fri Jul 04 18:15:40 EDT 2025

Powered by FUDForum. Page generated in 0.03680 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top