PlatformIO Community

Problem with SSL folder and arduinojson lib

Hi…

I am working with esp32 and some libs…
The arduino json lib and an ssl lib per encryption…
During the last step of the compilation process I get

Linking .pio\build\esp32dev\firmware.elf
.pio\build\esp32dev\libf12\libmqtt.a(mqtt_mng.cpp.o):(.literal._ZN9SSLClientD5Ev[SSLClient::~SSLClient()]+0x0): undefined reference to `vtable for SSLClient'
.pio\build\esp32dev\libf12\libmqtt.a(mqtt_mng.cpp.o):(.literal.startup._GLOBAL__sub_I_ntp_primary+0x18): undefined reference to `SSLClient::SSLClient(Client&, br_x509_trust_anchor const*, unsigned int, int, unsigned int, SSLClient::DebugLevel)'
.pio\build\esp32dev\libf12\libmqtt.a(mqtt_mng.cpp.o): In function `_GLOBAL__sub_I_ntp_primary':
C:\Users\simone.gasparella\Projects\iot_vitella/.pio/libdeps/esp32dev/ArduinoJson/src/ArduinoJson/Misc/SafeBoolIdiom.hpp:15: undefined reference to `SSLClient::SSLClient(Client&, br_x509_trust_anchor const*, unsigned int, int, unsigned int, SSLClient::DebugLevel)'

Any idea about this conflict ?

Thanks