Build target 'LED'
compiling main.c...
main.c(35): warning: #1-D: last line of file ends without a newline
main.c: 1 warning, 0 errors
compiling core_cm3.c...
"no source": Error: command-line: #564: cannot open embedded assembler output file "C:UsersYY丶AppDataLocalTempp183c-2": No such file or directory
..COREcore_cm3.c: 0 warnings, 1 error
compiling sys.c...
"no source": Error: command-line: #564: cannot open embedded assembler output file "C:UsersYY丶AppDataLocalTempp248c-2": No such file or directory
..SYSTEMsyssys.c: 0 warnings, 1 error
linking...
..OBJLED.axf: error: L6002U: Could not open file ..objcore_cm3.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"..OBJLED.axf" - 1 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed: 00:00:03
改了之后还是有错误
Build target 'LED'
compiling main.c...
main.c(39): warning: #1-D: last line of file ends without a newline
main.c: 1 warning, 0 errors
compiling stm32f10x_it.c...
compiling system_stm32f10x.c...
assembling startup_stm32f10x_hd.s...
compiling core_cm3.c...
compiling misc.c...
compiling stm32f10x_adc.c...
compiling stm32f10x_bkp.c...
compiling stm32f10x_can.c...
compiling stm32f10x_cec.c...
compiling stm32f10x_crc.c...
compiling stm32f10x_dac.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_dma.c...
compiling stm32f10x_exti.c...
compiling stm32f10x_flash.c...
compiling stm32f10x_fsmc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_i2c.c...
compiling stm32f10x_iwdg.c...
compiling stm32f10x_pwr.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_rtc.c...
compiling stm32f10x_sdio.c...
compiling stm32f10x_spi.c...
compiling stm32f10x_tim.c...
compiling stm32f10x_usart.c...
compiling stm32f10x_wwdg.c...
compiling delay.c...
compiling sys.c...
compiling usart.c...
linking...
..OBJLED.axf: Error: L6218E: Undefined symbol SysTick_CLKSourceConfig (referred from delay.o).
..OBJLED.axf: Error: L6218E: Undefined symbol NVIC_Init (referred from usart.o).
Not enough information to list image symbols.
Finished: 1 information, 0 warning and 2 error messages.
"..OBJLED.axf" - 2 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed: 00:00:18
那应该怎么办呢
编译例程也是这种错误提示吗?
打开target option ->c/c++ 下面有一个include paths 把那些文件夹到包含进去试试?
一周热门 更多>