Problem with the sample projects (OSX Lion)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Problem with the sample projects (OSX Lion)

710 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Fri Jul 13 15:44:11 MST 2012
Hello,
I have a problem with the new LPCXpresso IDE (v4.2.4) for Mac OSX Lion and the LPC1769 board.

I have tried to compile the sample project:
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Examples/NXP/LPC1000/LPC17xx/LPCXpresso176x_cmsis2.zip

But I always get the error message:
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/stdint.h:5:31: fatal error: redlib/stdint.h: No such file or directory

I have checkt the include paths, it seams to be allright.

I would be happy, if someone can help me.
(Sorry for my bad english)
0 Kudos
11 Replies

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by nebarto on Mon Sep 10 16:28:24 MST 2012
I had this same problem in windows. It had to do with poor choice of the default installation directory for LPCXpresso:

C:\nxp\LPCXpresso_4.2.3_292

I uninstalled and re-installed to

C:\nxp\LPCXpresso

and had no problems afterwards.

Make sure to delete your old workspace as well.
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Wed Jul 25 08:41:38 MST 2012
I downloaded the new Version, both directorys "Tools" and "tools" exists.
I tried to compile the gpio project, but it doesn't work :( 

Here the build log:

**** Clean-only build of configuration Debug for project GPIO ****

make clean
rm -rf  ./src/IOtest.o ./src/cr_startup_lpc176x.o  ./src/IOtest.d ./src/cr_startup_lpc176x.d  GPIO.axf


**** Build of configuration Debug for project GPIO ****

make all
Using built-in specs.
Building file: ../src/IOtest.c
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/lto-wrapper
Invoking: MCU C Compiler
Target: arm-none-eabi
Configured with: /Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/src/gcc/configure --build=i686-apple-darwin11 --host=i686-apple-darwin11 --target=arm-none-eabi --prefix=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-lto --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-sysroot=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac/arm-none-eabi --with-gmp=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpfr=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpc=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-ppl=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-cloog=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-libelf=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-lstdc++ -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r
Thread model: single
gcc version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (GNU Tools for ARM Embedded Processors)
COLLECT_GCC_OPTIONS='-D' '__REDLIB__' '-D' 'DEBUG' '-D' '__CODE_RED' '-D' '__USE_CMSIS=CMSISv2_LPC17xx' '-I' '/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc' '-O0' '-g3' '-Wall' '-c' '-fmessage-length=0' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-v' '-mcpu=cortex-m3' '-mthumb' '-MMD' '-MP' '-MF' 'src/IOtest.d' '-MT' 'src/IOtest.d' '-o' 'src/IOtest.o'
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2_LPC17xx -I"/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections --verbose -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/IOtest.d" -MT"src/IOtest.d" -o"src/IOtest.o" "../src/IOtest.c"
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/cc1 -quiet -v -I /Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc -imultilib armv7-m -iprefix /Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/ -isysroot /Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi -MMD src/IOtest.d -MF src/IOtest.d -MP -MT src/IOtest.d -dD -D__USES_INITFINI__ -D __REDLIB__ -D DEBUG -D __CODE_RED -D __USE_CMSIS=CMSISv2_LPC17xx ../src/IOtest.c -quiet -dumpbase IOtest.c -mcpu=cortex-m3 -mthumb -auxbase-strip src/IOtest.o -g3 -O0 -Wall -version -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -o /var/folders/hx/4rvt5y3x7yx6ntc8n1f193c80000gn/T//ccG8FGpj.s
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi/usr/local/include"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include-fixed"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../arm-none-eabi/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/thinkJD/Documents/LPCXpresso_4.2.5_beta/workspace/CMSISv2_LPC17xx/inc
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include-fixed
/Applications/lpcxpresso_4.2.5_275_beta/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include
End of search list.
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: def7cea72c8a5cdae82ebd5da20f351f
../src/IOtest.c:20:31: fatal error: cr_section_macros.h: No such file or directory
compilation terminated.
make: *** [src/IOtest.o] Error 1
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Tue Jul 24 08:50:16 MST 2012
If you contact us directly at
http://www.code-red-tech.com/support.php

We will be able to supply you with a beta version that should fix this problem.

Best Regards
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Sat Jul 21 06:37:02 MST 2012
There ard two directorys in the Path "/Applications/lpcxpresso_4.2.4_267/lpcxpresso"

One named "Test" the other one named "test".
I named the test directory to test_ and the Test directory to test same problem.
Then i tried to merge both directorys -> it also dosent work.

Thanks for your help.
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Jul 20 08:03:34 MST 2012
Are you running a case-sensitive file system? It looks like there is a bug in the installer that installs the compiler into a "Tools" (upper case T) directory instead of "tools" (lower case t). On a case-insensitive filesystem this isn't a problem, but it could be on a case-sensitive system.

Can you try renaming the directory to "tools" (lower case) and let us know if that resolves the issue. If so, we will fix this in the next release.

Thanks
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Fri Jul 20 03:55:47 MST 2012
Ok, here we are:

**** Build of configuration Debug for project GPIO ****

make all
Building file: ../src/IOtest.c
Using built-in specs.
COLLECT_GCC=arm-none-eabi-gcc
COLLECT_LTO_WRAPPER=/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/lto-wrapper
Target: arm-none-eabi
Configured with: /Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/src/gcc/configure --build=i686-apple-darwin11 --host=i686-apple-darwin11 --target=arm-none-eabi --prefix=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac --enable-languages=c,c++ --disable-decimal-float --disable-libffi --disable-libgomp --disable-libmudflap --disable-libquadmath --disable-libssp --disable-libstdcxx-pch --disable-lto --disable-nls --disable-shared --disable-threads --disable-tls --with-gnu-as --with-gnu-ld --with-newlib --with-headers=yes --with-sysroot=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/install-mac/arm-none-eabi --with-gmp=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpfr=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-mpc=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-ppl=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-cloog=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-libelf=/Users/johnair/toolchain031412_64/arm-none-eabi-gcc-4_6-20111208/build-mac/host-libs/usr --with-host-libstdcxx='-static-libgcc -Wl,-lstdc++ -lm' --with-pkgversion='GNU Tools for ARM Embedded Processors' --with-extra-multilibs=armv6-m,armv7-m,armv7e-m,armv7-r
Thread model: single
gcc version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (GNU Tools for ARM Embedded Processors)
COLLECT_GCC_OPTIONS='-D' '__REDLIB__' '-D' 'DEBUG' '-D' '__CODE_RED' '-D' '__USE_CMSIS=CMSISv2_LPC17xx' '-I' '/Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc' '-O0' '-g3' '-Wall' '-c' '-fmessage-length=0' '-fno-builtin' '-ffunction-sections' '-fdata-sections' '-v' '-mcpu=cortex-m3' '-mthumb' '-MMD' '-MP' '-MF' 'src/IOtest.d' '-MT' 'src/IOtest.d' '-o' 'src/IOtest.o'
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../libexec/gcc/arm-none-eabi/4.6.2/cc1 -quiet -v -I /Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc -imultilib armv7-m -iprefix /Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/ -isysroot /Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../arm-none-eabi -MMD src/IOtest.d -MF src/IOtest.d -MP -MT src/IOtest.d -dD -D__USES_INITFINI__ -D __REDLIB__ -D DEBUG -D __CODE_RED -D __USE_CMSIS=CMSISv2_LPC17xx ../src/IOtest.c -quiet -dumpbase IOtest.c -mcpu=cortex-m3 -mthumb -auxbase-strip src/IOtest.o -g3 -O0 -Wall -version -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -o /var/folders/hx/4rvt5y3x7yx6ntc8n1f193c80000gn/T//ccvBg5h0.s
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2_LPC17xx -I"/Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections --verbose -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/IOtest.d" -MT"src/IOtest.d" -o"src/IOtest.o" "../src/IOtest.c"
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
ignoring duplicate directory "/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../arm-none-eabi/usr/local/include"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/include-fixed"
ignoring duplicate directory "/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/../../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include"
ignoring nonexistent directory "/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../arm-none-eabi/usr/include"
#include "..." search starts here:
#include <...> search starts here:
/Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include-fixed
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include
End of search list.
GNU C (GNU Tools for ARM Embedded Processors) version 4.6.2 20110921 (release) [ARM/embedded-4_6-branch revision 182083] (arm-none-eabi)
compiled by GNU C version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.1.00), GMP version 5.0.4, MPFR version 3.1.0-p3, MPC version 0.9
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: def7cea72c8a5cdae82ebd5da20f351f
../src/IOtest.c:20:31: fatal error: cr_section_macros.h: No such file or directory
compilation terminated.
make: *** [src/IOtest.o] Error 1
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Fri Jul 20 01:42:10 MST 2012
Could you try this:
- select one of the projects (say GPIO)
- right-click and choose Properties from the context menu (or use Option-I from the keyboard
- Navigate to C/C++ Build, Settings
- Under MCU C Compiler, select Miscellaneous
- In the "Other Flags" box, enter --verbose
- Press OK

Now build the project and post the build log. It will show where the compiler is searching for include directories.

Thanks
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Thu Jul 19 14:50:54 MST 2012
Yes, the directory exists.
It seems allright.

The result of ls -R is:

NXP
cr_section_macros.h
redlib

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include//NXP:
LPC17xx
LPC2xxx
crp.h

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include//NXP/LPC17xx:
CortexM3.h
LPC17xx.h
cortexm3_macro.h
nvic.h
systick.h
target.h
timer.h
type.h
uart.h

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include//NXP/LPC2xxx:
LPC2103.h
LPC210x.h
LPC213x.h
LPC214x.h
LPC21xx.h
LPC22xx.h
LPC23xx.h
LPC24xx.h
arm7tdmis_core.h
arm7tdmis_types.h
type.h

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include//redlib:
assert.h
ctype.h
errno.h
float.h
limits.h
locale.h
math.h
setjmp.h
signal.h
stdarg.h
stdbool.h
stddef.h
stdint.h
stdio.h
stdlib.h
string.h
sys
time.h

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include//redlib/sys:
libconfig-arm.h
libconfig.h
redlib_version.h
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Thu Jul 19 06:53:55 MST 2012
These examples all builds fine here.

The errors you are seeing would indicate that the main include directory within your installation is missing, though I don't see how that could happen.

Please can you check for the existence of the directory...

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include

If it does exist, please can you confirm its actual contents?

Regards,
CodeRedSupport
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by thinkJD on Thu Jul 19 04:21:48 MST 2012
Yes, the file exists.

Here the complete build log. I hope you can find my misstake :)


I select the "NXP_LPCXpresso1769_MCB1700_2011-02-11.zip" example projects.
This is the build log from the GPIO project.

**** Clean-only build of configuration Debug for project GPIO ****

make clean
rm -rf  ./src/IOtest.o ./src/cr_startup_lpc176x.o  ./src/IOtest.d ./src/cr_startup_lpc176x.d  GPIO.axf


**** Build of configuration Debug for project GPIO ****

make all
Building file: ../src/IOtest.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2_LPC17xx -I"/Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc" -O0 -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/IOtest.d" -MT"src/IOtest.d" -o"src/IOtest.o" "../src/IOtest.c"
../src/IOtest.c:20:31: fatal error: cr_section_macros.h: No such file or directory
compilation terminated.
make: *** [src/IOtest.o] Error 1



And this is the build log from the UART example.

**** Clean-only build of configuration Debug for project UART ****

make clean
rm -rf  ./src/cr_startup_lpc176x.o ./src/uart.o ./src/uarttest.o  ./src/cr_startup_lpc176x.d ./src/uart.d ./src/uarttest.d  UART.axf


**** Build of configuration Debug for project UART ****

make all
Building file: ../src/cr_startup_lpc176x.c
Invoking: MCU C Compiler
arm-none-eabi-gcc -D__REDLIB__ -DDEBUG -D__CODE_RED -D__USE_CMSIS=CMSISv2_LPC17xx -I"/Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc" -O0 -Os -g3 -Wall -c -fmessage-length=0 -fno-builtin -ffunction-sections -fdata-sections -mcpu=cortex-m3 -mthumb -MMD -MP -MF"src/cr_startup_lpc176x.d" -MT"src/cr_startup_lpc176x.d" -o"src/cr_startup_lpc176x.o" "../src/cr_startup_lpc176x.c"
In file included from /Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/include/stdint.h:5:0,
                 from /Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc/type.h:12,
                 from /Users/thinkJD/Coding/LPCWorkspace/CMSISv2_LPC17xx/inc/system_LPC17xx.h:31,
                 from ../src/cr_startup_lpc176x.c:51:
/Applications/lpcxpresso_4.2.4_267/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.6.2/../../../../arm-none-eabi/include/stdint.h:5:31: fatal error: redlib/stdint.h: No such file or directory
compilation terminated.
make: *** [src/cr_startup_lpc176x.o] Error 1

Thank you for the help!
0 Kudos

564 Views
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by CodeRedSupport on Mon Jul 16 01:35:47 MST 2012
This set of examples build fine here on Lion.

Can you first of all confirm that the following file actually exists in your installation...

/Applications/lpcxpresso_4.2.4_267/lpcxpresso/Tools/arm-none-eabi/include/redlib/stdint.h


And can you also post the actual build log from a project that fails to build correctly...

http://support.code-red-tech.com/CodeRedWiki/BuildConsole

Regards,
CodeRedSupport
0 Kudos