I am creating a library file and want to use it on keil project, .c file name is "a.c" and .h is "a.h" after bulding the project which contains only two files a.c and a.h with .lib extension it gives a.lib. Now I want to add this a.lib in anothet project but it is producing an error please help reagrding this .
Error is : Undefine Reference FIN1() even i included the header file in which FUN1() is declared, but it is not accessing definition from .lib file....
please help.
Error is : Undefine Reference FUN1()
even i included the header file in which FUN1() is declared, but it is not accessing definition from .lib file....
"even i included the header file in which FUN1() is declared"
But it's complaining about FIN1 - not FUN1...
A plain text search through all your source files should confirm whether you do have such typos...
"it is not accessing definition from .lib file"
Have you included the .lib file in your Project?
Yes I copied .lib file in project folder and also add .lib file in project .. but still it gives error.