<?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: Include files in Codewarrior 10 in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178994#M4002</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also getting the "Unresolved inclusion" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Project Importer to import a project from CW CF 7.2 to CF MCU 10.1.&amp;nbsp; I'm&amp;nbsp;getting the "Unresolved inclusion" error on system includes such as &amp;lt;ctype.h&amp;gt;, &amp;lt;time.h&amp;gt; and &amp;lt;string.h&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found all of these files in the directory MCU\ColdFIre_Support\ewl\EWL_C\include, so I know they're there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also found them in the Includes section of the project file viewer, if I drill down deep enough in the hierarchy.&amp;nbsp; So Eclipse also knows they're there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding the path to&amp;nbsp;Project Properties --&amp;gt; C/C++ General --&amp;gt; Paths and Symbols --&amp;gt; Include_directories as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${MCUToolsBaseDir}\Coldfire Suport\ewl\EWL_C\include&lt;/P&gt;&lt;P&gt;, although this felt like a redundant step since the "include" directory is already listed in the Project file viewer.&amp;nbsp; After doing a Build All, I get the same "Unresolved inclusion" error and now I get a build warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invalid project path: Include path not found (C:\Program Files (x86)\Freescale\CW MCU v10.1\MCU\Coldfire Support\ewl\EWL_C\include)."&lt;BR /&gt;That is the correct path name, character for character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what's going on?&amp;nbsp; How do I get CW MCU 10.1 to recognize perfectly valid system files in a perfectly valid Include path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RayD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2011 01:22:45 GMT</pubDate>
    <dc:creator>RayD</dc:creator>
    <dc:date>2011-03-17T01:22:45Z</dc:date>
    <item>
      <title>Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178987#M3995</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to build an imported project in Codewarrior 10, but apparently the referenced #include files cannot be found by the compiler. I get the "unresolved inclusion" message.&lt;/P&gt;&lt;P&gt;The on line Codewarrior Infocenter says...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Include FilesThe search for include files is governed by two environment variables: GENPATH: #include "File" Path and LIBRARYPATH: `include &amp;lt;File&amp;gt;' Path. Include files that are included using double quotes as in:#include "test.h"are searched first in the current directory, then in the directory specified by the -I: Include File Path option, then in the directories given in the GENPATH: #include "File" Path environment variable, and finally in those listed in the LIBPATH or LIBRARYPATH: `include &amp;lt;File&amp;gt;' Path environment variable. The current directory is set using the IDE, the Program Manager, or the DEFAULTDIR: Default Current Directory environment variable.Include files that are included using angular brackets as in#include &amp;lt;stdio.h&amp;gt;are searched for first in the current directory, then in the directory specified by the -I option, and then in the directories given in LIBPATH or LIBRARYPATH. The current directory is set using the IDE, the Program Manager, or the DEFAULTDIR environment variable.&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The classic Codewarrior had a window in which one could insert a list of paths with folders containing the include files. Do I now have to put all those paths in an (DOS style) environment variable? There must be a better way, or maybe I don't understand what the documentation is saying.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178987#M3995</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2020-10-29T09:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178988#M3996</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From earlier conversation I remember you are using Coldfire MCU. Right?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;First the documentation you are referring to is related to HC(S)08 compiler and is not valid for Coldfire.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to add additional include paths to your project settings follow these steps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - Open the project Properties dialog&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - On the left hand side of the dialog select "C/C++ Build" -&amp;gt; "Settings"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; - On the right hand side of the dialog select "Coldfire Compiler" -&amp;gt; "Input"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to add include paths in either the User Paths or the System path list box.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;User paths are used if your files are included using double quotes ("filename.h").&lt;/P&gt;&lt;P&gt;System Paths are used when files are included using smaller and bigger sign (&amp;lt;filename.h&amp;gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 25 Feb 2010 18:56:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178988#M3996</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-02-25T18:56:50Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178989#M3997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having a "Unresolved Inclusion" message within the editor window.&amp;nbsp; The project builds OK and if I rename the include file, I get the message the include file cannot be opened.&amp;nbsp; If I change the content of the include file (function prototype), I get the message that the function has no prototype.&amp;nbsp; Actually the include, includes another include and both of the files are flagged with this message.&amp;nbsp; The changes I made are within the nested include so I am certain the paths are setup correct.&amp;nbsp; Is there something the editor needs to know about to prevent this warning?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Will&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Jul 2010 03:54:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178989#M3997</guid>
      <dc:creator>WHookway</dc:creator>
      <dc:date>2010-07-24T03:54:04Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178990#M3998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From this point I think it is better to submit a service request for that.&lt;BR /&gt;&lt;BR /&gt;Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to submit a service request.&lt;BR /&gt;&lt;BR /&gt;Make sure to attach a reproducible project to the service request.&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Jul 2010 19:08:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178990#M3998</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2010-07-27T19:08:45Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178991#M3999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We found includes to be difficult.&amp;nbsp; If you write your own header file and then add it to the workspace, you must add the workspace&amp;nbsp;path tp the include section.&amp;nbsp; In 6.3 code warrrior you could add a .h file into your project and it would find it.&amp;nbsp;&amp;nbsp; In 10.0 you have to add the workspace location to the includes section as shown in the previous post if the header file is in the project.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 06:07:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178991#M3999</guid>
      <dc:creator>SecondTechCo</dc:creator>
      <dc:date>2011-02-05T06:07:34Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Code Warrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178992#M4000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Also when we imported a project from code warrior 6.3 it automatically turned off the require function prototype flag.&amp;nbsp; If you select the project and select properties, settings, tool settings, language you can turn off require prototypes.&amp;nbsp; So when you import a project from 6.3 "require prototypes" appear to be off and when you create a new project it appears to be on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 05 Feb 2011 06:58:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178992#M4000</guid>
      <dc:creator>SecondTechCo</dc:creator>
      <dc:date>2011-02-05T06:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Code Warrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178993#M4001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CodeWarrior V10 is based on Eclipse IDE and some functionality from CodeWarrior Classic are not present there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In order to request an extension&amp;nbsp;in et tool chain or to report a problem I would recommend you to submit a service request for that.&lt;BR /&gt;&lt;BR /&gt;Click &lt;A href="https://www.freescale.com/webapp/servicerequest.create_SR.framework?regFlag=fromOpenSR" rel="nofollow" target="_blank"&gt;here&lt;/A&gt; to submit a service request.&lt;BR /&gt;&lt;BR /&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Feb 2011 18:43:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178993#M4001</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-02-07T18:43:15Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178994#M4002</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm also getting the "Unresolved inclusion" error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the Project Importer to import a project from CW CF 7.2 to CF MCU 10.1.&amp;nbsp; I'm&amp;nbsp;getting the "Unresolved inclusion" error on system includes such as &amp;lt;ctype.h&amp;gt;, &amp;lt;time.h&amp;gt; and &amp;lt;string.h&amp;gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have found all of these files in the directory MCU\ColdFIre_Support\ewl\EWL_C\include, so I know they're there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have also found them in the Includes section of the project file viewer, if I drill down deep enough in the hierarchy.&amp;nbsp; So Eclipse also knows they're there.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding the path to&amp;nbsp;Project Properties --&amp;gt; C/C++ General --&amp;gt; Paths and Symbols --&amp;gt; Include_directories as&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ${MCUToolsBaseDir}\Coldfire Suport\ewl\EWL_C\include&lt;/P&gt;&lt;P&gt;, although this felt like a redundant step since the "include" directory is already listed in the Project file viewer.&amp;nbsp; After doing a Build All, I get the same "Unresolved inclusion" error and now I get a build warning:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; "Invalid project path: Include path not found (C:\Program Files (x86)\Freescale\CW MCU v10.1\MCU\Coldfire Support\ewl\EWL_C\include)."&lt;BR /&gt;That is the correct path name, character for character.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So what's going on?&amp;nbsp; How do I get CW MCU 10.1 to recognize perfectly valid system files in a perfectly valid Include path?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;RayD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 01:22:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178994#M4002</guid>
      <dc:creator>RayD</dc:creator>
      <dc:date>2011-03-17T01:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178995#M4003</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a space in your installation path.&lt;/P&gt;&lt;P&gt;Please enclose the include directory into double quotes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;"${MCUToolsBaseDir}/ColdFire_Support/ewl/EWL_C/include"&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2011 13:52:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178995#M4003</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-03-17T13:52:22Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178996#M4004</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;There is a space in your installation path.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please enclose the include directory into double quotes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;EM&gt;"${MCUToolsBaseDir}/ColdFire_Support/ewl/EWL_C/inc​lude"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Sorry - that was a typing error on my part.&amp;nbsp; The directory shows up in my project tree as "&lt;STRONG&gt;ColdFire_Support&lt;/STRONG&gt;", no space.&amp;nbsp; There are two spaces in "Program Files (x86)", but they don't seem to be affecting any other steps in the build.&amp;nbsp; Why would they affect only this step?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 18 Mar 2011 04:59:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178996#M4004</guid>
      <dc:creator>RayD</dc:creator>
      <dc:date>2011-03-18T04:59:51Z</dc:date>
    </item>
    <item>
      <title>Re: Include files in Codewarrior 10</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178997#M4005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a strange solution to my "Unresolved includes" problem:&amp;nbsp; the #include statements were in my extras.c file, which I created long ago to handle deficiencies in the libraries in 6.3, 7.1 and 7.2.&amp;nbsp; After I imported my project into CW10, I deleted the extras.c file from the project (but didn't erase it from disk, just in case).&amp;nbsp; When I did a Build All, the compiler found &amp;lt;string.h&amp;gt; and the&amp;nbsp;the other system&amp;nbsp;header files&amp;nbsp;someplace else, probably in the EWL_C/include directory, and&amp;nbsp;finished the build&amp;nbsp;with no problems.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 02:29:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Include-files-in-Codewarrior-10/m-p/178997#M4005</guid>
      <dc:creator>RayD</dc:creator>
      <dc:date>2011-03-22T02:29:50Z</dc:date>
    </item>
  </channel>
</rss>

