Bibliothek ESP8266WiFi in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi wird verwendet
Bibliothek EEPROM in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\EEPROM wird verwendet
Bibliothek ESP8266WebServer in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WebServer wird verwendet
Bibliothek SPI in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\SPI wird verwendet
exit status 1
PubSubClient.h: No such file or directory
Hi,
I got stuck by compiling the files.
Arduino is saying:
Jarolift_MQTT:48:26: fatal error: PubSubClient.h: No such file or directory
include
compilation terminated.
The Folder "PubSubClient" is there and PubSubClient.h is located in subfolder PubSubClient/src.
Can you help, please?
i am using Arduino 1.8.12 and NodeMCU V3
Complete log shows
Arduino: 1.8.12 (Windows Store 1.8.33.0) (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), 4MB (FS:2MB OTA:~1019KB), 2, v2 Lower Memory, Disabled, None, Only Sketch, 115200"
C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\hardware -hardware C:\Users\andreas\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\andreas\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\libraries -libraries C:\Users\andreas\Documents\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None__,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10812 -build-path C:\Users\andreas\AppData\Local\Temp\arduino_build_484960 -warnings=none -build-cache C:\Users\andreas\AppData\Local\Temp\arduino_cache_670317 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mkspiffs.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -verbose D:\Depot\Jarolift\Jarolift_MQTT-master\Jarolift_MQTT\Jarolift_MQTT.ino C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\arduino-builder -compile -logger=machine -hardware C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\hardware -hardware C:\Users\andreas\Documents\ArduinoData\packages -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\tools-builder -tools C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\hardware\tools\avr -tools C:\Users\andreas\Documents\ArduinoData\packages -built-in-libraries C:\Program Files\WindowsApps\ArduinoLLC.ArduinoIDE_1.8.33.0_x86mdqgnx93n4wtt\libraries -libraries C:\Users\andreas\Documents\Arduino\libraries -fqbn=esp8266:esp8266:nodemcuv2:xtal=80,vt=flash,exception=legacy,ssl=all,eesz=4M2M,led=2,ip=lm2f,dbg=Disabled,lvl=None__,wipe=none,baud=115200 -vid-pid=1A86_7523 -ide-version=10812 -build-path C:\Users\andreas\AppData\Local\Temp\arduino_build_484960 -warnings=none -build-cache C:\Users\andreas\AppData\Local\Temp\arduino_cache_670317 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.python3.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.python3-3.7.2-post1.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\python3\3.7.2-post1 -prefs=runtime.tools.mkspiffs.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mkspiffs-2.5.0-4-b40a506.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mkspiffs\2.5.0-4-b40a506 -prefs=runtime.tools.mklittlefs.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.mklittlefs-2.5.0-4-fe5bb56.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\mklittlefs\2.5.0-4-fe5bb56 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -prefs=runtime.tools.xtensa-lx106-elf-gcc-2.5.0-4-b40a506.path=C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506 -verbose D:\Depot\Jarolift\Jarolift_MQTT-master\Jarolift_MQTT\Jarolift_MQTT.ino Using board 'nodemcuv2' from platform in folder: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0 Using core 'esp8266' from platform in folder: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0 Detecting libraries used... "C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\andreas\AppData\Local\Temp\arduino_build_484960/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\variants\nodemcu" "C:\Users\andreas\AppData\Local\Temp\arduino_build_484960\sketch\Jarolift_MQTT.ino.cpp" -o nul Alternatives for ESP8266WiFi.h: [ESP8266WiFi@1.0] ResolveLibrary(ESP8266WiFi.h) -> candidates: [ESP8266WiFi@1.0] "C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\andreas\AppData\Local\Temp\arduino_build_484960/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\variants\nodemcu" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi\src" "C:\Users\andreas\AppData\Local\Temp\arduino_build_484960\sketch\Jarolift_MQTT.ino.cpp" -o nul Alternatives for EEPROM.h: [EEPROM@1.0] ResolveLibrary(EEPROM.h) -> candidates: [EEPROM@1.0] "C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -U__STRICT_ANSI "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\andreas\AppData\Local\Temp\arduino_build_484960/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\variants\nodemcu" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi\src" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\EEPROM" "C:\Users\andreas\AppData\Local\Temp\arduino_build_484960\sketch\Jarolift_MQTT.ino.cpp" -o nul Alternatives for ESP8266WebServer.h: [ESP8266WebServer@1.0] ResolveLibrary(ESP8266WebServer.h) -> candidates: [ESP8266WebServer@1.0] "C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -Dets -DICACHE_FLASH -USTRICT_ANSI "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\andreas\AppData\Local\Temp\arduino_build_484960/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\variants\nodemcu" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi\src" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\EEPROM" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WebServer\src" "C:\Users\andreas\AppData\Local\Temp\arduino_build_484960\sketch\Jarolift_MQTT.ino.cpp" -o nul Alternatives for SPI.h: [SPI@1.0] ResolveLibrary(SPI.h) -> candidates: [SPI@1.0] "C:\Users\andreas\Documents\ArduinoData\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506/bin/xtensa-lx106-elf-g++" -Dets__ -DICACHE_FLASH -USTRICT_ANSI__ "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/lwip2/include" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\Users\andreas\AppData\Local\Temp\arduino_build_484960/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-rtti -falign-functions=4 -std=gnu++11 -ffunction-sections -fdata-sections -fno-exceptions -w -x c++ -E -CC -DNONOSDK22x_190703=1 -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DLWIP_FEATURES=1 -DLWIP_IPV6=0 -DARDUINO=10812 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DLED_BUILTIN=2 -DFLASHMODE_DIO -DESP8266 "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\cores\esp8266" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\variants\nodemcu" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi\src" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\EEPROM" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WebServer\src" "-IC:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\SPI" "C:\Users\andreas\AppData\Local\Temp\arduino_build_484960\sketch\Jarolift_MQTT.ino.cpp" -o nul Alternatives for PubSubClient.h: [] ResolveLibrary(PubSubClient.h) Jarolift_MQTT:48:26: fatal error: PubSubClient.h: No such file or directory -> candidates: []
include
compilation terminated.
Bibliothek ESP8266WiFi in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WiFi wird verwendet Bibliothek EEPROM in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\EEPROM wird verwendet Bibliothek ESP8266WebServer in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\ESP8266WebServer wird verwendet Bibliothek SPI in Version 1.0 im Ordner: C:\Users\andreas\Documents\ArduinoData\packages\esp8266\hardware\esp8266\2.7.0\libraries\SPI wird verwendet exit status 1 PubSubClient.h: No such file or directory