CMake Static library's dependency can't be found

pinock
Posts: 12
Joined: Thu Oct 17, 2019 12:32 pm

CMake Static library's dependency can't be found

Postby pinock » Thu Nov 21, 2019 11:41 am

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.
Attachments
Screen Shot 2019-10-22 at 21.56.48.png
Screen Shot 2019-10-22 at 21.56.48.png (206.47 KiB) Viewed 699 times

Who is online

Users browsing this forum: No registered users and 32 guests