-->
Page 1 of 2

IDE unknown Compile error on windows 8.1 x64

PostPosted: Wed Apr 15, 2015 8:30 pm
by Chris--A
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.

Re: IDE unknown Compile error on windows 8.1 x64

PostPosted: Wed Apr 15, 2015 9:15 pm
by Chris--A
Ok, it seems I miss read a comment I saw on GitHub...

I copied libiconv2.dll to the root folder, whereas I needed libiconv-2.dll.

Re: IDE unknown Compile error on windows 8.1 x64

PostPosted: Thu Apr 16, 2015 6:38 pm
by Branks
Hey do you mind sharing the GitHub comment you read please as I seem to be having the same issue and it's driving me mad...

Cheers

Re: IDE unknown Compile error on windows 8.1 x64

PostPosted: Thu Apr 16, 2015 10:40 pm
by Chris--A
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.