Bug 163646 - Includes folder in managed C projects
Summary: Includes folder in managed C projects
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build (show other bugs)
Version: 3.1.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: cdt-build-inbox@eclipse.org CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-07 07:11 EST by Tiziano Leidi CLA
Modified: 2020-09-04 15:16 EDT (History)
1 user (show)

See Also:


Attachments
Managed C Project with include folder (4.78 KB, image/gif)
2006-11-07 07:12 EST, Tiziano Leidi CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tiziano Leidi CLA 2006-11-07 07:11:05 EST
The situation illustrated in the attachment still causes misunderstandings to users.

In a managed C project sometimes appears an include folder. What cause its apperance is not clear.
This could be still acceptable, what user do not undertand is why the include folder contains the following paths:

ProjectName/Debug/C
C:/Program

the second path really has no meaning and is probably there because the window path "Program Files" contains a white space.

It would be nice to have this situation clarified.
Comment 1 Tiziano Leidi CLA 2006-11-07 07:12:54 EST
Created attachment 53359 [details]
Managed C Project with include folder
Comment 2 Mikhail Sennikovsky CLA 2006-11-07 07:20:24 EST
What kind of project type/tool-chain are you using? Is this standatd "Gnu on Windows" project types supplied with CDT?

Do you have any custom includes settings specified in your project, i.e. "C/C++ Build" property page -> "Tool Settings" -> "GCC C Compiler" -> "Directories" ?

Mikhail
Comment 3 Tiziano Leidi CLA 2006-11-07 07:37:15 EST
Hi Mikhail !

No, project properties are empty (default).

What I've done is just:

1) created the new project
2) cheated the test.h file

what we've got, that I could suppose a possible cause to the problem, are the following defined operating system environment variables:

CPATH C:\Program Files\SYD-SDK\PThreads
LIBRARY_PATH C:\Program Files\SYD-SDK\PThreads

they are reflected in preferences for Managed Build - System Variables.
Yes, we need both variables !

I'm not able to understand if both variables are the real problem, because the folder sometime appears and sometimes not.




Comment 4 Tiziano Leidi CLA 2006-11-07 07:40:15 EST
Sorry,

an answer was missing:

To create the project I used the standard wizard contained in CDT.
C->Managed Make C Project
Comment 5 Chris Recoskie CLA 2007-05-16 10:52:28 EDT
Doug, would this be fixed now by your MinGW toolchain?
Comment 6 Doug Schaefer CLA 2007-05-16 11:50:27 EDT
(In reply to comment #5)
> Doug, would this be fixed now by your MinGW toolchain?

Nope. It looks like a spaces in filename problem. The scanner discovery to set up the included calls gcc which probably returns these paths. This could be a problem with the scanner discovery output parser. Not sure...