> 技术文档 > Keil5遇到:*** Target ‘xxx‘ uses ARM-Compiler ‘Default Compiler Version 5‘ which is not available._*** target \'target 1\' uses arm-compiler \'default c

Keil5遇到:*** Target ‘xxx‘ uses ARM-Compiler ‘Default Compiler Version 5‘ which is not available._*** target \'target 1\' uses arm-compiler \'default c

这是因为现在默认安装的keil没有安装ARM Compiler Version 5,最新的5.42a安装的是ARM编译器6.23

可以在ARM官网找到相对于的版本(需要注册账号)
位置在Home -> Documentation -> Tools and Software -> Embedded -> Arm Development Studio -> Arm Compiler for Embedded -> Arm Compiler 5 -> Arm Compiler downloads index
(点击上方进入)

下载最新的Arm Compiler 5.06 update 7 (build 960),注意是Win32,解压后得到
Keil5遇到:*** Target ‘xxx‘ uses ARM-Compiler ‘Default Compiler Version 5‘ which is not available._*** target \'target 1\' uses arm-compiler \'default c
运行installer中的setup.exe文件,将安装路径改为Keil安装目录下的ARM下(否则后期编译会提示:The license file could not be found. Check that ARMLMD_LICENSE_FILE is set correctly.),自己单独新建一个文件夹,可以是ARMCC506,然后再keil中添加编译器目录即可。
Keil5遇到:*** Target ‘xxx‘ uses ARM-Compiler ‘Default Compiler Version 5‘ which is not available._*** target \'target 1\' uses arm-compiler \'default cKeil5遇到:*** Target ‘xxx‘ uses ARM-Compiler ‘Default Compiler Version 5‘ which is not available._*** target \'target 1\' uses arm-compiler \'default c