<?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: MCUXpresso:  Missing header files even with correct include paths in MCUXpresso IDE</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080512#M5876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share a screenshot of the problem itself? And maybe the console output of the compiler command line (there you should see where it searches for the includes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the screenshot I see&lt;/P&gt;&lt;P&gt;"${workspace_loc:/$(ProjectName}/utilities}"&lt;/P&gt;&lt;P&gt;"${workspace_loc:/$(ProjectName}/drivers}"&lt;/P&gt;&lt;P&gt;but you say&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;These header files exist in&amp;nbsp;my workspace under a separate folder (drivers). &lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;So they are not in your project, not on yourr workspace root? Your setting above is for a path of a project in your workspace and then inside a subfolder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If what I assume is that you have utilities and drivers *inside* your project, then simply use project relative paths (relative to the 'Debug' or 'Release' output folder, for example have this:&lt;/P&gt;&lt;P&gt;"../drivers"&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>Wed, 13 May 2020 05:25:21 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2020-05-13T05:25:21Z</dc:date>
    <item>
      <title>MCUXpresso:  Missing header files even with correct include paths</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080511#M5875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000;"&gt;I'm working on a project with the MK22FN1M0Axxx12 chip.&lt;/SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #252526; background-color: #ffffff; font-size: 16px;"&gt;&amp;nbsp;&lt;SPAN style="color: #000000; font-size: 15px;"&gt;In my MCUXpresso project, I am using the SDK_2.x_MK22FN1M0Axxx12.&amp;nbsp; I have a few components from the SDK enabled such as GPIO, Port, and common, but when I go to build my configuration I get errors in my utilities folder for missing header files.&amp;nbsp; These header files exist in&amp;nbsp;my workspace under a separate folder (drivers).&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_9.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106359iEACCD6638EB098B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_9.png" alt="pastedImage_9.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;From reading other community posts, I have double checked my Project properties to make sure I am including the proper pathways.&amp;nbsp; Above, you can see that my utilities and drivers folders exist in my include path.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;If I attempt to manually resolve the error in my file by typing out the full pathway for the missing header file, I get new errors based on missing header files in that file.&amp;nbsp; I have double checked to ensure that my folders in question are not being excluded from the build.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_11.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106440iF0C1F5F64A5030F5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_11.png" alt="pastedImage_11.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;I have also double checked that under "Manage SDK components" the proper driver has been enabled.&amp;nbsp; For example, my error says I am missing "fsl_common.h", and above you can see that common has been enabled.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;I have tried deleting my project and recloning from my team's source control, which is working for them, but I am still seeing the same issue occur.&amp;nbsp; I am wondering if there is a step somewhere I have missed with making sure my IDE&amp;nbsp;and my project are configured properly.&amp;nbsp; Any help in the matter would be appreciated.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;Thanks for your time and assistance,&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px;"&gt;Carson.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 May 2020 21:41:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080511#M5875</guid>
      <dc:creator>cennis</dc:creator>
      <dc:date>2020-05-12T21:41:43Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso:  Missing header files even with correct include paths</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080512#M5876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Could you share a screenshot of the problem itself? And maybe the console output of the compiler command line (there you should see where it searches for the includes).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the screenshot I see&lt;/P&gt;&lt;P&gt;"${workspace_loc:/$(ProjectName}/utilities}"&lt;/P&gt;&lt;P&gt;"${workspace_loc:/$(ProjectName}/drivers}"&lt;/P&gt;&lt;P&gt;but you say&lt;/P&gt;&lt;P&gt;"&lt;SPAN style="background-color: #ffffff; color: #000000; font-size: 15px; "&gt;These header files exist in&amp;nbsp;my workspace under a separate folder (drivers). &lt;/SPAN&gt;"&lt;/P&gt;&lt;P&gt;So they are not in your project, not on yourr workspace root? Your setting above is for a path of a project in your workspace and then inside a subfolder.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If what I assume is that you have utilities and drivers *inside* your project, then simply use project relative paths (relative to the 'Debug' or 'Release' output folder, for example have this:&lt;/P&gt;&lt;P&gt;"../drivers"&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>Wed, 13 May 2020 05:25:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080512#M5876</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2020-05-13T05:25:21Z</dc:date>
    </item>
    <item>
      <title>Re: MCUXpresso:  Missing header files even with correct include paths</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080513#M5877</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for getting back to me so quickly, Erich,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Here is what I am seeing on the console at build time:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/106547i1C97F4B2531FA970/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;From my understanding, my utilities and drivers folder are both inside the workspace, so the pathways you highlighted should be appropriate, right?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Immediately proceeding the error, the console outputs the following:&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc -DCPU_MK22FN1M0AVLQ12 -DCPU_MK22FN1M0AVLQ12_cm4 -DCPU_MK22FN1M0VLQ12 -DUSB_STACK_BM -DCPU_MK22FN1M0VLQ12_cm4 -D__REDLIB__ -DSDK_OS_BAREMETAL -DFSL_RTOS_BM -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\drivers" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\device\source\khci" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\include" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\osa" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\utilities" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\drivers" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\sources" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\drivers" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\CMSIS" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\CMSIS_driver" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\board" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\source" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\startup" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\device\class\cdc" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\device\class" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\device\source" -I"\\VMWARE-HOST\Shared Folders\SHARE\repositories\MCUX SSCB HW Test\usb\device\include" -O0 -fno-common -g3 -Wall -c -ffunction-sections -fdata-sections -ffreestanding -fno-builtin -fmerge-constants -fmacro-prefix-map="../utilities/"=. -mcpu=cortex-m4 -mthumb -D__REDLIB__ -fstack-usage -specs=redlib.specs -MMD -MP -MF"utilities/fsl_log.d" -MT"utilities/fsl_log.o" -MT"utilities/fsl_log.d" -o "utilities/fsl_log.o" "../utilities/fsl_log.c"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I'm following your suggestion correctly, then the issue is that my workspace is a different directory from the source files in my project?&amp;nbsp; For example, my project files are in a source control repository in the pathway shown in the console output, but my IDE workspace is in a different directory.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help and your follow up,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Carson.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2020 13:08:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/MCUXpresso-Missing-header-files-even-with-correct-include-paths/m-p/1080513#M5877</guid>
      <dc:creator>cennis</dc:creator>
      <dc:date>2020-05-13T13:08:30Z</dc:date>
    </item>
  </channel>
</rss>

