Hi @henrique.tx adding below in torizonPackages.json temporarily helped to to use the paho libraries
{
“prodRuntimeDeps”: [“libpaho-mqtt1.3”],
“devRuntimeDeps”: [“build-essential”,“libpaho-mqtt1.3”, “libpaho-mqttpp3-1”, “gcc”, “make”, “cmake”, “libssl3”, “libssl-dev”, “doxygen”, “graphviz”, “iproute2”, “git”],
“buildDeps”: [“libssl-dev”, “libpaho-mqtt-dev”, “libpaho-mqttpp-dev”]
}
Then I had to link it from executable like below from CMakeList.txt
target_link_libraries(quick_start_chargepoint
libpaho-mqtt3a.so
libpaho-mqtt3a.so.1
libpaho-mqtt3a.so.1.3.13
libpaho-mqtt3as.so
libpaho-mqtt3as.so.1
libpaho-mqtt3as.so.1.3.13
libpaho-mqtt3c.so
libpaho-mqtt3c.so.1
libpaho-mqtt3c.so.1.3.13
libpaho-mqtt3cs.so
libpaho-mqtt3cs.so.1
libpaho-mqtt3cs.so.1.3.13
libpaho-mqttpp3.so
libpaho-mqttpp3.so.1
libpaho-mqttpp3.so.1.4.0
)
However, it will be still good to know how to do the whole thing manually.
Best Regards
Md Khaled Ibn Hassan