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 finding Common/err_codes.h

*** Using Compiler 'V5.05 update 2 (build 169)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Build target 'STM32L476VGT-DISCOVERY'
compiling main.c...
..\..\..\..\..\..\..\en.stm32-cryp-lib\STM32 Cryptographic library package V2.0.6\Libraries\STM32_Cryptographic_Library\inc\crypto.h(248): error: #5: cannot open source input file "Common/err_codes.h": No such file or directory #include "Common/err_codes.h"
main.c: 0 warnings, 1 error
".\Objects\Senior Design1.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed: 00:00:01

*I have this file but yet the system will not recognize it. However, it recognizes every other file*

  • then it must be in a place where the compiler's not looking.

    Check your include paths ...

  •  C:\Users\CREAM4\Downloads\en.stm32-cryp-lib\STM32 Cryptographic library package
    V2.0.6\Libraries\STM32_Cryptographic_Library\inc>tree
    Folder PATH listing for volume OS
    Volume serial number is 52FB-3D66
    C:.
    +---AES
    ¦   +---CBC
    ¦   +---CCM
    ¦   +---CMAC
    ¦   +---Common
    ¦   +---CTR
    ¦   +---ECB
    ¦   +---GCM
    ¦   +---KEYWRAP
    +---ARC4
    +---Common
    +---DES
    ¦   +---CBC
    ¦   +---Common
    ¦   +---ECB
    +---ECC
    ¦   +---LowLevel
    +---HASH
    ¦   +---Common
    ¦   +---MD5
    ¦   +---SHA1
    ¦   +---SHA224
    ¦   +---SHA256
    +---MATH
    ¦   +---BN
    +---RNG
    ¦   +---DRBG_AES128
    +---RSA
    +---TDES
        +---CBC
        +---Common
        +---ECB
    

    These are the common paths that I am looking at. Inside the path is a "err_codes.h" file that the system will not recognize.