lpcware

Error 126 and Error 1 when building a project

Discussion created by lpcware Employee on Jun 15, 2016
Latest reply on Jun 15, 2016 by lpcware
Content originally posted in LPCWare by akhilpo on Fri May 13 06:52:54 MST 2011
I am using IDE v3.6.3 on Windows 7. After reinstalling the IDE I imported the blinky example along with CMSIS. When I click 'build all' it gives error126 for CMSIS and error 1 for Blinky. Whats wrong here? I have tried reinstalling and repeating this several times, but no success.

This is what problems view shows:


Quote:
Description    Resource    Path    Location    Type
make: *** [blinky.axf] Error 1    blinky        line 0    C/C++ Problem
make: *** [libCMSISv1p30_LPC11xx.a] Error 126    CMSISv1p30_LPC11xx        line 0    C/C++ Problem



Here is the console output:

Quote:
Building target: blinky.axf
Invoking: MCU Linker
arm-none-eabi-gcc -nostdlib -Xlinker -Map=blinky.map -Xlinker --gc-sections -mcpu=cortex-m0 -mthumb -T "../linker/lpc1114_flash_crp.ld" -o"blinky.axf"  ./startup/cr_startup_lpc11.o  ./src/blinky_main.o  ./driver/adc.o ./driver/can.o ./driver/clkconfig.o ./driver/crp.o ./driver/debug_printf.o ./driver/gpio.o ./driver/i2c.o ./driver/i2cslave.o ./driver/lpc_swu.o ./driver/rs485.o ./driver/small_gpio.o ./driver/ssp.o ./driver/timer16.o ./driver/timer32.o ./driver/uart.o ./driver/wdt.o  ./cmsis/core_cm0.o ./cmsis/system_LPC11xx.o  
arm-none-eabi-gcc.exe: CreateProcess: No such file or directory
make: *** [blinky.axf] Error 1

Outcomes