<?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>MCUXpresso IDEのトピックRe: issue in adding external library</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345527#M7452</link>
    <description>&lt;P&gt;Are you sure the library has been compiled for the MCU you are using?&lt;/P&gt;&lt;P&gt;It seems that the content is not compatible with what you have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
    <pubDate>Fri, 24 Sep 2021 04:19:44 GMT</pubDate>
    <dc:creator>ErichStyger</dc:creator>
    <dc:date>2021-09-24T04:19:44Z</dc:date>
    <item>
      <title>issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345514#M7450</link>
      <description>&lt;P&gt;I want to add an external library in my project but getting the error as" error adding symbols, file format not recognized" I have followed the below steps:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Add &lt;STRONG&gt;lib&lt;/STRONG&gt; folder and &lt;STRONG&gt;.a&lt;/STRONG&gt; library to the project workspace&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anshun_0-1632455004232.png" style="width: 200px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157217i308B0A86BC2DBF01/image-size/small?v=v2&amp;amp;px=200" role="button" title="anshun_0-1632455004232.png" alt="anshun_0-1632455004232.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;2.Make sure you only specify &lt;STRONG&gt;library_name&lt;/STRONG&gt;. in the project settings&lt;/P&gt;&lt;P&gt;For example, if you have a library called &lt;STRONG&gt;libmyxml.a&lt;/STRONG&gt;, you will specify &lt;STRONG&gt;myxml&lt;/STRONG&gt; in the Linker Libraries settings.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Note&lt;/STRONG&gt; that you will also need to specify the location that you have placed the library archive in the &lt;EM&gt;Library search path&lt;/EM&gt; &lt;EM&gt;(-L)&lt;/EM&gt; setting&lt;/P&gt;&lt;P&gt;3. Add the lib to Project -&amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Tool Settings&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -&amp;gt; MCU Linker -&amp;gt; Libraries -&amp;gt; Libraries (-l)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="anshun_1-1632455004257.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/157218i1963A856668B5FFE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="anshun_1-1632455004257.png" alt="anshun_1-1632455004257.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;kindly help.&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 03:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345514#M7450</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-24T03:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345525#M7451</link>
      <description>&lt;P&gt;anshun&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; You try this method its woks fine for me&lt;/P&gt;&lt;P&gt;&lt;A title="Creating and using Libraries with ARM gcc and Eclipse" href="http:// https://mcuoneclipse.com/2013/02/12/creating-and-using-libraries-with-arm-gcc-and-eclipse/&amp;nbsp;" target="_self"&gt;https://mcuoneclipse.com/2013/02/12/creating-and-using-libraries-with-arm-gcc-and-eclipse/&amp;nbsp;&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 04:13:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345525#M7451</guid>
      <dc:creator>KalaimaniArumugam</dc:creator>
      <dc:date>2021-09-24T04:13:46Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345527#M7452</link>
      <description>&lt;P&gt;Are you sure the library has been compiled for the MCU you are using?&lt;/P&gt;&lt;P&gt;It seems that the content is not compatible with what you have.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 04:19:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345527#M7452</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-09-24T04:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345606#M7453</link>
      <description>&lt;P&gt;this link is not opening&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:37:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345606#M7453</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-24T06:37:43Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345611#M7454</link>
      <description>&lt;P&gt;Try this one:&lt;/P&gt;&lt;P&gt;&lt;A href="https://mcuoneclipse.com/2013/02/12/creating-and-using-libraries-with-arm-gcc-and-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2013/02/12/creating-and-using-libraries-with-arm-gcc-and-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 06:40:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345611#M7454</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-09-24T06:40:24Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345663#M7455</link>
      <description>&lt;P&gt;&amp;nbsp;the library which i have contains the header file and .a file.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried to compile it in a separate project and get another .a file.&lt;/P&gt;&lt;P&gt;But when i use the APIs of this library in main project, it shows undefined reference,&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:38:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345663#M7455</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-24T07:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345664#M7456</link>
      <description>&lt;P&gt;.a file is already there but how to make it compatible with the ide i am using ?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:39:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345664#M7456</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-24T07:39:42Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345671#M7457</link>
      <description>&lt;P&gt;The archive (.a) is basically a collection of compiled object (ELF/Dwarf) files. The library needs to be compiled for your target (same processor) and be compatible with the toolchain used (e.g. GCC, memory model, EABI used, etc).&lt;/P&gt;&lt;P&gt;Ideally you have all the source files to build that .a file. If not, you need to contact the vendor/provider of that .a file.&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:45:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345671#M7457</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-09-24T07:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345676#M7458</link>
      <description>&lt;P&gt;Ok, Thank you&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 07:51:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345676#M7458</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-24T07:51:29Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345802#M7459</link>
      <description>&lt;P&gt;Where did you get the library from? From your description, I suspect that you did not get the correct ARM version of the library. Did you get the x86 version? Or perhaps a version for ARM Linux?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Sep 2021 10:37:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1345802#M7459</guid>
      <dc:creator>converse</dc:creator>
      <dc:date>2021-09-24T10:37:04Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1346459#M7460</link>
      <description>&lt;P&gt;Yes, i got x86 version.&lt;/P&gt;&lt;P&gt;when i build my project just by adding the library it gets build. But when I call those APIs it shows undefined reference error.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 04:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1346459#M7460</guid>
      <dc:creator>anshun</dc:creator>
      <dc:date>2021-09-27T04:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: issue in adding external library</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1346462#M7461</link>
      <description>&lt;P&gt;You cannot link an ARM binary with a binary/archive/library compiled for x86. It simply cannot work. You will need a library built for the same ARM architecture.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Mon, 27 Sep 2021 04:13:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/issue-in-adding-external-library/m-p/1346462#M7461</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2021-09-27T04:13:30Z</dc:date>
    </item>
  </channel>
</rss>

