Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
11 years, 2 months ago.
Getting an error when I try to build my project on eclipse
Hello I am a beginner of mbed. My device is Pololu m3pi robot with LPC1768. And I'd like to use eclipse to be an offline compiler.
So I'm try to following this cookbook - http://mbed.org/cookbook/eclipse-for-building-and-debugging
Clean debug build of FileTest is no problem.
and get this from console
Clean
20:53:18 **** Clean-only build of configuration Debug for project FileTest **** cs-make clean Cleaning up all build generated files 20:53:18 Build Finished (took 115ms)
like this...
But when I tried to build this project. I get this from console.
Build
20:57:42 **** Build of configuration Debug for project FileTest **** cs-make all deploy GCC4MBED_TYPE=Debug Compiling main.cpp process_begin: CreateProcess(NULL, arm-none-eabi-g++ -O0 -g3 -mcpu=cortex-m3 -mthumb -mthumb-interwork -ffunction-sections -fdata-sections -fno-exceptions -fno-delete-null-pointer-checks -I./ -I../../mri -I../../external/mbed -I../../external/mbed/LPC1768 -DTARGET_LPC1768 -DMRI_ENABLE=1 -DMRI_INIT_PARAMETERS=\"MRI_UART_MBED_USB\" -DMRI_BREAK_ON_INIT=1 -DMRI_SEMIHOST_STDIO=1 -MMD -MP -Wall -Wextra -Wno-unused-parameter -Wcast-align -Wpointer-arith -Wredundant-decls -Wcast-qual -Wcast-align -c main.cpp -o LPC176x/./main.o, ...) failed. make (e=2): The system cannot find the file specified. cs-make: *** [LPC176x/./main.o] Error 2 20:57:42 Build Finished (took 114ms)
and 23 errors like this picture.
I have no idea what I should do. Please help me.
Thank you so much : )