Closed Bluelinux closed 6 years ago
Seems to be wrong livrary version.
from IRRemoteESP8266?
same issue ... any hints? (detailled)
See: https://github.com/markszabo/IRremoteESP8266/releases
Add two lines underneath #include
See at the bottom of the mentioned page.
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!
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.
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.
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
xdrv_ir_send:307: error: 'irsend' was not declared in this scope
xdrv_ir_send:309: error: 'irsend' was not declared in this scope
xdrv_ir_send:311: error: 'irsend' was not declared in this scope
xdrv_ir_send:313: error: 'irsend' was not declared in this scope
xdrv_ir_send:315: error: 'irsend' was not declared in this scope
xdrv_ir_send:317: error: 'irsend' was not declared in this scope
xdrv_ir_send:319: error: 'irsend' was not declared in this scope
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.