<?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中的主题 Re: Error During Release Build</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553477#M12781</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 Thu Feb 23 05:22:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ub3r&lt;/STRONG&gt;&lt;BR /&gt;Hi Guys,&lt;BR /&gt;During a debug biuld everything compiles fine, however when i set the build to Release i get this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
cannot find -lCMSISv1p30_LPC13xx&amp;nbsp;&amp;nbsp;&amp;nbsp; APD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;Also, Whats the difference between the release and debug??&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few FAQs that you may find useful...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CannotFindLinkerError&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/BuildConfigMultipleProjs&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CompilerOptimization&lt;/A&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>Thu, 16 Jun 2016 02:03:00 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T02:03:00Z</dc:date>
    <item>
      <title>Error During Release Build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553474#M12778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ub3r on Wed Feb 22 20:38:46 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi Guys,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;During a debug biuld everything compiles fine, however when i set the build to Release i get this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
cannot find -lCMSISv1p30_LPC13xxAPD C/C++ Problem
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, Whats the difference between the release and debug??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Cheers&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:02:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553474#M12778</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:02:58Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Release Build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553475#M12779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by js-nxp on Wed Feb 22 23:33:39 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;One of the difference is that by default the release build has the optimisation set at -Os while the debug has it set at -O0. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So it is likely that code will be "optimised" (I love that word) away if the compiler thinks that the code is useless. :D&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case it seems that it cannot find the CMSIS. Are you really using v1.30 or the newer V2.0 in your project?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Maybe of not much help, I'm still trying to find my way with NXP chips. Anything for a fellow Sydney sider.&amp;nbsp; :)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:02:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553475#M12779</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:02:59Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Release Build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553476#M12780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by Ex-Zero on Wed Feb 22 23:43:14 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;That's a linker error message. It's complaining because it can't find CMSISv1p30_LPC13xx library. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you compile CMSISv1p30_LPC13xx in Release mode and is it opened?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also a wrong setting in[INDENT]Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Tool Settings -&amp;gt; MCU Linker -&amp;gt; Libraries&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[/INDENT]is possible.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Debug and release mode are different settings to ensure correct settings for debugging (no optimization) and for release (optimization) :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So check your settings (like symbols, includes, libraries...) for both configurations...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also all included libraries has to be compiled in same mode before.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 02:03:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553476#M12780</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Error During Release Build</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553477#M12781</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 Thu Feb 23 05:22:02 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;HR /&gt;&lt;SPAN style="color: #0000ff;"&gt;&lt;STRONG&gt;Quote: ub3r&lt;/STRONG&gt;&lt;BR /&gt;Hi Guys,&lt;BR /&gt;During a debug biuld everything compiles fine, however when i set the build to Release i get this:&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD bgcolor="#cacaca"&gt; &lt;PRE&gt;
cannot find -lCMSISv1p30_LPC13xx&amp;nbsp;&amp;nbsp;&amp;nbsp; APD&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; C/C++ Problem
&lt;/PRE&gt; &lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;Also, Whats the difference between the release and debug??&lt;BR /&gt;&lt;BR /&gt;Cheers&lt;/SPAN&gt;&lt;HR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;A few FAQs that you may find useful...&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CannotFindLinkerError&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/BuildConfigMultipleProjs&lt;/A&gt;&lt;BR /&gt;&lt;A href="http://" rel="nofollow noopener noreferrer" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/CompilerOptimization&lt;/A&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>Thu, 16 Jun 2016 02:03:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Error-During-Release-Build/m-p/553477#M12781</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T02:03:00Z</dc:date>
    </item>
  </channel>
</rss>

