<?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: Make problem when using complex folder structure</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557756#M14725</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 Mon Jan 27 06:49:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the Build log, you will see the error says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;../core/gpio.h:22:24: error: unknown type name 'uint32_t&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(it even tells you this when you hover over the error in the source file...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gpio.h needs unit32_t defined, so you need to include stdint.h. This is included by default in core_cm3.h, or you can add it yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:39:07 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:39:07Z</dc:date>
    <item>
      <title>Make problem when using complex folder structure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557755#M14724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bjorn.juul on Mon Jan 27 06:02:42 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm having quiet an annoying problem when building my problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have a LPC1343 on a custom developed breakout board (Forebrain) from the former Universal Air Ltd, and compiling on LPCXpresso 6.1.2.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I got a semi-complex source folder structure, which I thought shouldn't be a problem, as I use an identical structure, when working with Atmel MCUs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But when I try including my GPIO.h more than once in my files, it corrupts the building of the GPIO header file, and I end up with multiple errors such as:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;unknown type name 'uint32_t'gpio.h/LPC1343_CodeBase/core/incline 22C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [drivers/displays/tft/hw/lcd.o] Error 1LPC1343_CodeBase C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;expected declaration specifiers or '...' before '*' tokengpio.h/LPC1343_CodeBase/core/incline 28C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gpio.h/LPC1343_CodeBase/core/incline 40C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;expected '=', ',', ';', 'asm' or '__attribute__' before 'void'gpio.h/LPC1343_CodeBase/core/incline 54C/C++ Problem&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If if remove the includes from all of my source files but one, the build ends succesfully.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I've tried to setting up the search paths and source paths, but nothing seems to do any good.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The file and include structure is represented in the illustration attached.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone figure this out?&lt;/SPAN&gt;&lt;BR /&gt;&lt;P&gt;&lt;STRONG&gt;Original Attachment has been moved to: &lt;A _jive_internal="true" href="https://community.nxp.com/docs/DOC-338151"&gt;LPC1343_workspace2.zip&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:39:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557755#M14724</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:39:06Z</dc:date>
    </item>
    <item>
      <title>Re: Make problem when using complex folder structure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557756#M14725</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 Mon Jan 27 06:49:00 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you look at the Build log, you will see the error says:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;../core/gpio.h:22:24: error: unknown type name 'uint32_t&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(it even tells you this when you hover over the error in the source file...)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;gpio.h needs unit32_t defined, so you need to include stdint.h. This is included by default in core_cm3.h, or you can add it yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557756#M14725</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:39:07Z</dc:date>
    </item>
    <item>
      <title>Re: Make problem when using complex folder structure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557757#M14726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by bjorn.juul on Tue Jan 28 01:00:39 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Okay, that helped me get rid of the unknown type name, but I'm still stuck with the last part:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;../core/gpio.h:57:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'void'&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This error occurs when I try to include the GPIO.h in more than one file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Am I missing something else?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:39:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557757#M14726</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Make problem when using complex folder structure</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557758#M14727</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 Tue Jan 28 01:42:25 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you include "LPC13xx.h"? This should be your FIRST include.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In future, why not look at a working Example (as provided in the Examples), to see what you are doing differently...&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:39:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Make-problem-when-using-complex-folder-structure/m-p/557758#M14727</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:39:08Z</dc:date>
    </item>
  </channel>
</rss>

