IR-Remote Node Error Eith MCU8266 E12 - XOD Community Home » Arduino Avr/interrupt.h No Such File Or Directory » IR-Remote Node Error Eith MCU8266 E12 - XOD Community Maybe your like Arduino Avr/pgmspace.h No Such File Or Directory Arduino Bcd To Decimal Arduino Ble 33 Arduino Ble 33 Bluetooth Arduino Ble 33 Example IR-Remote Node error eith MCU8266 E12 Install/Upload Problems gcabral May 31, 2020, 5:54am 1 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. gcabral May 31, 2020, 8:09pm 2 Any leads from someone who can help? gweimer June 1, 2020, 3:17pm 3 Could be requiring something your hardware does not support. Works fine for me on UNO after updating to latest XOD release 0.34.0 (at least it compiles/uploads…I didn’t drag out hardware to test functionality…) There is also the chance that you have old XOD nodes if you modified any built-in nodes & they don’t work with latest release. You should not have any “xod” or “xod-dev” or similar xod* folders under <user_folder>\xod\__lib__ gcabral June 2, 2020, 1:43am 4 Hi gweimer, Thank you for the support. To check it, I unistall the XOD and reinstal it again (release 0.34.0) I get the following error: Error_IR2736×1824 151 KB gcabral June 2, 2020, 1:59am 5 I tried with a different board (Arduino Uno R1) and similar result: Error_IR_22736×1824 170 KB gweimer June 2, 2020, 12:45pm 6 The first error is access denied trying to install files that XOD needs. You can try manually moving the files. gcabral June 2, 2020, 12:59pm 7 Can you share the way to do it please Thanks in advance gweimer June 2, 2020, 5:31pm 8 There error message gives source and destination folders. If source folder still exists, try manually moving it to the destination location. gcabral June 2, 2020, 5:44pm 9 gweimer: ere error message gives source and destination folders. If source folder still exists, try manually moving it to the destination location. I Have don it. Initializate the XOD Try to upload onto a ESP32 DEVKIT V1 -DOIT I get the followig error: Error_IR_32736×1824 274 KB Onto a ordinarya Arnuito UNO board or onto Arduino Mega boart it goes just fine. On MCU ESP8266 E12 always the same error and no ideia how to solve it gweimer June 2, 2020, 5:49pm 10 You need to scroll back to see what the C++ error is gcabral June 2, 2020, 5:56pm 11 Yes of course The board setup conditions: Error_IR_42736×1824 229 KB The error Error_IR_52736×1824 268 KB And all the scroll 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-A61CFF84B99A3B42AE232BCBBD5371C8/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-A61CFF84B99A3B42AE232BCBBD5371C8\sketch\xod_1591120406615_sketch.ino.cpp” -o nul C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookNfKqdo\xod_1591120406615_sketch\xod_1591120406615_sketch.ino:984:22: fatal error: IRremote.h: No such file or directory #include <IRremote.h> ^ compilation terminated. Alternatives for IRremote.h: [] ResolveLibrary(IRremote.h) -> candidates: [] 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. gweimer June 2, 2020, 8:59pm 12 It can’t find IRremote.h. I have had problems when header files are in sub directories. For example. This one might be in IRremote\source\IRremote.h. Moving or copying the header file one folder up might resolve the issue. gcabral June 3, 2020, 5:44am 13 Understood. But where is the IRemote.h file? I lookup for that and what I can find is the file patch.ccp onto the folder < user >XOD_lib_\gweimer\ir-remote\ir-read and when I open it I get the intruction #pragma XOD require “https://github.com/z3t0/Arduino-IRremote” Once more thanks in advance for all the support /GC gweimer June 3, 2020, 3:39pm 14 The #pragma line should add the included library to <user>\xod\__ardulib__\Arduino_IRremote (unless you install XOD for all users…you need to find the __ardulib__ folder on your system). gcabral June 5, 2020, 6:29am 15 Morning gweimer, I tried withouth sucess. I Also install XODon other 2 computers and tried it. same result Begin compiling code for the board NodeMCU 0.9 (ESP-12 Module) Using board ‘nodemcu’ from platform in folder: C:\Users\gcabr\xod_packages_\packages\esp8266\hardware\esp8266\2.4.3 Using core ‘esp8266’ from platform in folder: C:\Users\gcabr\xod_packages_\packages\esp8266\hardware\esp8266\2.4.3 Detecting libraries used… “C:\Users\gcabr\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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-1FF32756EC29C7F1B585B12307512BE8/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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “C:\Users\gcabr\AppData\Local\Temp\arduino-sketch-1FF32756EC29C7F1B585B12307512BE8\sketch\xod_1591338425517_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\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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-1FF32756EC29C7F1B585B12307512BE8/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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “-IC:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookmPSHnb\libraries\Arduino_IRremote” “C:\Users\gcabr\AppData\Local\Temp\arduino-sketch-1FF32756EC29C7F1B585B12307512BE8\sketch\xod_1591338425517_sketch.ino.cpp” -o nul “C:\Users\gcabr\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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/lwip2/include” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3/tools/sdk/libc/xtensa-lx106-elf/include” “-IC:\Users\gcabr\AppData\Local\Temp\arduino-sketch-1FF32756EC29C7F1B585B12307512BE8/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\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\cores\esp8266” “-IC:\Users\gcabr\xod\packages\packages\esp8266\hardware\esp8266\2.4.3\variants\nodemcu” “-IC:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookmPSHnb\libraries\Arduino_IRremote” “C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookmPSHnb\libraries\Arduino_IRremote\IRremote.cpp” -o nul C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookmPSHnb\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_sketchbookmPSHnb\libraries\Arduino_IRremote Using library Arduino_IRremote at version 2.2.3 in folder: C:\Users\gcabr\AppData\Local\Temp\xod_temp_sketchbookmPSHnb\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. cesars June 5, 2020, 6:48am 16 Check if you have this library, C:\Users\gcabr\xod\__packages__\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino5\avr\include\avr have you compiled before using UNO or MEGA? If not, perhaps the package is not downloaded, select from the Arduino UNO or Mega drop-down menu, the load starts and when the compilation begins it will ask you for the download in a light blue message. You can start the compilation again and then disconnect the board, XOD needs a port to compile but it can be tricked as well, it will even create the load files in temporary folders. The load will only stop when it cannot find the port, but this way it can be compiled for any micro. gcabral June 5, 2020, 6:53am 17 Yes I did that with Arduino Uno Arduino Mega Arduino Nano (old booth) All works fine Esp8266 not work. Gives that error Thanks /GC cesars June 5, 2020, 7:05am 18 gcabral: #ifndef IR_TIMER_USE_ESP32 #include <avr/interrupt.h> #endif The call to that library is in IRemote.cpp, I don’t know if "avr/interrupt.h" it will change something. I don’t know what would be the right thing, but you can add an avr folder in xod\__ardulib__\Arduino_IRremote, and put the library inside… gcabral June 5, 2020, 7:43am 19 Let’s try let me see if I undertood. You meas create a folder like: xod_ardulib_\Arduino_IRremote\avr and put the interrupt.h into that? gweimer June 5, 2020, 11:47am 20 I don’t think XOD will find the header file of you put it under sub folders like that. Since it works for other boards, my guess would be that this board does not support interrupts. next page → Related topics Topic Replies Views Activity Error using gweimer/ir-remote library 5 1189 May 7, 2019 Gweimer/ir-remote Can't upload program to Arduino UNO Install/Upload Problems 8 1054 February 19, 2021 Cant get the nodemcu to even turn on a led 10 1274 November 30, 2019 XOD-dev/esp8266 in 0.32.1 compiler Error Install/Upload Problems 4 1141 July 14, 2020 Gweimer/ir-remote library Look What I’ve Done 12 2132 December 8, 2022 Tag » Arduino Avr/interrupt.h No Such File Or Directory Fatal Error: Avr/interrupt.h: No Such File Or Directory - Arduino Forum [Solved] #include Missing In Create - Arduino Forum Include Avr/interrupt.h ,compile Error - Arduino Forum Avr/interrupt.h: No Such File Or Directory - Web Editor - Arduino Forum "">How To Solve Problem With " #include " Error: " Avr/interrupt.h: No Such File Or Directory" #1 - GitHub Fatal Error: Avr/interrupt.h RtcLib.h Esp32 Arduino Arduino Libraries - Arduino Forum - Element14 Community Missing Some/all Avr Library - Visual Micro Problem With Build - Testing A ESP32 Program IDE 1.6.7 - SoftwareSerial.cpp:41:27: Fatal Error: Avr/interrupt.h - Reddit Avr-libc: - ISR 2 Easy Fixes To Arduino Error: “.h: No Such File Or Directory" - YouTube