aws-samples / arduino-aws-greengrass-iot

This library uses AWS C-SDK to implement an Arduino class AWSGreenGrassIoT to make it easy to securely connect sensors/actuator to AWS IoT core, directly or by mean of an AWS greengrass device (i.e. Raspberry PI) using X509 certificates.
Apache License 2.0
44 stars 13 forks source link

fatal error: mbedtls/net.h #15

Open Rayugo opened 1 month ago

Rayugo commented 1 month ago

Hi, when following the guide there is an error while compiling the code.

In file included from e:\arduino_sketches\libraries\AwsGreenGrassIoT\src/network_interface.h:35,
                 from e:\arduino_sketches\libraries\AwsGreenGrassIoT\src/aws_iot_mqtt_client.h:57,
                 from e:\arduino_sketches\libraries\AwsGreenGrassIoT\src/AWSGreenGrassIoT.h:20,
                 from E:\arduino_sketches\gg_sgp30_publisher\gg_sgp30_publisher.ino:1:
e:\arduino_sketches\libraries\AwsGreenGrassIoT\src/network_platform.h:26:10: fatal error: mbedtls/net.h: No such file or directory
   26 | #include "mbedtls/net.h"
      |          ^~~~~~~~~~~~~~~
compilation terminated.
exit status 1

Compilation error: exit status 1