Downloading and installing the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By Chris--A
#14669 Trying the IDE out of the box fails using the ESP8266 functionality. Compiling an empty (any) sketch causes a single 'Compile error' with no additional information.

Anybody else had this problem?

The entire output is this:
C:\Users\Chris\Desktop\APPS\arduino-1.6.1/hardware/tools/esp8266/xtensa-lx106-elf/bin/xtensa-lx106-elf-g++ -D__ets__ -DICACHE_FLASH -IC:\Users\Chris\Desktop\APPS\arduino-1.6.1/hardware/tools/esp8266/sdk//include -c -Os -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -std=c++11 -MMD -DF_CPU=80000000L -DARDUINO=10601 -DARDUINO_ESP8266_ESP01 -DARDUINO_ARCH_ESP8266 -IC:\Users\Chris\Desktop\APPS\arduino-1.6.1\hardware\esp8266com\esp8266\cores\esp8266 -IC:\Users\Chris\Desktop\APPS\arduino-1.6.1\hardware\esp8266com\esp8266\variants\esp01 C:\Users\Chris\AppData\Local\Temp\build7246981307155993920.tmp\sketch_apr16a.cpp -o C:\Users\Chris\AppData\Local\Temp\build7246981307155993920.tmp\sketch_apr16a.cpp.o
Error compiling.
User avatar
By Chris--A
#14761 Yeah sure.

It is an issue I found linked from Roger Clark's core package. I was trying to get Adafruit's proxy working with the stock 1.6.3 IDE. In the issue, Roger mentions to someone else that the libiconv-2.dll is needed in the root folder.

https://github.com/rogerclarkmelbourne/arduino-esp8266 >> https://github.com/esp8266/Arduino/issues/57

Then I tried the ESP8266 version of the IDE (1.6.1) and that failed also.

I ended up copying the tools and the core into my 1.5.7 stock IDE which I use for most things (along with the correct libiconv-2.dll file).

However the cool package proxy hack from Adafruit is great as I can use the latest stock IDE, both it and the custom IDE should work fine, its just the file I copied was incorrect.