EmotiBit / EmotiBit_FeatherWing

Firmware to run Emotibit with Adafruit feather M0 WiFi and Feather ESP32
MIT License
19 stars 9 forks source link

Error compiling firmware in Linux #267

Open nitin710 opened 1 year ago

nitin710 commented 1 year ago

Describe the bug The compiler throws an error when trying to build the firmware. Error: Arduino/libraries/EmotiBit_XPlat_Utils/src/EmotiBitPacket.h:5:21: fatal error: String.h: No such file or directory: Link to line in code

Arduino/libraries/EmotiBit_XPlat_Utils/src/EmotiBitEdaCalibration.h:33:21: fatal error: String.h: No such file or directoryLink to line in code

The same error is shown for both Feather M0 and ESP32. The error can be resolved on both boards by following the hacky solution listed below.

To Reproduce Steps to reproduce the behavior:

  1. Build the firmware (on linux) as suggested in the documentation.

Expected behavior Firmware should compile without error.

Hacky solution

ToDo Need to figure out the reason for compile error.