<?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>Kinetis Design Studio中的主题 Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368113#M1718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave408,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KSDK 1.2 is going to be released in April, so it won't be very far to have this release . Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Mar 2015 00:27:06 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2015-03-11T00:27:06Z</dc:date>
    <item>
      <title>Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368109#M1714</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've got a project that I want to write in C++ because I'm porting over from mbed, and I prefer C++ to C.&amp;nbsp; &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt;&amp;nbsp; I'm using a FRDM-K64F.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am basing the foundation of my application on the httpsrv example project.&amp;nbsp; I have gotten httpsrv to build fine.&amp;nbsp; However, in order to enable C++, I had to create the application from scratch because httpsrv was written for KDS 1.x and when importing into KDS 2.0, it does not expose the GCC C++ compiler settings.&amp;nbsp; I have read and been told elsewhere to start a new project from scratch, so that's what I did.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While the old httpsrv example worked with the compiled libraries (RTCS and MQX are working), the new one I created does not link.&amp;nbsp; I am at a point where the linker reports a lot of undefined references, and it seems that I have a name mangling problem.&amp;nbsp; I've had no luck so far recompiling the KSDK using g++.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So has anyone else out there built a C++ application using KSDK 1.1.0 and MQX for their Kinetis processor?&amp;nbsp; If so, can you please suggest any good rules of thumb for making it work?&amp;nbsp; I think my approach of trying to link to precompiled libraries is not going to work, and next I'm going to just include the all of the relevant KSDK projects in my C++ application as virtual folders to try to get around the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 05:20:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368109#M1714</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-09T05:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368110#M1715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave408,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The driver of KSDK 1.2 support C++ toochain such as &lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;gcc/iar/keil,&amp;nbsp; though we don't have &lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;C++ library project for drivers, customer may build a custom C++ project with KSDK driver code from ver 1.2.0 on.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Segoe UI;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;&lt;SPAN style="color: #000000; font-family: Segoe UI; font-size: 10pt;"&gt;Hope that helps,&lt;/SPAN&gt;&lt;SPAN lang="zh-cn"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN lang="zh-cn"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 08:27:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368110#M1715</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-03-10T08:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368111#M1716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan, thank you for responding to my question.&amp;nbsp; Could you please give me some more clarification about the C++ / KSDK support?&amp;nbsp; Are you saying that it is not possible *at all* to support C++ applications with KDS 2.0 + KSDK 1.1, or that it's just not set up "out of the box"?&amp;nbsp; I really would like to proceed with some basic C++ applications, and even if it requires a lot of configuration, I would appreciate it if you / Freescale can provide some guidance in that area.&amp;nbsp; If it is just not possible with KSDK 1.1, could you please explain why, as I think that would enhance everyone's understanding.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:14:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368111#M1716</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-10T13:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368112#M1717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kan, I think I found what you might be referring to, but this is something I should be able to do by modifying the KSDK source and then recompiling.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you tell me when 1.2 is going to be released?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.freescale.com/files/soft_dev_tools/doc/support_info/KSDK110RN.pdf"&gt;From the KSDK 1.1 release notes&lt;/A&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P data-canvas-width="15.302004545454546" style="font-size: 18.3477px; font-family: sans-serif;"&gt;7.6 C linkage declaration &lt;/P&gt;&lt;P data-canvas-width="426.0096695454545" style="font-size: 15.6818px; font-family: sans-serif;"&gt;The KSDK is fully tested with all supported C compilers. However, the C linkage declaration for C++ compilers may not be done correctly. This will be fixed in the next KSDK release. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Mar 2015 13:25:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368112#M1717</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-10T13:25:05Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368113#M1718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Dave408,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The KSDK 1.2 is going to be released in April, so it won't be very far to have this release . Thanks for your patience!&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 00:27:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368113#M1718</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-03-11T00:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368114#M1719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hmm... that is really unfortunate.&amp;nbsp; Waiting 3 weeks (I assume which is the best-case scenario) is an eternity.&amp;nbsp; I might have to find another solution.&amp;nbsp; So you believe there really isn't any way to get my C++ application to work with the KSDK as it currently stands, even with local modifications to the library?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:05:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368114#M1719</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-11T06:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368115#M1720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think current version supports C++ because I was told there are some issues on C++ compiling, which are fixed in version 1.2. Sorry for the inconvenience that has caused.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:09:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368115#M1720</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-03-11T06:09:07Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368116#M1721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your reply, Kan.&amp;nbsp; Would you mind inquiring about whether or not this is a C++ compiling issue in general, or something specific to the KSDK?&amp;nbsp; I'm asking because I'm fighting with a simple C++ project right now (I am admittedly very new to GCC and Eclipse), and I don't want to waste time trying to figure this out if it's an exercise in futility.&amp;nbsp; Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368116#M1721</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-11T06:11:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368117#M1722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is some kind of C++ compiling issue in general, and actually, in 1.1, most of the drivers support C++ while we get building issues with a few of them, and the issue is something like not correctly adding "&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Calibri;"&gt; #if _cplusplus... extern .." in some header files, so you will have compiling issue during C++ building , but 1.2 has fixed them to correct format, so you won't have such trouble with C++ building any more.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; font-size: 10pt; font-family: Calibri;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN lang="zh-cn"&gt;&lt;SPAN style="color: #000000; font-family: Calibri; font-size: 10pt;"&gt;Hope that makes sense,&lt;/SPAN&gt;&lt;SPAN lang="zh-cn"&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 06:33:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368117#M1722</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-03-11T06:33:09Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368118#M1723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, that is kind of what I was expecting.&amp;nbsp; So then if I were persistent enough, I figure I can go through all of the header files and figure out where extern "C" needs to be used when using g++, right?&amp;nbsp; At least to get me going until the official 1.2 KSDK is released...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:06:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368118#M1723</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-03-11T07:06:31Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368119#M1724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, exactly.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Mar 2015 07:08:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368119#M1724</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2015-03-11T07:08:26Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368120#M1725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again, Kan!&amp;nbsp; By any chance do you have a sample C++ project now that KSDK 1.2 has been released?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 18:14:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368120#M1725</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-05-15T18:14:02Z</dc:date>
    </item>
    <item>
      <title>Re: Is anyone building C++ apps with the KSDK 1.1.0 and MQX?</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368121#M1726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ok, never mind, I figured it out.&amp;nbsp; :smileyhappy:&amp;nbsp; I found that the new project wizard doesn't put the CPU preprocessor definition in the C++ compiler settings.&amp;nbsp; Once I added that, my test app worked fine.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2015 14:11:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Is-anyone-building-C-apps-with-the-KSDK-1-1-0-and-MQX/m-p/368121#M1726</guid>
      <dc:creator>dave408</dc:creator>
      <dc:date>2015-05-18T14:11:42Z</dc:date>
    </item>
  </channel>
</rss>

