I am using RUT240 as IoT Router and want to receive MQTT message from Azure IoT Hub. For that reason, I use Azure IoT Hub C SDK from Microsoft. I am totally a newbie with OpenWrt and therefore, I started with "Hello world" for OpenWrt and did it successfully.
But for complicated library like Azure IoT Hub C SDK, I did the same steps and receive error:
Thank you andyboeh but I don't get your idea. Do you mean, I should create binary file (*.ipk) of every single library and install it?
I created a binary file from the example of Azure for Debian without package library to binary file. So, I guess for OpenWrt it should work the same.
If it's a shared library, then yes. Other packages can then depend on it, reducing the needed space. I don't know if that's possible or wanted with your particular application.
Yes, that is my question. How could all the library be included in Makefile or CMakeLists.txt? I mean, I did the "helloworld" example but they didn't use any lib.
In this case you just add the individual source files. This is standard software project management and not OpenWrt-specific. Please research how to add new source files to a project.