[Solved] Cross-project #include error [message #903152] |
Wed, 22 August 2012 05:02  |
Eclipse User |
|
|
|
I have two projects, an executable and a static library, each with their own source folder. There are many instances of a file from one being #included from the other:
When I try to compile either project, it finds header files from the other project ok, but fails when they in turn include a file from this project.
==================================
Edit: This wasn't a CDT problem, I needed to add the path to 'this project' to the includes.
[Updated on: Thu, 30 August 2012 11:19] by Moderator
|
|
|
|
Re: Cross-project #include error [message #903530 is a reply to message #903288] |
Fri, 24 August 2012 03:35  |
Eclipse User |
|
|
|
Thanks, but we already have a makefile working for this project, and I'm required to convert it to Eclipse.
Anyone else know any ways to get this working via Eclipse? I'd rather not have a pre-build step that copies the entire contents of two projects to a new folder if I can avoid it!
|
|
|
Powered by
FUDForum. Page generated in 0.16245 seconds