<?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: MCU Linker Path Error - Release mode in LPCXpresso IDE</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534133#M3945</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Apr 26 10:01:42 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to build the CMSIS library for release too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 21:47:38 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T21:47:38Z</dc:date>
    <item>
      <title>MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534132#M3944</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by AHeng on Tue Apr 26 08:50:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi all,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to build in Release mode and get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"cannot find -lCMSISv1p30_LPC11xx"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In the project properties MCU Linker/Libraries I have "${workspace_loc:/CMSISv1p30_LPC11xx/Release}" for my search path and "CMSISv1p30_LPC11xx" for the library, however in the Linker Options the path is clearly missing from -L"":&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-nostdlib -L"" -Xlinker -Map=TestProject11xx.map -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "TestProject11xx_Release.ld"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I compare this with the Debug mode, Linker options shows the proper search path:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-nostdlib -L"G:\LPCXpresso\workspace.11xx\CMSISv1p30_LPC11xx\Debug" -Xlinker -Map=TestProject11xx.map -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "TestProject11xx_Debug.ld"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I can build in Debug mode without any problems, optimization or not, but the Release mode always gives me the error and can't find the path I already added in the Linker Libraries.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any tips or recommendations would be greatly appreciated!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534132#M3944</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:37Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534133#M3945</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by TheFallGuy on Tue Apr 26 10:01:42 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to build the CMSIS library for release too.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534133#M3945</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534134#M3946</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by AHeng on Tue Apr 26 16:40:46 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That fixed it! Thanks a lot!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do I have to re-build it every time I change the system settings?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534134#M3946</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534135#M3947</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Tue Apr 26 20:22:51 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: AHeng&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Do I have to re-build it every time I change the system settings?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;What do you mean by change the system settings?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If you have built both the debug and release builds of CMSIS in the current workspace then your project can be switched to/from debug/release without having to rebuild CMSIS again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534135#M3947</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:39Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534136#M3948</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Tue Apr 26 23:46:30 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: AHeng&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;I am trying to build in Release mode and get the following error:&lt;BR /&gt;"cannot find -lCMSISv1p30_LPC11xx"&lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For future reference, this error is covered in the following FAQ:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/CannotFindLinkerError&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;And changing the current build configurations is covered in these FAQs:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/ChangeBuildConfig&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://"&gt;http://support.code-red-tech.com/CodeRedWiki/BuildConfigMultipleProjs&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: AHeng&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Do I have to re-build it every time I change the system settings?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As larryvc, says, once you have built the CMSIS library project (in both build configurations) there is normally no need to flip the build configuration of the CMSIS project when you change the build configurations of projects that use it (unless you actually change the CMSIS project sources/properties for some reason). However doing so is probably a good practice to get into.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534136#M3948</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:40Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534137#M3949</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Wed Apr 27 00:16:02 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;As larryvc, says, once you have built the CMSIS library project (in both build configurations) there is normally no need to flip the build configuration of the CMSIS project when you change the build configurations of projects that use it (unless you actually change the CMSIS project sources/properties for some reason). [B]However doing so is probably a good practice to get into[/B].&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I understood this correctly you are recommending flipping the build configuration of CMSIS to match that of the build configuration of the projects.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Why?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't the projects use the correct CMSIS build configuration?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534137#M3949</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534138#M3950</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by CodeRedSupport on Wed Apr 27 01:14:37 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: larryvc&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Why?&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Because recommending that users switch the build configurations of all projects at the same means that they won't run into the "cannot find -lCMSISv1p30_LPC11xx" type error when they then build a particular project :rolleyes: This is particularly the case where multiple library projects are involved (for example, as per the RDB1768 examples).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, once you know what you are doing, you can perhaps not bother doing this. But certainly it makes life "safer" to start with. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;CodeRedSupport&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534138#M3950</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:41Z</dc:date>
    </item>
    <item>
      <title>Re: MCU Linker Path Error - Release mode</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534139#M3951</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larryvc on Wed Apr 27 01:25:55 MST 2011&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: CodeRedSupport&lt;/STRONG&gt;&lt;BR /&gt;...&lt;BR /&gt;OK, once you know what you are doing, you can perhaps not bother doing this. But certainly it makes life "safer" to start with. &lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When do I know when I know what I'm doing?:rolleyes:&amp;nbsp; I like to live dangerously.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for the reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Larry&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 21:47:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/MCU-Linker-Path-Error-Release-mode/m-p/534139#M3951</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T21:47:42Z</dc:date>
    </item>
  </channel>
</rss>

