<?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>LPCXpresso IDEのトピックProject, Library &amp;amp; Linker</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Project-Library-amp-Linker/m-p/588439#M28142</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GPh on Tue Jan 05 07:46:48 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some trouble with the project/library use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCXpresso 8 with a workspace who have some projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some are C project, other C Libray projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each one compiled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i use it in my main/root project, the linker give me errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I define in his property the import library path and include and assembly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there is order in this panels and i don't understand in which order i need to put it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i have :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libB (who use libA)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; board_lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; lpc_chip_lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; MainProject (who use all other)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How is the good order ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Low level first : lpc_chip, board, libA, libB Main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;High level first : Main, libB, libA, board, chip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The -L and -l option are in the linker command line but it say me 'undefined reference' on some functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I miss something and i don't understand where i made wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Philippe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:14:14 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:14:14Z</dc:date>
    <item>
      <title>Project, Library &amp; Linker</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Project-Library-amp-Linker/m-p/588439#M28142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by GPh on Tue Jan 05 07:46:48 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some trouble with the project/library use.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use LPCXpresso 8 with a workspace who have some projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Some are C project, other C Libray projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Each one compiled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But when i use it in my main/root project, the linker give me errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I define in his property the import library path and include and assembly.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But there is order in this panels and i don't understand in which order i need to put it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;if i have :&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libA &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; libB (who use libA)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; board_lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; lpc_chip_lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; MainProject (who use all other)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;How is the good order ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Low level first : lpc_chip, board, libA, libB Main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;High level first : Main, libB, libA, board, chip&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The -L and -l option are in the linker command line but it say me 'undefined reference' on some functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I miss something and i don't understand where i made wrong. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Philippe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Project-Library-amp-Linker/m-p/588439#M28142</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Project, Library &amp; Linker</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Project-Library-amp-Linker/m-p/588440#M28143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Wed Jan 06 02:26:43 MST 2016&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You probably want them listed in the "Libraries (-l)" box of &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Properties - C/C++ Build - Settings - MCU Linker - Libraries &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in the order...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;[list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]Main&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]libB&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]libA&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]board&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; [*]chip&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/list]&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And if you still have problems, then you can probably just look at which library the dependency is from and add that library a second time to the end of the list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that the order in the "Library Search path (-L)" is not relevant in whether your dependencies are found.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;LPCXpresso Support&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Project-Library-amp-Linker/m-p/588440#M28143</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:14:14Z</dc:date>
    </item>
  </channel>
</rss>

