dsbs / LPC1769_cpp

example project cortex m3 usage with LPC1769 in c plus plus
GNU General Public License v3.0
4 stars 3 forks source link

Lamp/lamp ? #2

Closed arthurwolf closed 13 years ago

arthurwolf commented 13 years ago

arm-none-eabi-gcc (Red Suite 2010Q1 by Code Red) 4.4.1 Copyright (C) 2009 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

CC core_cm3.c > core_cm3.o In file included from src/lib/CMSIS/Core/core_cm3.c:24: /usr/local/LPCXpresso/tools/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdint.h:8: warning: #warning "Either NEWLIB or REDLIB should be defined when using the C library. Defaulting to NEWLIB" CC startup_LPC17xx.c > startup_LPC17xx.o In file included from src/lib/CMSIS/Core/core_cm3.h:80, from src/lib/CMSIS/Core/LPC17xx.h:103, from src/lib/CMSIS/Core/startup_LPC17xx.c:39: /usr/local/LPCXpresso/tools/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdint.h:8: warning: #warning "Either NEWLIB or REDLIB should be defined when using the C library. Defaulting to NEWLIB" CC system_LPC17xx.c > system_LPC17xx.o In file included from src/lib/CMSIS/Core/system_LPC17xx.c:26: /usr/local/LPCXpresso/tools/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdint.h:8: warning: #warning "Either NEWLIB or REDLIB should be defined when using the C library. Defaulting to NEWLIB" CPP lamp.cpp > lamp.o src/lib/lamp/lamp.cpp:1: fatal error: Lamp.h: No such file or directory compilation terminated. /bin/sh: ligne 1: lamp.tmp: Aucun fichier ou dossier de ce type CPP main.cpp > main.o In file included from src/lib/CMSIS/Core/core_cm3.h:80, from src/lib/CMSIS/Core/LPC17xx.h:103, from src/app/main.cpp:27: /usr/local/LPCXpresso/tools/bin/../lib/gcc/arm-none-eabi/4.4.1/../../../../arm-none-eabi/include/stdint.h:8: warning: #warning "Either NEWLIB or REDLIB should be defined when using the C library. Defaulting to NEWLIB"

LINK core_cm3.o startup_LPC17xx.o system_LPC17xx.o lamp.o main.o > lpc1769.elf arm-none-eabi-ld: release/obj/lamp.o: No such file: No such file or directory OBJCOPY lpc1769.elf > lpc1769.hex - hex file arm-none-eabi-objcopy: 'release/lpc1769.elf': No such file OBJCOPY lpc1769.elf > lpc1769.bin - binary file arm-none-eabi-objcopy: 'release/lpc1769.elf': No such file OBJDUMP lpc1769.elf > lpc1769.lss - extended listing/disassembly file arm-none-eabi-objdump: 'release/lpc1769.elf': No such file NM lpc1769.elf > lpc1769.sym - symbol file arm-none-eabi-nm: 'release/lpc1769.elf': No such file

arm-none-eabi-size: 'release/lpc1769.elf': No such file ---- lpc1769 built:

Hi !

The .c file includes Lamp.h, but the file is lamp.h . What system are you building this in ? Here ( latest ubuntu ) this does not work.

Cheers !