0Views0Replies

Author Options:

Download code will not compile?

downloaded the code for button_input_led_output.ino. But every time I try to compile it, I get and error "Error compiling for board Adafruit HUZZAH ESP8266."

All the other code compiles fine. The board runs. Is there some place I can copy the working code?

2 Replies

bekathwia (author)2018-01-09

Is there more to that error message, and if so could you let us know what it says? The code compiles fine for me.

jimmolloy56 (author)bekathwia2018-01-12

Thanks for getting back. Here is the last part of the error file. It's three pages total, but it looks like most of that is the compiling. I do have all three additional libraries install, but as I understand it, even if I did not, it should still compile.

Here's the last part of the error log

c:\users\jim
molloy\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2\xtensa-lx106-elf\include\c++\4.8.2\bits\stl_algobase.h:193:5:
note: template argument
deduction/substitution failed:

C:\Users\Jim
Molloy\Documents\Arduino\libraries\Adafruit_MQTT_Library\Adafruit_MQTT_Client.cpp:84:38:
note: deduced conflicting types for
parameter 'const _Tp' ('short unsigned int' and 'int')

uint16_t
sendlen = min(len, 250);


^

exit status 1

Error compiling for board Adafruit HUZZAH ESP8266.

This report would have more information with

"Show verbose output during compilation"

option enabled in File -> Preferences.