AnsweredAssumed Answered

Linked files not found by compiler?

Question asked by gearhead1107 on Feb 14, 2018
Latest reply on Feb 20, 2018 by gearhead1107

When I use this guide to create linked files in S32DS, I use Ctrl+click/drag to take one file "CAN_TxRx.h" and move it into another project, linked relative to "PROJECT_LOC", however it seems the compiler cannot "see" the linked file

 

In the build for this project, I get the following error:

../Sources/CAN_TxRx.c:8:22: fatal error: CAN_TxRx.h: No such file or directory

..even though the file appears in the "include" folder as a linked file.

 

I've searched around, and most of the issues relate to folks not adding another project's path to the compiler's include path - which doesn't sound relevant to this issue, since the project builds with no errors when "CAN_TxRx.h" is copied in the file system.

 

Is there a build setting I should look for that excludes linked files?

Outcomes