Page 1 of 1

CMake Static library's dependency can't be found

Posted: Thu Nov 21, 2019 11:41 am
by pinock
MySDK uses my own MyLib and this uses nvs_flash lib. when i export mylib as a static library. mylib's give error undefined reference to nvs_flash_init() etc. what i missing?

-------

MySDK->MyLib->nvs_flash-> compilation success and i get libmylib.a from build

MyApp->libMyLib.a -> compilation error undefined reference to nvs_flash_init() etc.