Linked resources, header files and includes paths [message #1767509] |
Thu, 06 July 2017 11:27  |
Eclipse User |
|
|
|
Hi,
I'm experimenting linked resources but when header files get involved it seems to become pretty confusing..
I have 2 projects in Eclipse neon, let say A and B.
A is the main project, it uses an external makefile for build and that projects builds successfully.
Second project B, in the same workspace, is made of B-private files and some C and H files belonging to project A.
I use linked resource to "add" in project B source files from project A.
For C source files, this is OK, works fine.
For H source files, I add one H file as a linked resource in my project B. But that file cannot be found by gcc (No such file or directory) - unlike other B-private H files.
It seems that linked files are not visible to the project even when they are located in a valid folder (where others H files are properly included).
Are there some specific rules to get linked header files properly included in a project ?
Thanks in advance for any hint,
Alex
|
|
|
|
|
|
|
|
|
Re: Linked resources, header files and includes paths [message #1767740 is a reply to message #1767653] |
Mon, 10 July 2017 09:46  |
Eclipse User |
|
|
|
Well, ok, thank you for your reply, I indeed started using sym links wich works pretty fine. I just thought it would be as simple with Eclipse. But this might not the the proper use of linked resources in Eclipse.
Documentation doesn't specifically mention the cases of header files.
Thanks again for your support !
ALeX
|
|
|
Powered by
FUDForum. Page generated in 0.03170 seconds