初级会员

- 积分
- 50
- 金钱
- 50
- 注册时间
- 2013-9-2
- 在线时间
- 4 小时
|
Build target 'Target 1'
assembling startup_stm32f10x_hd.s...
compiling test.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
test.c: 0 warnings, 1 error
compiling delay.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling sys.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling usart.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling led.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\LED\led.c: 0 warnings, 1 error
compiling beep.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\BEEP\beep.c: 0 warnings, 1 error
compiling key.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\KEY\key.c: 0 warnings, 1 error
compiling exti.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\EXTI\exti.c: 0 warnings, 1 error
compiling wdg.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\WDG\wdg.c: 0 warnings, 1 error
compiling timer.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\TIMER\timer.c: 0 warnings, 1 error
compiling tpad.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\TPAD\tpad.c: 0 warnings, 1 error
compiling oled.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\OLED\oled.c: 0 warnings, 1 error
compiling ILI93xx.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\LCD\ILI93xx.c: 0 warnings, 1 error
compiling rtc.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\RTC\rtc.c: 0 warnings, 1 error
compiling wkup.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\WKUP\wkup.c: 0 warnings, 1 error
compiling adc.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\ADC\adc.c: 0 warnings, 1 error
compiling dac.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\DAC\dac.c: 0 warnings, 1 error
compiling dma.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\DMA\dma.c: 0 warnings, 1 error
compiling myiic.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\24CXX\myiic.c: 0 warnings, 1 error
compiling 24cxx.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\24CXX\24cxx.c: 0 warnings, 1 error
compiling spi.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\SPI\spi.c: 0 warnings, 1 error
compiling flash.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\FLASH\flash.c: 0 warnings, 1 error
compiling rs485.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\RS485\rs485.c: 0 warnings, 1 error
compiling can.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\CAN\can.c: 0 warnings, 1 error
compiling touch.c...
..\HARDWARE\TOUCH\touch.c(1): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\TOUCH\touch.c: 0 warnings, 1 error
compiling remote.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\REMOTE\remote.c: 0 warnings, 1 error
compiling joypad.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\JOYPAD\joypad.c: 0 warnings, 1 error
compiling adxl345.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\ADXL345\adxl345.c: 0 warnings, 1 error
compiling ds18b20.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\DS18B20\ds18b20.c: 0 warnings, 1 error
compiling dht11.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\DHT11\dht11.c: 0 warnings, 1 error
compiling 24l01.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\NRF24L01\24l01.c: 0 warnings, 1 error
compiling ps2.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\PS2\ps2.c: 0 warnings, 1 error
compiling mouse.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\PS2\mouse.c: 0 warnings, 1 error
compiling stmflash.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\STMFLASH\stmflash.c: 0 warnings, 1 error
compiling rda5820.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\RDA5820\rda5820.c: 0 warnings, 1 error
compiling audiosel.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\AUDIOSEL\audiosel.c: 0 warnings, 1 error
compiling ov7670.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\OV7670\ov7670.c: 0 warnings, 1 error
compiling sccb.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\OV7670\sccb.c: 0 warnings, 1 error
compiling sram.c...
..\HARDWARE\SRAM\sram.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\HARDWARE\SRAM\sram.c: 0 warnings, 1 error
compiling sdio_sdcard.c...
..\HARDWARE\SDIO\sdio_sdcard.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include "stm32f10x_lib.h"
..\HARDWARE\SDIO\sdio_sdcard.c: 0 warnings, 1 error
compiling usmart.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\USMART\usmart.c: 0 warnings, 1 error
compiling usmart_config.c...
..\SYSTEM\delay\delay.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\USMART\usmart_config.c: 0 warnings, 1 error
compiling usmart_str.c...
compiling malloc.c...
compiling ff.c...
compiling diskio.c...
..\HARDWARE\SDIO\sdio_sdcard.h(3): error: #5: cannot open source input file "stm32f10x_lib.h": No such file or directory
#include "stm32f10x_lib.h"
..\FATFS\src\diskio.c: 0 warnings, 1 error
compiling exfuns.c...
..\FATFS\exfuns\exfuns.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\FATFS\exfuns\exfuns.c: 0 warnings, 1 error
compiling fattester.c...
..\FATFS\exfuns\fattester.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\FATFS\exfuns\fattester.c: 0 warnings, 1 error
compiling mycc936.c...
..\TEXT\fontupd.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\FATFS\exfuns\mycc936.c: 0 warnings, 1 error
compiling fontupd.c...
..\TEXT\fontupd.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\TEXT\fontupd.c: 0 warnings, 1 error
compiling text.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\TEXT\text.c: 0 warnings, 1 error
compiling bmp.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\PICTURE\bmp.c: 0 warnings, 1 error
compiling gif.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\PICTURE\gif.c: 0 warnings, 1 error
compiling jpeg.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\PICTURE\jpeg.c: 0 warnings, 1 error
compiling piclib.c...
..\SYSTEM\sys\sys.h(3): error: #5: cannot open source input file "stm32f10x_map.h": No such file or directory
#include <stm32f10x_map.h>
..\PICTURE\piclib.c: 0 warnings, 1 error
"..\OBJ\test.axf" - 52 Error(s), 0 Warning(s).
Target not created.
上面的问题我目前的解决办法是先在当前工程文件夹内搜索缺少的头文件,之后再添加到当前工程头文件索引目录中,如果头文件没有的,我会把工程用keil3 或4版本的去打开工程,之后把缺少的头文件重新拷贝到当前工程中然后在用keil 5打开,这样子知道不报缺少头文件,整个工程就会编译通过。
请问原子哥是不是我keil 5软件中缺少安装包(packed)呢?但是我把我用的都已经升级到最新,把STM32F1XX 和STM32F4XX包都已安装。为什么keil 3或4打开不报错,keil 5反而会报错呢??
|
|