<?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: Linking to RTCS problem (MQX 4.1, C++) in MQX Software Solutions</title>
    <link>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320736#M10256</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the linking RTCS from a C++ source code, make sure you put RTCS include files into extern "C" brackets. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extern "C" {&lt;/P&gt;&lt;P&gt; #include "ipcfg.h"&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Jun 2014 08:45:32 GMT</pubDate>
    <dc:creator>Martin_</dc:creator>
    <dc:date>2014-06-18T08:45:32Z</dc:date>
    <item>
      <title>Linking to RTCS problem (MQX 4.1, C++)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320735#M10255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would like to send and receive UDP (or TCP) packets with a C++ application. Since I have not found any other documentation for the networking API, I am copy-pasting parts of the HTTP server example to my C++ code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The first problem I am running into is that the linker cannot find &lt;STRONG&gt;ipcfg_init_device&lt;/STRONG&gt;. Since this symbol is defined in ipcfg.h, which is part of RTCS, I added rtcs.a in the C/C++ Build Settings-&amp;gt;Tool Settings-&amp;gt;ARM Ltd Windows GCC C++ Linker-&amp;gt;Miscellaneous-&amp;gt;Other objects. However, this did not help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My questions are&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;What is the correct way of linking with RTCS?&lt;/LI&gt;&lt;LI&gt;Are there any good examples for simple TCP/UDP communication with MQX 4.1?&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Michael&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 07:22:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320735#M10255</guid>
      <dc:creator>michael_wahler</dc:creator>
      <dc:date>2014-06-18T07:22:43Z</dc:date>
    </item>
    <item>
      <title>Re: Linking to RTCS problem (MQX 4.1, C++)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320736#M10256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For the linking RTCS from a C++ source code, make sure you put RTCS include files into extern "C" brackets. Example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;extern "C" {&lt;/P&gt;&lt;P&gt; #include "ipcfg.h"&lt;/P&gt;&lt;P&gt;....&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 08:45:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320736#M10256</guid>
      <dc:creator>Martin_</dc:creator>
      <dc:date>2014-06-18T08:45:32Z</dc:date>
    </item>
    <item>
      <title>Re: Linking to RTCS problem (MQX 4.1, C++)</title>
      <link>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320737#M10257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! This does the trick.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Jun 2014 11:49:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MQX-Software-Solutions/Linking-to-RTCS-problem-MQX-4-1-C/m-p/320737#M10257</guid>
      <dc:creator>michael_wahler</dc:creator>
      <dc:date>2014-06-18T11:49:49Z</dc:date>
    </item>
  </channel>
</rss>

