完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
compiling delay.c...compiling usart.c...linking.....OBJtest.axf: Warning: L6373E: libattrs.map file not found in System Library directory D:MKDARMlib. Library selection may be impaired...OBJtest.axf: Warning: L6373E: libattrs.map file not found in System Library directory 3.8ARMRV31LIBarmlib. Library selection may be impaired...OBJtest.axf: Warning: L6310W: Unable to find ARM libraries...OBJtest.axf: Error: L6411W: No compatible library exists with a definition of startup symbol __main.Target not created
请问,这个问题可以怎么处理,已经重装了keil,还是不行 |
|
相关推荐
19个回答
|
|
没遇过
|
|
|
|
看看是不是.s文件没有添加?
|
|
|
|
回复【3楼】发烧友:
--------------------------------启动文件添加了,mdk3.80a重装了,按照视频装的,以前安装的编译软件都卸载了,还是报错, |
|
|
|
那你上传你的工程。
|
|
|
|
#include"sys.h"
#include"delay.h" #include"usart.h" int main(void) { u8 t=0; Stm32_Clock_Init(9); uart_init(72,9600);//时钟,72MHZ ,波特率9600,;(72,9600); delay_init(72); while(1) { printf("t=%drn",t); t++; delay_ms(500); } } 都是视屏上的工程, 可能是我的MDK3.80A安装问题,按照视频重装了,也一样。 |
|
|
|
我的启动文件会不会是有问题,?
|
|
|
|
MDK破解了没有。重新拷贝启动文件试下
|
|
|
|
昨天我按照库函数那本书重新建立了工程,有报错找不到什么文件,但工程里有添加,;
compiling main.c... ..corecore_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory compiling stm32f10x_it.c... ..corecore_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory compiling system_stm32f10x.c... ..corecore_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory compiling core_cm3.c... ..corecore_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory assembling startup_stm32f10x_hd.s... compiling misc.c... ..stm32f10x_fwlibsrcmisc.c(24): error: #5: cannot open source input file "misc.h": No such file or directory compiling stm32f10x_bkp.c... ..stm32f10x_fwlibsrcstm32f10x_bkp.c(23): error: #5: cannot open source input file "stm32f10x_bkp.h": No such file or directory compiling stm32f10x_can.c... ..stm32f10x_fwlibsrcstm32f10x_can.c(23): error: #5: cannot open source input file "stm32f10x_can.h": No such file or directory compiling stm32f10x_cec.c... ..stm32f10x_fwlibsrcstm32f10x_cec.c(23): error: #5: cannot open source input file "stm32f10x_cec.h": No such file or directory compiling stm32f10x_crc.c... ..stm32f10x_fwlibsrcstm32f10x_crc.c(23): error: #5: cannot open source input file "stm32f10x_crc.h": No such file or directory compiling stm32f10x_dbgmcu.c... ..stm32f10x_fwlibsrcstm32f10x_dbgmcu.c(23): error: #5: cannot open source input file "stm32f10x_dbgmcu.h": No such file or directory compiling stm32f10x_dma.c... ..stm32f10x_fwlibsrcstm32f10x_dma.c(23): error: #5: cannot open source input file "stm32f10x_dma.h": No such file or directory compiling stm32f10x_exti.c... ..stm32f10x_fwlibsrcstm32f10x_exti.c(23): error: #5: cannot open source input file "stm32f10x_exti.h": No such file or directory compiling stm32f10x_flash.c... ..stm32f10x_fwlibsrcstm32f10x_flash.c(23): error: #5: cannot open source input file "stm32f10x_flash.h": No such file or directory compiling stm32f10x_fsmc.c... ..stm32f10x_fwlibsrcstm32f10x_fsmc.c(23): error: #5: cannot open source input file "stm32f10x_fsmc.h": No such file or directory compiling stm32f10x_gpio.c... ..stm32f10x_fwlibsrcstm32f10x_gpio.c(23): error: #5: cannot open source input file "stm32f10x_gpio.h": No such file or directory compiling stm32f10x_iwdg.c... ..stm32f10x_fwlibsrcstm32f10x_iwdg.c(23): error: #5: cannot open source input file "stm32f10x_iwdg.h": No such file or directory compiling stm32f10x_pwr.c... ..stm32f10x_fwlibsrcstm32f10x_pwr.c(23): error: #5: cannot open source input file "stm32f10x_pwr.h": No such file or directory compiling stm32f10x_rcc.c... ..stm32f10x_fwlibsrcstm32f10x_rcc.c(23): error: #5: cannot open source input file "stm32f10x_rcc.h": No such file or directory compiling stm32f10x_rtc.c... ..stm32f10x_fwlibsrcstm32f10x_rtc.c(23): error: #5: cannot open source input file "stm32f10x_rtc.h": No such file or directory compiling stm32f10x_sdio.c... ..stm32f10x_fwlibsrcstm32f10x_sdio.c(23): error: #5: cannot open source input file "stm32f10x_sdio.h": No such file or directory compiling stm32f10x_spi.c... ..stm32f10x_fwlibsrcstm32f10x_spi.c(23): error: #5: cannot open source input file "stm32f10x_spi.h": No such file or directory compiling stm32f10x_tim.c... ..stm32f10x_fwlibsrcstm32f10x_tim.c(23): error: #5: cannot open source input file "stm32f10x_tim.h": No such file or directory compiling stm32f10x_usart.c... ..stm32f10x_fwlibsrcstm32f10x_usart.c(23): error: #5: cannot open source input file "stm32f10x_usart.h": No such file or directory compiling stm32f10x_wwdg.c... ..stm32f10x_fwlibsrcstm32f10x_wwdg.c(23): error: #5: cannot open source input file "stm32f10x_wwdg.h": No such file or directory compiling stm32f10x_adc.c... ..stm32f10x_fwlibsrcstm32f10x_adc.c(23): error: #5: cannot open source input file "stm32f10x_adc.h": No such file or directory compiling stm32f10x_dac.c... ..stm32f10x_fwlibsrcstm32f10x_dac.c(23): error: #5: cannot open source input file "stm32f10x_dac.h": No such file or directory compiling stm32f10x_i2c.c... ..stm32f10x_fwlibsrcstm32f10x_i2c.c(23): error: #5: cannot open source input file "stm32f10x_i2c.h": No such file or directory Target not created |
|
|
|
头文件路劲没加吧。
|
|
|
|
急!按照库函数版新建工程,的步骤建立工程,
corecore_cm3.h(90): error: #5: cannot open source input file "stdint.h": No such file or directory 。。。 corecore_cm3.c(24): error: #5: cannot open source input file "stdint.h": No such file or directory c/c++这项;里面的,Define;这里是输入,STM32F10X_HD,USE_STDPERIPH_DRIVER 吗? include paths;路径是,user, core , stm32f10x_fwlibinc 文件夹 core包含,core_cm3 ,core_cm3.h startup_stm32f10x_hd.s 三个文件 stm32f10x_fwlib,包含,inc ,src,两个文件夹 user,包含,main, startup_stm32f10x_hd, stm32f10x.h, stm32f10x_conf.h,, stm32f10x_it,,, stm32f10x_it.h,,, ,,system_stm32f10x,,, system_stm32f10x.h 8个文件, 不知道哪里的问题,编译报错 |
|
|
|
stdint.h,直接去mdk安装目录下搜索。找到后,拷贝到工程/SYSTM/SYS文件夹里面
这个貌似很多朋友装的MDK4.都会出现类似的问题,就是找不到标准库的某个头文件,比较郁闷。 |
|
|
|
好的,呵呵谢谢!!~~!
|
|
|
|
Library 这个文件, , MDK3.80AA安装文件夹里搜索不到,,,
|
|
|
|
想重新下载个,MDK3.80a,百度找了很久都没找到,,有没有连接发个,
|
|
|
|
linking...
.ObjHello.axf: Warning: L6373W: libattrs.map file not found in System Library directory C:Program FilesARMADSv1_2LIBarmlib. Library selection may be impaired. .ObjHello.axf: Warning: L6310W: Unable to find ARM libraries. .ObjHello.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main. 找了一下,坛子里面有人遇到和我一样的问题,那个帖子是 http://www.amobbs.com/forum.php? ... ighlight=MDK%2B4.60 把环境变量关于ARM的都改掉,或者不安装ADS1.2就没有问题。也有人说在Release_Notes里面有, 增加环境变量: ARMCC5LIB 变量值:C:KeilARMARMCClib 请教,这个怎么弄,完全不知道怎么搞。 |
|
|
|
重新换到e盘安装就没报错了,,
|
|
|
|
复制了没用
|
|
|
|
报什么错?
|
|
|
|
我也遇到了这种情况,求解!!!
|
|
|
|
只有小组成员才能发言,加入小组>>
3318 浏览 9 评论
2995 浏览 16 评论
3494 浏览 1 评论
9063 浏览 16 评论
4088 浏览 18 评论
1185浏览 3评论
609浏览 2评论
const uint16_t Tab[10]={0}; const uint16_t *p; p = Tab;//报错是怎么回事?
601浏览 2评论
用NUC131单片机UART3作为打印口,但printf没有输出东西是什么原因?
2337浏览 2评论
NUC980DK61YC启动随机性出现Err-DDR是为什么?
1897浏览 2评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-25 06:34 , Processed in 1.454039 second(s), Total 84, Slave 74 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号