keil v5.15编译总是提示有两个错误,内容如下

2019-07-14 16:56发布

那个高手给看看,keil无法编译,谢谢了。
错误提示如下:

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:Keil_v5ARMARMCCBin'
Rebuild target 'STM32L476RG_NUCLEO'
compiling system_stm32l4xx.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_nucleo.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling main.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_it.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_gpio.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_cortex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_pwr_ex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_rcc_ex.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_pwr.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
compiling stm32l4xx_hal_rcc.c...
Error: C9511E: Product definition file was not found. The following paths were searched:
- C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
- C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
Error: C9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
Product: unknown
Component: ARM Compiler 5.05 update 2 (build 169)
Tool: ArmCC [4d0f38]
assembling startup_stm32l476xx.s...
startup_stm32l476xx.s: Error: A9511E: Product definition file was not found. The following paths were searched:
startup_stm32l476xx.s:  - C:Keil_v5ARMARMCCBinmdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:Keil_v5ARMARMCCBin....swmappingsmdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:Keil_v5ARMARMCCBin......swmappingsmdk_cm_pro.elmap
startup_stm32l476xx.s:  - C:Keil_v5ARMARMCCBin..swmappingsmdk_cm_pro.elmap
startup_stm32l476xx.s:
startup_stm32l476xx.s: Error: A9545E: Info key CT.ProductName could not be found in product definition C:Keil_v5ARMARMCCswmappingsarmcompiler.elmap
startup_stm32l476xx.s: Product: unknown
startup_stm32l476xx.s: Component: ARM Compiler 5.05 update 2 (build 169)
startup_stm32l476xx.s: Tool: ArmAsm [4d0f2f]
"STM32L476RG_NUCLEOSTM32L476RG_NUCLEO.axf" - 2 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01
友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。