<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Linked files not found by compiler? in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745593#M2522</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erich! The path for both the linked and non-linked version of the file is the following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"${ProjDirPath}/include"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 00:51:39 GMT</pubDate>
    <dc:creator>gearhead1107</dc:creator>
    <dc:date>2018-02-20T00:51:39Z</dc:date>
    <item>
      <title>Linked files not found by compiler?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745591#M2520</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When I use &lt;A href="https://mcuoneclipse.com/2014/08/15/link-to-files-and-folders-in-eclipse/"&gt;this guide&amp;nbsp;&lt;/A&gt;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&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the build for this project, I get the following error:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;../Sources/CAN_TxRx.c:8:22: fatal error: CAN_TxRx.h: No such file or directory&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;..even though the file appears in the "include" folder as a linked file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a build setting I should look for that excludes linked files?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Feb 2018 18:12:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745591#M2520</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2018-02-14T18:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Linked files not found by compiler?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745592#M2521</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is this error generated by the compiler? What happens is that the 'make' (or managed make) driver callse the compiler with the source (*.c) file and passes the option -I to the compiler with the search path list where to find the header file. It seems to me that the compiler cannot find that header file. Can you double check that the -I option has the path to that CAN_TxRx.h file present? For testing you might specify he absolute path to that directory too in the compiler settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 17 Feb 2018 08:06:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745592#M2521</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2018-02-17T08:06:05Z</dc:date>
    </item>
    <item>
      <title>Re: Linked files not found by compiler?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745593#M2522</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Erich! The path for both the linked and non-linked version of the file is the following:&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;"${ProjDirPath}/include"&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 00:51:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745593#M2522</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2018-02-20T00:51:39Z</dc:date>
    </item>
    <item>
      <title>Re: Linked files not found by compiler?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745594#M2523</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Andrew,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you post here the "CAN_TxRx.args" file. This file should be located somewhere in your output directory e.g. "Debug\Sources". It contains all the include paths.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Drag&amp;amp;Drop a header file as a linked file into your project does not add the include path into your project properties. You have to do it manually e.g. here:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18549i8377E7727618712A/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;or here:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18603iAA41FBCCC49A2608/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Hope it helps.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Stan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:51:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745594#M2523</guid>
      <dc:creator>stanish</dc:creator>
      <dc:date>2018-02-20T09:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Linked files not found by compiler?</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745595#M2524</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's a bummer that you have to manually go back and include the path when the "feature" should supposedly make it seamless.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ironically it seems that both must be done - c files must be virtually added to the build path, and includes must be specified under paths and symbols&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 02:28:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Linked-files-not-found-by-compiler/m-p/745595#M2524</guid>
      <dc:creator>gearhead1107</dc:creator>
      <dc:date>2018-02-21T02:28:55Z</dc:date>
    </item>
  </channel>
</rss>

