|
|
|
|
Re: Newbie Help to setup C code project and allow advabced search [message #1549108 is a reply to message #1548951] |
Tue, 06 January 2015 10:27 |
Tauno Voipio Messages: 742 Registered: August 2014 |
Senior Member |
|
|
Dan Catchpole wrote on Tue, 06 January 2015 10:27Hi Eric,
Then I used New->Folder to add my 2 folders. I used the advanced options to add as a linked folder resource, although they are both located within the workspace folder, but I am not sure of any other way to add an existing folder to the project yet.
As all my c files are in one folder, and all my h files are in another folder, both are linked to the project and both are physically within the worksapce folder it is a bit confusing why some MACROs can be found and some can not.
will work my way through the CDT documentation.
I guess Eclipse is such a vast piece of software that it can be a bit daunting and confusing to a new user.
Please check if the h directory is in the list of includes shown in Project Explorer (at left edge of standard CDT perspective layout). Open the list by clicking the triangle at left of the Includes header.
If the directory is not there, open the properties page of your project, either right click the project base icon in the explorer or click the project base and use the Project menu. Open the C/C++ General -> Paths and Symbols dialog, click the Includes tab and use the Add button and its dialogs.
---
I just wonder why the Makefile project setup did not succeed.
- Does the existing project have a make file?
- What steps did you do to set up the project?
- Which C compiler do you use with Eclipse?
- Which operating system?
--
Tauno Voipio
|
|
|
Powered by
FUDForum. Page generated in 0.02925 seconds