Skip to content

SSLClientESP32 v2.0.3 not compatible with latest arduino-esp32 (v3.0.0) #15

@bonamyr

Description

@bonamyr

I am using the ESP32-Wrover-b on the Lilygo T-SIM7000G.
There is a problem with the header file ssl_lib_client.h of the SSLClientESP32 library. It should #include mbedtls/net.h but doesn't find it. I have reduced the code to the bare minimum to show that the problem is related to the SSLClientESP32 library. The code works fine with the earlier version of arduino-esp32 (v2.0.17) and the latest version of SSLClientESP32 library (v.2.0.3), showing that the most recent SSLClientESP32 library is not compatible with the arduino-esp32 v3.0.0 anymore.

Here is the Arduino sketch:

#include <SSLClientESP32.h>

void setup() {
// put your setup code here, to run once:

}

void loop() {
// put your main code here, to run repeatedly:

}

And the error i get:

In file included from c:\Users\myria\Documents\Arduino\libraries\SSLClientESP32\src/SSLClientESP32.h:25,
from C:\Users\myria\AppData\Local\Temp.arduinoIDE-unsaved202454-21456-hvzkm5.0tuzn\sketch_jun4a\sketch_jun4a.ino:1:
c:\Users\myria\Documents\Arduino\libraries\SSLClientESP32\src/ssl_lib_client.h:11:10: fatal error: mbedtls/net.h: No such file or directory
11 | #include "mbedtls/net.h"
| ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions