I have done a test using your header file but instead of
adding a new folder in the Includes section, I added it in the folder
highlighted in the image. After doing this I included it in my source file as
"#include "hw.h" and it compiled with no errors. I hope you find this information useful, if
not please specify what are you exactly doing with this header file in order to
assist you in a better way.
I will be waiting for your reply and remember we are always happy help you.
Hi Jose, Thanks for the prompt answer but it doesn't really address the issue.
It should be possible to keep a single copy of a source library and include it into any project. Also it should also be possible to keep sources in separate folders according to function.
My PC contains several development environments, Eclipse Neon, QMSI, Visual Studio, Code Composer and Atmel Studio. I want the ability to keep a single copy of a source library and use it anywhere. Right now I can do that with Eclipse, Visual Studio, Code Composer and Atmel Studio but not with QMSI.
To add the include path, open the Project properties menu and select C/C++ General->Paths and Symbols. In the Path and Symbols dialog, select GNU C and the Includes tab as shown
The IDE modifications are complete now but you cannot build the project because include and paths are not reflected in the project makefiles.
The next step will complete the project customization. Open the app.mk file from Project Explorer. Add "CFLAGS += -IC:/temp/includes" (or wherever the dir is ..) before the "QFU_GEN_0= …" line. Build the project.
We are currently in the process of updating the User an Reference Guide with this information so let me know if it works ok for you .
Michelle, I can't believe that you are offering this as a solution. At best its a temporary work-around.
QMSI has broken Eclipse and the only solution is to fix it. People work on Eclipse in a variety of environments and that should all behave the same way.