Compiling error gdb_hooks.h
-
Re: Building a WiFi Gateway using ESP8266
After failing to install the GatewayESP8266.ino on my Node MCU from Windows 10, I tried to install the sketch from Linux Ubuntu with MySensors library v.2.3.1 and ESP8266 Board definitions v.2.4.1 but again a compiling error shows up in Arduino IDE v.1.8.9:
Arduino: 1.8.9 (Linux), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Lower Memory, Disabled, None, Only Sketch, 115200" In file included from /home/Name/Arduino/libraries/MySensors/MySensors.h:441:0, from /home/Name/Arduino/GatewayESP8266/GatewayESP8266.ino:119: /home/Name/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. exit status 1 Error compiling for board NodeMCU 1.0 (ESP-12E Module).
Anybody with a suggestion how to solve this?
-
@bramz perhaps https://forum.mysensors.org/topic/9563/esp8266-fatal-error-gdb_hooks-h-no-such-file-or-directory-solved ?
-
@mfalkvidd Thanks, that solution worked and sorry I should have found that posting myself of course.
FYI, for loading the ESP8266 Board definitions the usual URL https://arduino.esp8266.com/stable/package_esp8266com_index.json did not work for me anymore. Instead I had to use https://github.com/esp8266/Arduino/releases/download/2.4.2/package_esp8266com_index.json