This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/AWR1843BOOST: CCS v901 Compiler issue: "error #20: identifier "xxx" is undefined"

Part Number: AWR1843BOOST

Tool/software: Code Composer Studio

hello,

The compiler throws the error, "error #20: identifier "XXX" is undefined" despite of the header file containing the identifier definition is added in includes.

Please let me know how do I resolve it

Regards,

Sagar Bhaktavatsala

  • Please read this article (not from TI) to learn the difference between a variable declaration and a variable definition.  

    6058616 said:
    despite of the header file containing the identifier definition

    I suspect the header file only contains a declaration.  No definition is supplied anywhere in the program, which is why you get the diagnostic ...

    6058616 said:
    error #20: identifier "XXX" is undefined"

    Thanks and regards,

    -George