Community
Participate
Working Groups
Hi, when i add an include path to my project it add the Debug directory to the path and i get an invalid path. for example, my project name is "STB" and it located at "c:\workspace\STB". i have added the path "driver/include". on my project space under the include folder i see the following path: "STB/Debug/driver/include". i have no clue y this happens and i cant compile my prohect since it doesnt find my include files... please check this out. thanks alot, shai
The include paths must be relative to where the compiler is run. Managed Make project builds take place in the project subdirectory that gets its name from the configuration. That's where Debug comes from. Here are 2 alternatives to get this to work: 1. Use ../driver/include 2. Use ${ProjDirPath}/driver/include
(In reply to comment #1) > The include paths must be relative to where the compiler is run. Managed Make > project builds take place in the project subdirectory that gets its name from > the configuration. That's where Debug comes from. > Here are 2 alternatives to get this to work: > 1. Use ../driver/include > 2. Use ${ProjDirPath}/driver/include i did this and now the path is correct but still some folders dont have a "+" sign next to them and it looks like they have no files inside and i dont get the h files i need. some folders work fine. any idea ?
Hi Shai, I'm able to reproduce the problem that you are seeing. Unfortunately, I don't have time now to investigate this further, so I'll leave it "reopened". Regards, Leo
This is not a Managed Build System bug. I see the same behavior with the standard make projects as well: If I add an include path (via "C/C++ Include Paths&Symbols" property page) that corresponds to some workspace resource, include paths entry displayed in the "C/C++ Projects" view has a different icon, displays the workspace path instead of file system location and is not is not browsable. I suppose this was done intentionaly, but let's see what the core guys say about it. I'll change the bug summary and the component.