Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
8 years, 6 months ago.
include library but get error
I add a library named as "scheduler" to my project and called the function "APP_SCHED_INIT" which is defined in the scheduler library .But when I complied the project ,I got error as "Error: Undefined symbol app_sched_init(unsigned short, unsigned short, void*) (referred from main.cpp.RBLAB_BLENANO.o)." And some other library also have similar problem
2 Answers
8 years, 6 months ago.
Check to make sure that naming, parameter types etc are fully matching. The compiler is happy, but the linker can not find the called functions. Do an "update all" and "compile all'' to make sure all files are up to date.