I am using 56F83789-EVK with DSC compiler on CW 11.1.
First, I linked a directory into my project. The directory contains common code, specifically my own file, std.h. My main.c has #include "std.h", but the compiler is unable to find std.h even though quite clearly the compile command line for main.c has the -i include directive to the the linked directory. If I change the include to be the absolute full path to std.h, the compiler finds std.h. What is the problem here?
Secondly, std.h contains #include <stdbool.h>. The compiler complains it can't open stdbool.h even though quite clearly the compiler command line for main.c has the -i include directive to C:\Freescale\CW MCU v11.1\MCU\M56800E Support\msl\MSL_C\MSL_Common\Include wherein stdbool.h resides. In this scenario, I am using the absolute full path to std.h so the compiler finds std.h. What is the problem here?
Thank you for any help.