<?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: build does not always search all the include paths</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556852#M14313</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Thu Sep 12 15:05:23 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This has resolved this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also had to add the driver_lib paths to the release linker settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 16 Jun 2016 00:48:46 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-16T00:48:46Z</dc:date>
    <item>
      <title>build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556842#M14303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Thu Aug 29 18:12:34 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using LPCXpresso V5.2.6&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The project is from LPWare/LPC11xx/Downloads/Software/Sample code bundle for LPC1xx peripherals using NXP LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Project USB ROM MSC&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Include paths (-I)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/CMSISv2p00_LPC11Uxx/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/USB_ROM_MSC/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the comiler call uses all of the paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Sometimes the compiler only tries the path in the 2nd line of the include list first.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If that fails it may try all the paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But it doesn't always retry with all of the paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It may go ahead and link using an old object file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a way to force build to use all of the include paths?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Two examples follow:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in both cases the file is in USB_ROM_MSC/inc&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:44 **** Incremental Build of configuration Release for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DNDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Copy of Test4\CMSISv2p00_LPC11Uxx\inc" -Os -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/DiskImg.d" -MT"src/DiskImg.d" -o "src/DiskImg.o" "../src/DiskImg.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;../src/DiskImg.c:1:26: fatal error: app_usbd_cfg.h: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compilation terminated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [src/DiskImg.o] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:46 Build Finished (took 2s.266ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:47 **** Incremental Build of configuration Debug for project LPC11Uxx_Driver_Lib ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: Nothing to be done for `all'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:47 Build Finished (took 438ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:48 **** Incremental Build of configuration Debug for project CMSISv2p00_LPC11Uxx ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: Nothing to be done for `all'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:48 Build Finished (took 531ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:24:49 **** Incremental Build of configuration Debug for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Copy of Test4\LPC11Uxx_Driver_Lib" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Copy of Test4\CMSISv2p00_LPC11Uxx\inc" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Copy of Test4\USB_ROM_MSC\inc" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Copy of Test4\LPC11Uxx_Driver_Lib\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/DiskImg.d" -MT"src/DiskImg.d" -o "src/DiskImg.o" "../src/DiskImg.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have added I2C to the project and get the same problem in I2C.c not finding the paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:10:33 **** Incremental Build of configuration Release for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/i2c.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DNDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\CMSISv2p00_LPC11Uxx\inc" -Os -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/i2c.d" -MT"src/i2c.d" -o "src/i2c.o" "../src/i2c.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;../src/i2c.c:31:18: fatal error: type.h: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compilation terminated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [src/i2c.o] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:10:35 Build Finished (took 1s.516ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;15:10:35 **** Incremental Build of configuration Debug for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/i2c.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\LPC11Uxx_Driver_Lib" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\CMSISv2p00_LPC11Uxx\inc" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\USB_ROM_MSC\inc" -I"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\LPC11Uxx_Driver_Lib\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/i2c.d" -MT"src/i2c.d" -o "src/i2c.o" "../src/i2c.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/i2c.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: USB_ROM_MSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556842#M14303</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556843#M14304</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 Fri Aug 30 00:00:35 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Try adding --verbose to the "Other flags" settings in MCU C Compiler-&amp;gt;Miscellaneous&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This will cause the compiler to list all of the directories it is searching for your includes (and will tell you if a directory does not exist).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556843#M14304</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:40Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556844#M14305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Fri Aug 30 11:23:06 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I know the paths are good, I can open the files it is looking for.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can right click on the include statement and open decleration.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have started over with a new workspace closer to the root instead of my documents.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have imported LPWare/LPC11xx/Downloads/Software/"Sample code bundle for LPC1xx peripherals using NXP LPCXpresso".&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I built LPC11Uxx_Driver_Lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I built USB_ROM_MSC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the virgin sample with no modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I get the following error:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10:03:58 **** Incremental Build of configuration Release for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DNDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Users\Mike\Ghost\Ver1\CMSISv2p00_LPC11Uxx\inc" -Os -g -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/DiskImg.d" -MT"src/DiskImg.d" -o "src/DiskImg.o" "../src/DiskImg.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;../src/DiskImg.c:1:26: fatal error: app_usbd_cfg.h: No such file or directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;compilation terminated.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [src/DiskImg.o] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10:03:59 Build Finished (took 1s.375ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;10:04:00 **** Build of configuration Debug for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Users\Mike\Ghost\Ver1\LPC11Uxx_Driver_Lib" -I"C:\Users\Mike\Ghost\Ver1\CMSISv2p00_LPC11Uxx\inc" -I"C:\Users\Mike\Ghost\Ver1\USB_ROM_MSC\inc" -I"C:\Users\Mike\Ghost\Ver1\LPC11Uxx_Driver_Lib\inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/DiskImg.d" -MT"src/DiskImg.d" -o "src/DiskImg.o" "../src/DiskImg.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building file: ../src/cr_startup_lpc11u.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU C Compiler&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2p00_LPC11Uxx -I"C:\Users\Mike\Ghost\Ver1\LPC11Uxx_Driver_Lib" -I"C:\Users\Mike\Ghost\Ver1\CMSISv2p00_LPC11Uxx\inc" -I"C:\Users\Mike\Ghost\Ver1\USB_ROM_MSC\inc" -I"C:\Users\Mike\Ghost\Ver1\LPC11Uxx_Driver_Lib\inc" -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m0 -mthumb -MMD -MP -MF"src/cr_startup_lpc11u.d" -MT"src/cr_startup_lpc11u.d" -o "src/cr_startup_lpc11u.o" "../src/cr_startup_lpc11u.c"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building: ../src/cr_startup_lpc11u.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;DiskImg.c properties&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Include paths (-I)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/CMSISv2p00_LPC11Uxx/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/USB_ROM_MSC/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The first time it tries to compile DiskImg.c it only uses the include path&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/CMSISv2p00_LPC11Uxx/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The file that it needs is in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/USB_ROM_MSC/inc}" &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It retries using all of the paths and that works.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This is the sample project with no modifications.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I repeat the build, it gets the same error on DiskImg.c but does not retry with the other paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It then links using the old object file.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried changing the order of the includes, both for the file and for the project, same error.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have repeated the build several times. Sometimes it retries with all paths, sometimes it doesn't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;With the sample project, it only has trouble with DiskImg.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It I modify main.c and build, it passes all of the include paths to compile main.c.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If I add another c file to the project, it has the same problem of searching the wrong directory&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; and may or may not retry with all of the paths.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;By the way, I am using Microsoft XP&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556844#M14305</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:41Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556845#M14306</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 Fri Aug 30 12:25:51 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You may know that the paths are correct, but you haven't proved to me that the compiler knows. So please add the verbose option and build again.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556845#M14306</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556846#M14307</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Tue Sep 03 11:23:50 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I have attached 2 global console image files with verbose selected.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;One it failed on diskimg.c because it did not try the correct path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It repeated the compile with all paths selected and it builds OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The other example fails to build diskimg.c and does not retry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found that if I edit diskimg.c each time,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;the first time build tries to compile, it fails because of the wrong path.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It always compiles diskimg.c again with all of the paths selected and passes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;This seems to allways generate the correct results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However it has added allot of confusion with seeing the errors in the console.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Again, this is the example as downloaded from the web.&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556846#M14307</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:42Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556847#M14308</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 Sep 03 23:50:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;I think this FAQ will explain your problem:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fsupport.code-red-tech.com%2FCodeRedWiki%2FPerFileProperties" rel="nofollow" target="_blank"&gt;http://support.code-red-tech.com/CodeRedWiki/PerFileProperties&lt;/A&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Summary:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;- you are using different build settings for DiskImg.c to all of the other files in your build. Read the FAQ for information on how to reset.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556847#M14308</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:43Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556848#M14309</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Wed Sep 11 16:53:47 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Restore defaults for the file properties did not fix this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I selected Restore defaults, apply, OK for each file with the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Again this is a sample project from LPCWare. I would expect the setup to be correct.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The project is from LPWare/LPC11Uxx/Downloads/Software/Sample code bundle for LPC11Uxx peripherals using NXP LPCXpresso.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Project USB ROM MSC&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556848#M14309</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556849#M14310</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 Thu Sep 12 00:52:13 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, I can see there is an error in this project for the Release build. To fix, you will need to open the project properties, go to the compiler includes page and copy/paste the includes from the Debug build into the Release build. I will try to get the projects fixed and uploaded.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556849#M14310</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:44Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556850#M14311</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Thu Sep 12 12:18:39 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, that fixed the compile issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I am getting a linker error for the release but debug is OK.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I compared the linker settings between debug and release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Release was missing the driver_lib paths. I copied but changed the Driver_lib/Debug to driver_lib/Release under -L.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;This didn't fix it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Note that this is not the original project.&amp;nbsp; I have added to it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: USB_ROM_MSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -Xlinker -Map="USB_ROM_MSC.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "USB_ROM_MSC_Release.ld" -o "USB_ROM_MSC.axf"&amp;nbsp; ./src/DiskImg.o ./src/adc.o ./src/cr_startup_lpc11u.o ./src/i2c.o ./src/lpc11uxx_usbd_msc_mem.o ./src/main.o ./src/mem_lpc11uxx_usbdesc.o ./src/sbl_iap.o ./src/systick.o&amp;nbsp;&amp;nbsp; -lCMSISv2p00_LPC11Uxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;c:/pgms/nxp/lpcxpresso_5.2.6_2137/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/bin/ld.exe: cannot find -lCMSISv2p00_LPC11Uxx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [USB_ROM_MSC.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:43:40 Build Finished (took 29s.797ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:43:41 **** Incremental Build of configuration Debug for project CMSISv2p00_LPC11Uxx ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: Nothing to be done for `all'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:43:41 Build Finished (took 375ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:43:42 **** Incremental Build of configuration Debug for project USB_ROM_MSC ****&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make all &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: USB_ROM_MSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -L"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\CMSISv2p00_LPC11Uxx\Debug" -L"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\LPC11Uxx_Driver_Lib\Debug" -L"C:\Documents and Settings\Mike\My Documents\Projects\Ghost\Test4\LPC11Uxx_Driver_Lib" -Xlinker -Map="USB_ROM_MSC.map" -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "USB_ROM_MSC_Debug.ld" -o "USB_ROM_MSC.axf"&amp;nbsp; ./src/DiskImg.o ./src/adc.o ./src/cr_startup_lpc11u.o ./src/i2c.o ./src/lpc11uxx_usbd_msc_mem.o ./src/main.o ./src/mem_lpc11uxx_usbdesc.o ./src/sbl_iap.o ./src/systick.o&amp;nbsp;&amp;nbsp; -lCMSISv2p00_LPC11Uxx -lLPC11Uxx_Driver_Lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Finished building target: USB_ROM_MSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make --no-print-directory post-build&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Performing post-build steps&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-size "USB_ROM_MSC.axf"; # arm-none-eabi-objcopy -O binary "USB_ROM_MSC.axf" "USB_ROM_MSC.bin" ; checksum -p LPC11U37_401 -d "USB_ROM_MSC.bin";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; text&amp;nbsp;&amp;nbsp; data&amp;nbsp;&amp;nbsp;&amp;nbsp; bss&amp;nbsp;&amp;nbsp;&amp;nbsp; dec&amp;nbsp;&amp;nbsp;&amp;nbsp; hexfilename&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; 11756&amp;nbsp;&amp;nbsp;&amp;nbsp; 192&amp;nbsp;&amp;nbsp; 1156&amp;nbsp; 13104&amp;nbsp;&amp;nbsp; 3330USB_ROM_MSC.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;11:43:46 Build Finished (took 3s.937ms)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;include settings for both debug and release&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/CMSISv2p00_LPC11Uxx/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/USB_ROM_MSC/inc}"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;"${workspace_loc:/LPC11Uxx_Driver_Lib/inc}"&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556850#M14311</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556851#M14312</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 Thu Sep 12 13:19:18 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;You need to make sure that the release build of the cmsis library has been built. Same for any othe libraries. This is all documented on the code red faqs&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556851#M14312</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:45Z</dc:date>
    </item>
    <item>
      <title>Re: build does not always search all the include paths</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556852#M14313</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by mspahr on Thu Sep 12 15:05:23 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;This has resolved this issue.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I also had to add the driver_lib paths to the release linker settings.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks all for the help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Jun 2016 00:48:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/build-does-not-always-search-all-the-include-paths/m-p/556852#M14313</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-16T00:48:46Z</dc:date>
    </item>
  </channel>
</rss>

