<?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: Can't build MQX 4.0 examples using IAR in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250883#M7246</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - the suggestion that I check my debug folder was the key clue.&amp;nbsp; My psp folder was empty; apparently, my attempt to batch-build MQX failed, and only the mqx project got built.&amp;nbsp; When I built the psp project then re-built the hello example, it linked without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, and your persistence!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 01 Nov 2013 18:34:04 GMT</pubDate>
    <dc:creator>chrisxl</dc:creator>
    <dc:date>2013-11-01T18:34:04Z</dc:date>
    <item>
      <title>Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250878#M7241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to build the hello example in mqx/examples using IAR Embedded Workbench (EWARM 6.6).&amp;nbsp; I created an empty workspace and added the project (mqx\examples\hello\iar\hello_twrk40x256\hello_twrk40x256.ewp) to it.&amp;nbsp; When I built the project, I got this error message:&lt;/P&gt;&lt;P&gt;"cannot open source file mqx.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I looked at the include paths listed in the project settings, and the path to this file was missing.&amp;nbsp; After adding &amp;lt;blah-blah&amp;gt;\mqx\include to the path list, the error message changed to:&lt;/P&gt;&lt;P&gt;"cannot open source file "psptypes.h"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Apparently, the project file doesn't know where to find any of the MQX headers.&amp;nbsp; I tried building a different example using a different target choice, with the same result.&amp;nbsp; I have already built the MQX library without issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I fix this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 18:23:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250878#M7241</guid>
      <dc:creator>chrisxl</dc:creator>
      <dc:date>2013-10-31T18:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250879#M7242</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Be sure you are building the right libraries (Debug&lt;SPAN style="mso-spacerun:yes"&gt;&amp;nbsp;&lt;/SPAN&gt; or Release).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example F8, select DEBUG and Make&lt;/P&gt;&lt;P&gt;IAR uses environment variables for paths, check it in the windows command line:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;C:\ set MQX&lt;/P&gt;&lt;P&gt;MQX_PATH=C:\Freescale\Freescale_MQX_4_0&lt;/P&gt;&lt;P&gt;MQX_ROOT=C:\Freescale\Freescale_MQX_4_0&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 21:20:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250879#M7242</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-31T21:20:19Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250880#M7243</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using the Debug config for both libraries and the example.&amp;nbsp; My MQX environment variables are exactly as you indicated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is the full error message (tried building the gpio example this time):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Fatal Error[Pe1696]: cannot open source file "mqx_cnfg.h" C:\Freescale\Freescale_MQX_4_0\lib\twrk40x256.iar\debug\bsp\mqx.h 84 &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\lib\twrk40x256.iar\debug\bsp\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\iar\gpio_twrk40x256/../../../../../lib/twrk40x256.iar/debug/psp\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\iar\gpio_twrk40x256/../../../../../lib/twrk40x256.iar/debug/bsp/Sources\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\iar\ &lt;/P&gt;&lt;P&gt;gpio_twrk40x256/../../../../../lib/twrk40x256.iar/debug/bsp/Generated_Code\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\iar\gpio_twrk40x256/../../../../../lib/twrk40x256.iar/debug/bsp\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Freescale\Freescale_MQX_4_0\mqx\examples\gpio\iar\gpio_twrk40x256/../../../../../lib/twrk40x256.iar/debug\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\" &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; searched: "C:\Program Files\IAR Systems\Embedded Workbench 6.5\arm\inc\c\" &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 22:16:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250880#M7243</guid>
      <dc:creator>chrisxl</dc:creator>
      <dc:date>2013-10-31T22:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250881#M7244</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is the file &lt;SPAN style="background-color: rgba(255, 255, 255, 0);"&gt;"mqx_cnfg.h"&lt;/SPAN&gt; in your mqx folders?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would reinstall the mqx.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Luis&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Oct 2013 23:25:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250881#M7244</guid>
      <dc:creator>LuisCasado</dc:creator>
      <dc:date>2013-10-31T23:25:46Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250882#M7245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Chris,&lt;/P&gt;&lt;P&gt;Instead of creating a new workspace, please open IAR6.6, drag-n-drop the following file into the Workspace are of IAR IDE.&amp;nbsp; This will open the entire RTOS. &lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_0_2_GA\config\twrk40x256\iar\build_libs.eww&lt;/P&gt;&lt;P&gt;Then do the build steps Luis mentions.&amp;nbsp; Then check your MQX4.0\lib\twrk40x256.iar\debug folder to ensure it has all the RTOS component folders that have headers and library file.&lt;/P&gt;&lt;P&gt;Then drag-n-drop the following MQX application project into IAR as a test:&lt;/P&gt;&lt;P&gt;C:\Freescale\Freescale_MQX_4_0_2_GA\mqx\examples\hello\iar\hello_twrk40x256\hello_twrk40x256.ewp&lt;/P&gt;&lt;P&gt;I like to have entire RTOS open with the MQX application I'm debugging.&lt;/P&gt;&lt;P&gt;Make it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 15:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250882#M7245</guid>
      <dc:creator>DavidS</dc:creator>
      <dc:date>2013-11-01T15:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Can't build MQX 4.0 examples using IAR</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250883#M7246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;OK - the suggestion that I check my debug folder was the key clue.&amp;nbsp; My psp folder was empty; apparently, my attempt to batch-build MQX failed, and only the mqx project got built.&amp;nbsp; When I built the psp project then re-built the hello example, it linked without error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help, and your persistence!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 01 Nov 2013 18:34:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Can-t-build-MQX-4-0-examples-using-IAR/m-p/250883#M7246</guid>
      <dc:creator>chrisxl</dc:creator>
      <dc:date>2013-11-01T18:34:04Z</dc:date>
    </item>
  </channel>
</rss>

