gmag11 / EnigmaIOT

Secure sensor and gateway platform based on ESP8266 and ESP32
https://gmag11.github.io/EnigmaIOT
MIT License
240 stars 46 forks source link

Missing library "arduino.h" #7

Closed huyangping closed 4 years ago

huyangping commented 4 years ago

Just downloaded the latest repository. I am having serious problems. When compiling the enigmaiot_node example in Arduino 1.8.13 IDE on a debian Linux machine I receive the following compile error: Arduino/libraries/EnigmaIOT-master/src/Comms_hal.h:14:21: fatal error: arduino.h: No such file or directory

include "arduino.h"

I have installed all of the external libraries listed on the code tab. Any useful assistance would be breatly appreciated. Glenn G.

gmag11 commented 4 years ago

It is a case typo. Change #include "arduino.h" to #include "Arduino.h" in Comms_hal.h. I'll update it soon. Thank you for reporting

gmag11 commented 4 years ago

This should be solved in https://github.com/gmag11/EnigmaIOT/commit/6d609537073949eeeb86a41dd3235c3f25776801. It's included in latest release https://github.com/gmag11/EnigmaIOT/releases/tag/0.9.3.1

huyangping commented 4 years ago

Thank you for correcting the problem so fast. You have my graditude. Glenn