STM32bug【 KEILMDK中出现The Project references devices, files or libraries that are not installed】

简介: STM32bug【 KEILMDK中出现The Project references devices, files or libraries that are not installed】

IDE一般我喜欢用新版的,不是因为旧的不好用或者有什么bug,简单的就是想看下新版本的界面是不是看起来更好看了,是不是又包含了一些令人激动的新功能。

1.0 BUG问题

新安装的keil5.31版本的软件,打开一个工程出现以下的问题。今天突然拿出STM32 BC20(带定位)WiFi来测试一段代码。用Keil vision5编译时出现以下更新错误:

1.0.1.png

1.0.2.png

1.0.3.jpg

原因: 这是因为你装的MDK版本太新了,在之前mdk5.25版本是没有这个问题的,只是在mdk5.31下才出现,那也就可以确定是在MDK5.31中集成了新版stlink的接口,导致需要会强制要求用户更新stlink。

2.0 解决方法

解决方案比较简单,就是Project.uvproj 扩展名后面加一个x,也就是变为Project.uvprojx,然后再打开就可以了。

原因是因为:我们是夸版本打开,我们用的高版本去打开低版本,芯片数据库不支持,所以,我们加了X后,可以用最新的MDK SOFTware packs去重新设置

2.0.1.png

  1. 打开对应程序
  2. 在其后缀加一个x

3.0 总结

直接后缀加一个x解决问题

目录
相关文章
|
1月前
|
iOS开发 Perl
Xcode 10.2.1 Error:library not found for -lstdc++.6.0.9
Xcode 10.2.1 Error:library not found for -lstdc++.6.0.9
23 0
|
12月前
|
Linux 开发者 Windows
Flutter报错Building with plugins requires symlink support的解决方法
Flutter报错Building with plugins requires symlink support的解决方法
Xcode12适配The linked library is missing one or more architectures required by thi
升级到Xcode12后,运行Release模式后,会提示以下信息
169 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
514 0
codeblocks中出现#error This file requires compiler and library support for the错误时的解决方案
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
MAC编译lame ld: symbol(s) not found for architecture x86_64/_lame_init_old“, referenced from
210 0
No matching configuration of project :libusb was found.
No matching configuration of project :libusb was found.
511 0
|
Java
编译OpenJDK:invalid configuration Files: machine Files not recognized
编译OpenJDK:invalid configuration Files: machine Files not recognized
89 0
|
iOS开发 C++
xcode遇到的2个小问题 Conflicting types、vtable for
xcode遇到的2个小问题 Conflicting types、vtable for
256 0
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
成功解决OpenVideoCall(不可用)以及MSB8020 The build tools for v141 (Platform Toolset = ‘v141‘) cannot be found
Apple Mach-O Linker Warning Directory not found解决办法
Apple Mach-O Linker Warning Directory not found解决办法
105 0