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/
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login