When I include the node ir-read from g gweimer/ir-remote library in my patch I receive an error.
I cheched the Error using gweimer/ir-remote library .
The #pragma XOD require “https://github.com/z3t0/Arduino-IRremote” command is there however I get the following error:
Begin compiling code for the board NodeMCU 1.0 (ESP-12E Module)
Using board ‘nodemcuv2’ from platform in folder: C:\Users\gcabr\Documents\XOD_packages_\packages\esp8266\hardware\esp8266\2.4.3
Using core ‘esp8266’ from platform in folder: C:\Users\gcabr\Documents\XOD_packages_\packages\esp8266\hardware\esp8266\2.4.3
Detecting libraries used…
“C:\Users\gcabr\Documents\XOD\packages\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++” -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-D95978DDAB91A24993F784E61621E7FA/core” -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “C:\Users\gcabr\AppData\Local\Temp\arduino-sketch-D95978DDAB91A24993F784E61621E7FA\sketch\xod_1590903177628_sketch.ino.cpp” -o nul
Alternatives for IRremote.h: [Arduino_IRremote@2.2.3]
ResolveLibrary(IRremote.h)
-> candidates: [Arduino_IRremote@2.2.3]
“C:\Users\gcabr\Documents\XOD\packages\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++” -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-D95978DDAB91A24993F784E61621E7FA/core” -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “-IC:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote” “C:\Users\gcabr\AppData\Local\Temp\arduino-sketch-D95978DDAB91A24993F784E61621E7FA\sketch\xod_1590903177628_sketch.ino.cpp” -o nul
“C:\Users\gcabr\Documents\XOD\packages\packages\esp8266\tools\xtensa-lx106-elf-gcc\1.20.0-26-gb404fb9-2/bin/xtensa-lx106-elf-g++” -D__ets__ -DICACHE_FLASH -U__STRICT_ANSI__ “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-D95978DDAB91A24993F784E61621E7FA/core” -c -w -Os -g -mlongcalls -mtext-section-literals -fno-exceptions -fno-rtti -falign-functions=4 -std=c++11 -ffunction-sections -fdata-sections -w -x c++ -E -CC -DF_CPU=80000000L -DLWIP_OPEN_SRC -DTCP_MSS=536 -DARDUINO=10607 -DARDUINO_ESP8266_NODEMCU -DARDUINO_ARCH_ESP8266 “-DARDUINO_BOARD=“ESP8266_NODEMCU”” -DESP8266 “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\Documents\XOD\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “-IC:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote” “C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote\IRremote.cpp” -o nul
C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote\IRremote.cpp:28:27: fatal error: avr/interrupt.h: No such file or directory
#include <avr/interrupt.h>
^
compilation terminated.
Alternatives for avr/interrupt.h: []
ResolveLibrary(avr/interrupt.h)
-> candidates: []
Multiple libraries were found for “IRremote.h”
Used: C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote
Using library Arduino_IRremote at version 2.2.3 in folder: C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookYhjUIl\libraries\Arduino_IRremote
Error: exit status 1
Compilation failed.
Compilation failed
Command Process exited with code 1
The generated C++ code contains errors. It can be due to a bad node implementation or if your board is not compatible with XOD runtime code. The original compiler error message is above. Fix C++ errors to continue. If you believe it is a bug, report the problem to XOD developers.