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

keil C

Hai,


Iam new to KEIL
i created .LIB file with some funtions.
and i Created .Header file with all extern declaration for the funtions which are in .Lib file
i creat .LIB file and .H file
i included the .h file in main.c
and iam using functions from LIB and when i compile
its showing
"UNRESOLVED EXTERNAL SYMBOL"

how to avoid this,
can u send a sample .LIB file and .H file
to know how to declare and write the funtions in .LIB file and .H file.
mail: tuan2101@yahoo.com

thanks
van tuan

Parents
  • You need to add the Library file to your uVision Project.

    "i included the .h file in main.c"

    This simply promises the compiler that the functions will be provided somewhere else - you need to fulfil that promise by including the Library.

Reply
  • You need to add the Library file to your uVision Project.

    "i included the .h file in main.c"

    This simply promises the compiler that the functions will be provided somewhere else - you need to fulfil that promise by including the Library.

Children