As I am currently working on an application that uses the iota.c library, I have been using the example from last years master branch of this repo, which worked fine up until now, but seems to stop working. Transactions are failing and I don't know if this is the result of the chrysalis update. However, I want to update my lib adapter to the newest "dev" commit as the repository has some working example application which are also working fine. When building and linking the iota.c lib (which produces 7 static lib files) to my own app though, I get a some undefined references. After looking into the iota.c cmake recipes it looks like, the examples are linking the object files of the source files directly with the example app and not from the static library.
Is that something that might be fixed soon?
I know that the iota.c library is still under development, but the iota roadmap does not say when a beta is released.
I appreciate your help.
byte_buf_clonen
is part of libiota_core.a. seems your script didn't link dependency libs. don't know your cmake configuration and running operating system but iota.c can be imported as an external lib via FetchContent module, it will auto-link dependency libs. see https://github.com/oopsmonk/iota_cmder/blob/chrysalis/CMakeLists.txt – Sam Chen May 11 '21 at 06:07target_link_libraries(iota_app PRIVATE iota_wallet iota_client iota_core iota_crypto cjson sodium curl )
– Sam Chen May 19 '21 at 04:31