<?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: Solution shared for problems when building default C++ application in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376792#M1952</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your sharing.&lt;/P&gt;&lt;P&gt;It's helpful, but when I tried ${PROJECT_LOC}, it also works on my side!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 13 Mar 2015 06:55:22 GMT</pubDate>
    <dc:creator>Rick_Li</dc:creator>
    <dc:date>2015-03-13T06:55:22Z</dc:date>
    <item>
      <title>Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376791#M1951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is just an FYI for anyone trying to get C++ projects working and for the KSDK team.&amp;nbsp; I've been struggling with the (I think) misleading g++ error message "fatal error: no input files".&amp;nbsp; It turns out that when you #include fsl_device_registers.h, you'll also end up #including processor-specific includes, depending upon which processor you have added to your preprocessor definitions.&amp;nbsp; I believe the problem with this file is that it then #includes (in my case) device/MK64F12/MK64F12.&amp;nbsp; While not necessarily a big deal, this file does appear in two different locations on the computer -- one in the KSDK_PATH, and the other in your project folder if you used the KDS New Project wizard.&amp;nbsp; Depending upon which one you pick, and what other -Includes locations you have in your toolchain settings, you may compile successfully or get that "no input files" error.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hopefully this helps someone out.&amp;nbsp; Oh, and BTW there is also an Eclipse bug that also bit me -- you have to use the CDT variable ${ProjDirPath}.&amp;nbsp; ${PROJECT_LOC} will not work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 14:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376791#M1951</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-11T14:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376792#M1952</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot for your sharing.&lt;/P&gt;&lt;P&gt;It's helpful, but when I tried ${PROJECT_LOC}, it also works on my side!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 06:55:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376792#M1952</guid>
      <dc:creator>Rick_Li</dc:creator>
      <dc:date>2015-03-13T06:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376793#M1953</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI Yong, thanks for letting me know.&amp;nbsp; That's very strange!&amp;nbsp; But then again, lots of strange things happen with eclipse that I don't understand.&amp;nbsp; I can take a project and check it out to three different computers.&amp;nbsp; Although it builds on one computer, it may not build on one of the others.&amp;nbsp; It seems like it's possible that eclipse has settings stored elsewhere that resolve file locations properly.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Mar 2015 14:58:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376793#M1953</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-13T14:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376794#M1954</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;KDS drives me crazy sometimes.&amp;nbsp; It's just happened to me again.&amp;nbsp; I checked in a brand-new project this afternoon, then checked it out on a clean system with a brand new installation of KDS, KSDK, and the eclipse update.&amp;nbsp; It built there just fine.&amp;nbsp; Now I'm at home and I've checked out the project and it doesn't compile.&amp;nbsp; As it turns out, when I go to the toolchain settings, I can very clearly see that the ${KSDK_PATH} linked location variable I created is not working. All of my -I arguments are missing "C:\Freescale\KSDK_1.1.0".&amp;nbsp; So, for example, instead of -I"C:\Freescale\KSDK_1.1.0\rtos", I get -I"\rtos".&amp;nbsp; Can anyone explain why this is the case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 03:55:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376794#M1954</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-14T03:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376795#M1955</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Kinetis SDK sets a Windows environment variable named KSDK_PATH. Is this variable set on your system?&lt;/P&gt;&lt;P&gt;You can find out with launching the cmd.exe and typing&lt;/P&gt;&lt;P&gt;set KSDK_PATH&lt;/P&gt;&lt;P&gt;and it should list its value if it is defined.&lt;/P&gt;&lt;P&gt;Otherwise probably you do not havie the Kinetis SDK installed, or that variable somehow did not got defined?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 16:04:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376795#M1955</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2015-03-14T16:04:15Z</dc:date>
    </item>
    <item>
      <title>Re: Solution shared for problems when building default C++ application</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376796#M1956</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich, you are correct, thanks very much.&amp;nbsp; I didn't even bother to check that because my other projects that use KSDK_PATH were previously working.&amp;nbsp; I can't explain how the variable disappeared, but on this particular computer that has KSDK installed, KSDK_PATH is no longer defined!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess this is kind of like electronics.&amp;nbsp; Even if you think something is as it should be, you still have to remember to check power and ground.&amp;nbsp; :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Mar 2015 16:48:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Solution-shared-for-problems-when-building-default-C-application/m-p/376796#M1956</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-14T16:48:03Z</dc:date>
    </item>
  </channel>
</rss>

