04-01-2019 04:01 PM - edited 04-01-2019 05:42 PM
I have an SDSoC project that targets a custom platform. That platform is using a BSP defined when making the software components in SDK. I added the BSP include directory in the build settings for the project, but the header files located in that directory are not always found. In my main file and in another file I include "xv_tpg.h", but the compiler only finds it for the main file. When trying to compile the second file I get a "file not found" error. I don't know why it would find the header for one of the files but not both. I've double checked for typos and looked at the compilation log to make sure the main file compiled without errors.
04-08-2019 06:06 PM
I solved my own problem. I have a mixture of .c and .cpp files in my project (inherited code) and I only updated the SDS++ compiler with the new include directory. I added the include path to the SDSCC compiler and it now finds the header files.
04-02-2019 01:45 AM
This happens everytime you build the project?
04-02-2019 10:44 AM
04-02-2019 09:17 PM
Please let me know SDSoC version.
Also, is it possible to share the full log?
04-03-2019 11:46 AM
04-08-2019 06:06 PM
I solved my own problem. I have a mixture of .c and .cpp files in my project (inherited code) and I only updated the SDS++ compiler with the new include directory. I added the include path to the SDSCC compiler and it now finds the header files.