This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

error: #5: cannot open source input file

Hi,

I just installed this licensed uVision V5.14.0.0 several days ago. (Keil info attached here)

The issue is:
When I pull existing software project from SVN repository, and build it, I got the issue of "error: #5: cannot open source input file" for some .h files. (issue log attached here). But those files are in my computer under folder:C:\Keil_v5\ARM\CMSIS\Include. If I change the .h file to absolute full path, that file was found, but other referred files have the same issue. I cannot fix them one by one for there are a lot of files.

My colleague has the same Keil uVision IDE(but with node lock license), the issue does not happen in his computer.

Could you provide support for this?

Thank you,
Gansheng Ou

Attached Keil info as below:
IDE-Version:
µVision V5.14.0.0
Copyright (C) 2015 ARM Ltd and ARM Germany GmbH. All rights reserved.

License Information:
Gansheng Ou
Nuvera Fuel Cells
Flex license: MDK-ARM Standard Cortex-M only: 1 user(s) (mdk_cm_std)
Operation stops: 5 Feb 2019

Tool Version Numbers:
Toolchain: MDK-ARM Standard Cortex-M only: 1 user(s) Version: 5.14.0.0
Toolchain Path: C:\Keil_v5\ARM\ARMCC\Bin
C Compiler: Armcc.exe V5.05 update 1 (build 106)
Assembler: Armasm.exe V5.05 update 1 (build 106)
Linker/Locator: ArmLink.exe V5.05 update 1 (build 106)
Library Manager: ArmAr.exe V5.05 update 1 (build 106)
Hex Converter: FromElf.exe V5.05 update 1 (build 106)
CPU DLL: SARMCM3.DLL V5.14.0.0
Dialog DLL: DCM.DLL V1.13.1.0
Target DLL: UL2CM3.DLL V1.155.0.0
Dialog DLL: TCM.DLL V1.14.4.0

Compiled log as below:
Build target 'XMC4500-F100x768'
compiling Main.c...
C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.3.0\CMSIS\Include\core_cm4.h(188): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory #include <core_cmInstr.h> /* Core Instruction Access */
Main.c: 0 warnings, 1 error
compiling BootLoad.c...
C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.3.0\CMSIS\Include\core_cm4.h(188): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory #include <core_cmInstr.h> /* Core Instruction Access */
BootLoad.c: 0 warnings, 1 error
compiling CAN001.c...
C:\Keil_v5\ARM\Pack\ARM\CMSIS\4.3.0\CMSIS\Include\core_cm4.h(188): error: #5: cannot open source input file "core_cmInstr.h": No such file or directory #include <core_cmInstr.h> /* Core Instruction Access */
CBuild Time Elapsed: 00:00:02

  • Support has direct contact methods, consider using those.
    See SUPPORT tab at top of page. http://www.keil.com/support/

    Make sure you're include paths are correctly set, and describe *your* system. Check in the project. Check in the environment variables for machine specific weirdness. Check install directory differences. Make sure your system set up is coherent with the one checking code into the repository. Have the IT mopes review the system.