OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3273|回复: 8

正确安装MDK5以后(不含中文路径)并用破解完成注册,利用A盘/源代码/库函数/跑马灯 测试时出错

[复制链接]

2

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2020-6-15
在线时间
5 小时
发表于 2020-6-17 09:21:05 | 显示全部楼层 |阅读模式
1金钱
搭建开发环境过程中,根据教学视频安装完成MDK5,安装路径不含中文,并且已经注册破解,并且已删除ADS1.2相关软件、环境变量、注册表内容,运行A盘/源代码/库函数/跑马灯时还是出现报错内容,翻遍论坛所有解决方案,没有效果
Build target 'LED'
compiling main.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
main.c: 0 warnings, 1 error
compiling stm32f10x_it.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
stm32f10x_it.c: 0 warnings, 1 error
compiling system_stm32f10x.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
system_stm32f10x.c: 0 warnings, 1 error
compiling led.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\HARDWARE\LED\led.c: 0 warnings, 1 error
compiling delay.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\SYSTEM\delay\delay.c: 0 warnings, 1 error
compiling sys.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\SYSTEM\sys\sys.c: 0 warnings, 1 error
compiling usart.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\SYSTEM\usart\usart.c: 0 warnings, 1 error
compiling core_cm3.c...
..\CORE\core_cm3.c(24): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>
..\CORE\core_cm3.c: 0 warnings, 1 error
compiling misc.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\STM32F10x_FWLib\src\misc.c: 0 warnings, 1 error
compiling stm32f10x_gpio.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_gpio.c: 0 warnings, 1 error
compiling stm32f10x_dbgmcu.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_dbgmcu.c: 0 warnings, 1 error
compiling stm32f10x_rcc.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_rcc.c: 0 warnings, 1 error
compiling stm32f10x_usart.c...
..\CORE\core_cm3.h(90): error:  #5: cannot open source input file "stdint.h": No such file or directory
  #include <stdint.h>                           /* Include standard types */
..\STM32F10x_FWLib\src\stm32f10x_usart.c: 0 warnings, 1 error
"..\OBJ\LED.axf" - 13 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01


已完成注册

已完成注册

报错现象

报错现象

13个错误都是一个错误

13个错误都是一个错误

最佳答案

查看完整内容[请看2#楼]

本质上好像和之前差别不大 还是库不全。上次找不到stdint.h 这次他报找不到ARM库。除非有人踩过这个坑,不然只能靠你自己找错误的出处了。
正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

7

主题

175

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1327
金钱
1327
注册时间
2019-7-11
在线时间
165 小时
发表于 2020-6-17 09:21:06 | 显示全部楼层
EngineerZhang 发表于 2020-6-17 12:48
option没什么问题
我卸载了重新装了一次换了个错误
Build target 'LED'

本质上好像和之前差别不大 还是库不全。上次找不到stdint.h 这次他报找不到ARM库。除非有人踩过这个坑,不然只能靠你自己找错误的出处了。
世界和平
回复

使用道具 举报

7

主题

175

帖子

0

精华

金牌会员

Rank: 6Rank: 6

积分
1327
金钱
1327
注册时间
2019-7-11
在线时间
165 小时
发表于 2020-6-17 10:39:33 | 显示全部楼层
头文件包含不全 看看option里面的配置是否都没问题吧
世界和平
回复

使用道具 举报

2

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2020-6-15
在线时间
5 小时
 楼主| 发表于 2020-6-17 12:48:20 | 显示全部楼层
礼拜天真好 发表于 2020-6-17 10:39
头文件包含不全 看看option里面的配置是否都没问题吧

option没什么问题
我卸载了重新装了一次换了个错误
Build target 'LED'
compiling main.c...
compiling stm32f10x_it.c...
compiling system_stm32f10x.c...
compiling led.c...
compiling delay.c...
compiling sys.c...
compiling usart.c...
compiling core_cm3.c...
assembling startup_stm32f10x_hd.s...
compiling misc.c...
compiling stm32f10x_gpio.c...
compiling stm32f10x_dbgmcu.c...
compiling stm32f10x_rcc.c...
compiling stm32f10x_usart.c...
linking...
..\OBJ\LED.axf: Warning: L6310W: Unable to find ARM libraries.
..\OBJ\LED.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 1 warning and 1 error messages.
"..\OBJ\LED.axf" - 1 Error(s), 1 Warning(s).
Target not created.
Build Time Elapsed:  00:00:09
回复

使用道具 举报

2

主题

38

帖子

0

精华

高级会员

Rank: 4

积分
994
金钱
994
注册时间
2020-3-12
在线时间
271 小时
发表于 2020-6-17 13:12:49 | 显示全部楼层
试一下将工程复制到桌面上,然后再打开
回复

使用道具 举报

0

主题

5

帖子

0

精华

新手入门

积分
1
金钱
1
注册时间
2020-6-17
在线时间
0 小时
发表于 2020-6-17 13:22:59 | 显示全部楼层
厉害厉害厉害了
回复

使用道具 举报

2

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2020-6-15
在线时间
5 小时
 楼主| 发表于 2020-6-17 16:02:13 | 显示全部楼层
hell0world 发表于 2020-6-17 13:12
试一下将工程复制到桌面上,然后再打开

试了,是同样的编译错误
回复

使用道具 举报

2

主题

6

帖子

0

精华

新手入门

积分
19
金钱
19
注册时间
2020-6-15
在线时间
5 小时
 楼主| 发表于 2020-6-17 16:03:00 | 显示全部楼层
GFHH 发表于 2020-6-17 13:22
厉害厉害厉害了

你有没有什么想法
回复

使用道具 举报

21

主题

2205

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
5141
金钱
5141
注册时间
2014-8-26
在线时间
1317 小时
发表于 2020-6-17 17:07:32 | 显示全部楼层
mdk卸载重新安装一下,估计安装有问题
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-18 07:08

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

快速回复 返回顶部 返回列表