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
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.
Does your application work when you do not use a library? Have you read: http://www.keil.com/support/docs/2182.htm