-->
Page 1 of 1

Error compiling for board NodeMCU 1.0 (ESP-12E Module)

PostPosted: Sun Feb 03, 2019 11:13 am
by JMOCS94
I am using the Arduino software and trying to compile anything unto the ESP8266. Every time I click verify or upload it gives the error:

Arduino: 1.8.8 (Windows 10), Board: "NodeMCU 1.0 (ESP-12E Module), 80 MHz, 4M (1M SPIFFS), v2 Prebuilt (MSS=536), Disabled, None, 115200"

D:\Arduino\arduino-builder -dump-prefs -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries D:\Arduino Sketch\libraries -fqbn=esp8266:esp8266:nodemcuv2:CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,UploadSpeed=115200 -ide-version=10808 -build-path C:\Users\JOSHUA~1\AppData\Local\Temp\arduino_build_160057 -warnings=all -build-cache C:\Users\JOSHUA~1\AppData\Local\Temp\arduino_cache_51301 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.xtensa-lx106-elf-gcc-1.20.0-26-gb404fb9-2.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.mkspiffs-0.2.0.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.esptool.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12 -prefs=runtime.tools.esptool-0.4.12.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12 -verbose D:\Arduino Sketch\facebook_fan_count_.c\facebook_fan_count_.c.ino
D:\Arduino\arduino-builder -compile -logger=machine -hardware D:\Arduino\hardware -hardware C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages -tools D:\Arduino\tools-builder -tools D:\Arduino\hardware\tools\avr -tools C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages -built-in-libraries D:\Arduino\libraries -libraries D:\Arduino Sketch\libraries -fqbn=esp8266:esp8266:nodemcuv2:CpuFrequency=80,FlashSize=4M1M,LwIPVariant=v2mss536,Debug=Disabled,DebugLevel=None____,UploadSpeed=115200 -ide-version=10808 -build-path C:\Users\JOSHUA~1\AppData\Local\Temp\arduino_build_160057 -warnings=all -build-cache C:\Users\JOSHUA~1\AppData\Local\Temp\arduino_cache_51301 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.xtensa-lx106-elf-gcc.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.xtensa-lx106-elf-gcc-1.20.0-26-gb404fb9-2.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2 -prefs=runtime.tools.mkspiffs.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.mkspiffs-0.2.0.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\mkspiffs\0.2.0 -prefs=runtime.tools.esptool.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12 -prefs=runtime.tools.esptool-0.4.12.path=C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\tools\esptool\0.4.12 -verbose D:\Arduino Sketch\facebook_fan_count_.c\facebook_fan_count_.c.ino
Using board 'nodemcuv2' from platform in folder: C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0
Using core 'esp8266' from platform in folder: C:\Users\Joshua Schmidt\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.4.0
Detecting libraries used...
"C:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++" -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ "-IC:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.0/tools/sdk/include" "-IC:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.0/tools/sdk/lwip2/include" "-IC:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.0/tools/sdk/libc/xtensa-lx106-elf/include" "-IC:\\Users\\JOSHUA~1\\AppData\\Local\\Temp\\arduino_build_160057/core" -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10808 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 "-DARDUINO_BOARD=\"ESP8266_NODEMCU\"" -DESP8266 "-IC:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.0\\cores\\esp8266" "-IC:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\hardware\\esp8266\\2.4.0\\variants\\nodemcu" "C:\\Users\\JOSHUA~1\\AppData\\Local\\Temp\\arduino_build_160057\\sketch\\facebook_fan_count_.c.ino.cpp" -o nul
exec: "C:\\Users\\Joshua Schmidt\\AppData\\Local\\Arduino15\\packages\\esp8266\\tools\\xtensa-lx106-elf-gcc\\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++": file does not exist
Error compiling for board NodeMCU 1.0 (ESP-12E Module).


I have tried the following:
-Restart computer & device
-Uninstalled and Reinstalled Arduino Software both from Microsoft Store and website
-Deleted everything from $AppData$\Local\Arduino15
-Verified the file is in the AppData folder
-Copied the file into the AppData folder
-Uninstalled and reinstalled board manager using the url

I am stuck and any help is appreciated.

Re: Error compiling for board NodeMCU 1.0 (ESP-12E Module)

PostPosted: Mon Feb 04, 2019 5:25 am
by schufti
do yourself a favour and reinstall arduino as "portable" version (best not on windows drive) after clearing your system from all previous arduino artefacts.