ESP8266 fatal error: gdb_hooks.h: No such file or directory [solved]
-
Version 2.4.2 of the ESP8266 board definitions changed quite a lot of stuff that MySensors was using, so the current development version of MySensors (and most likely MySensors 2.3.1 when released) has been updated to accommodate those changes.
This means that MySensors dev/2.3.1+ only works with ESP8266 board definitions 2.4.2 and newer. If you use older versions, you'll get the following error:
In file included from ...\Arduino\libraries\MySensors/MySensors.h:420:0, from ...\Arduino\libraries\MySensors\examples\GatewayESP8266MQTTClient\GatewayESP8266MQTTClient.ino:114: ...\Arduino\libraries\MySensors/hal/architecture/ESP8266/MyMainESP8266.cpp:33:23: fatal error: gdb_hooks.h: No such file or directory #include "gdb_hooks.h" ^ compilation terminated. Using library ESP8266WiFi at version 1.0 in folder: ...\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\ESP8266WiFi Using library MySensors at version 2.3.1-alpha in folder: ...\Arduino\libraries\MySensors Using library EEPROM at version 1.0 in folder: ...\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\EEPROM Using library SPI at version 1.0 in folder: ...\Arduino15\packages\esp8266\hardware\esp8266\2.4.1\libraries\SPI exit status 1 Error compiling for board WeMos D1 R2 & mini.
The solution is to upgrade the ESP8266 board definitions using the Arduino IDE Boards Manager (Tools->Board->Boards manager) to version 2.4.2 or later.
Related information: https://forum.mysensors.org/topic/9558/error-compiling-gateway-for-esp8266-node-mcu-1-0-e12/
1 out of 1
Suggested Topics
-
Day 1 - Status report
Announcements • 23 Mar 2014, 22:45 • hek 24 Mar 2014, 20:12 -
Echo request is not set
Troubleshooting • 12 Aug 2024, 15:36 • kamilb85 3 Sept 2024, 08:58 -
Getting system time from the controller
Troubleshooting • 27 Feb 2025, 01:39 • dpcons 3 Mar 2025, 01:00 -
Raspberry Pi 5: invalid GPIO 9
Troubleshooting • 27 Aug 2024, 13:20 • igo 27 Aug 2024, 13:20 -
Compiling Sensor code using BME280 and ESP8266
Troubleshooting • 26 Feb 2025, 00:32 • dpcons 26 Feb 2025, 06:22 -
Ghost Child
Troubleshooting • 25 days ago • FcNanoLed 22 days ago