jeremypoulter / ArduinoMongoose

A wrapper for Mongoose to help build into Arduino framework
25 stars 15 forks source link

mbedtls/ssl_internal.h: No such file or directory #37

Open demirschmid61 opened 5 months ago

demirschmid61 commented 5 months ago

Hello @jeremypoulter

I am using this library on arduino (Version 3.0.0) platform, giving the following error.

.pio/libdeps/esp32dev/ArduinoMongoose/src/mongoose.c:5059:10: fatal error: mbedtls/net.h: No such file or directory
 5059 | #include <mbedtls/net.h>

After checking the files, i replaced #include <mbedtls/net.h> with #include <mbedtls/net_sockets.h> and it solved but facing the following error.

.pio/libdeps/esp32dev/ArduinoMongoose/src/mongoose.c:5062:10: fatal error: mbedtls/ssl_internal.h: No such file or directory
 5062 | #include <mbedtls/ssl_internal.h>

Do i need to include any other file?

I am using platformio with the espressif version 6.6.0 and arduino version 3.0.0.