arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
22.32k stars 4.82k forks source link

v5.8.0 Proplem with Compilation #1087

Closed Bluelinux closed 6 years ago

Bluelinux commented 7 years ago

Arduino: 1.8.2 (Windows 10), Board: "WeMos D1 R2 & mini, 80 MHz, 921600, 4M (3M SPIFFS)"

Build-Optionen wurden verändert, alles wird neu kompiliert xdrv_ir_send:50: error: 'IRsend' does not name a type

IRsend *irsend = NULL;

^

D:\Downloads\Sonoff-Tasmota-development-5.8.0\Sonoff-Tasmota-development\sonoff\xdrv_ir_send.ino: In function 'void IrSendInit()':

xdrv_ir_send:54: error: 'irsend' was not declared in this scope

irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND

^

xdrv_ir_send:54: error: expected type-specifier before 'IRsend'

irsend = new IRsend(pin[GPIO_IRSEND]); // an IR led is at GPIO_IRSEND

            ^

xdrv_ir_send:54: error: expected ';' before 'IRsend'

D:\Downloads\Sonoff-Tasmota-development-5.8.0\Sonoff-Tasmota-development\sonoff\xdrv_ir_send.ino: At global scope:

xdrv_ir_send:73: error: 'IRrecv' does not name a type

IRrecv *irrecv = NULL;

^

D:\Downloads\Sonoff-Tasmota-development-5.8.0\Sonoff-Tasmota-development\sonoff\xdrv_ir_send.ino: In function 'void IrReceiveInit()':

xdrv_ir_send:78: error: 'irrecv' was not declared in this scope

irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV

^

xdrv_ir_send:78: error: expected type-specifier before 'IRrecv'

irrecv = new IRrecv(pin[GPIO_IRRECV]); // an IR led is at GPIO_IRRECV

            ^

xdrv_ir_send:78: error: expected ';' before 'IRrecv'

D:\Downloads\Sonoff-Tasmota-development-5.8.0\Sonoff-Tasmota-development\sonoff\xdrv_ir_send.ino: In function 'void IrReceiveCheck()':

xdrv_ir_send:89: error: 'decode_results' was not declared in this scope

decode_results results;

^

xdrv_ir_send:89: error: expected ';' before 'results'

decode_results results;

              ^

xdrv_ir_send:91: error: 'irrecv' was not declared in this scope

if (irrecv->decode(&results)) {

   ^

xdrv_ir_send:91: error: 'results' was not declared in this scope

if (irrecv->decode(&results)) {

                   ^

D:\Downloads\Sonoff-Tasmota-development-5.8.0\Sonoff-Tasmota-development\sonoff\xdrv_ir_send.ino: In function 'boolean IrSendCommand(char, uint16_t, char, uint16_t, int16_t)':

xdrv_ir_send:305: error: 'irsend' was not declared in this scope

         irsend->sendNEC(data, bits);

         ^

xdrv_ir_send:307: error: 'irsend' was not declared in this scope

         irsend->sendSony(data, bits);

         ^

xdrv_ir_send:309: error: 'irsend' was not declared in this scope

         irsend->sendRC5(data, bits);

         ^

xdrv_ir_send:311: error: 'irsend' was not declared in this scope

         irsend->sendRC6(data, bits);

         ^

xdrv_ir_send:313: error: 'irsend' was not declared in this scope

         irsend->sendDISH(data, bits);

         ^

xdrv_ir_send:315: error: 'irsend' was not declared in this scope

         irsend->sendJVC(data, bits, 1);

         ^

xdrv_ir_send:317: error: 'irsend' was not declared in this scope

         irsend->sendSAMSUNG(data, bits);

         ^

xdrv_ir_send:319: error: 'irsend' was not declared in this scope

         irsend->sendPanasonic(bits, data);

         ^

exit status 1 'IRsend' does not name a type

Dieser Bericht wäre detaillierter, wenn die Option "Ausführliche Ausgabe während der Kompilierung" in Datei -> Voreinstellungen aktiviert wäre.

wunderbaum commented 7 years ago

Seems to be wrong livrary version.

Bluelinux commented 7 years ago

from IRRemoteESP8266?

u2mike commented 7 years ago

same issue ... any hints? (detailled)

plReynaerde commented 7 years ago

See: https://github.com/markszabo/IRremoteESP8266/releases

Add two lines underneath #include saying:

include // If you want to send IR commands.

include // If you want to receive IR commands.

See at the bottom of the mentioned page.

u2mike commented 7 years ago

thx for your reply ... i started from the scratch with the following link: https://github.com/arendst/Sonoff-Tasmota/wiki/Arduino-IDE NOW i can compile but problem is to upload to my sonoff pow device: warning: espcomm_sync failed error: espcomm_open failed error: espcomm_upload_mem failed error: espcomm_upload_mem failed so now i am trying to iron out details about this issue :-(

i checked cable and so on but until now uploading doesn´t work!

stale[bot] commented 6 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 6 years ago

This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.