Skip to content

#include <IRremote.hpp> does not work in 2.0.0-rc3 but works in 1.8.16 (and before) #729

Closed
@ArminJo

Description

@ArminJo

Describe the bug
Compiling a standard example of the IRremote library leads to:

Detecting libraries used...
"C:\\Users\\Armin\\AppData\\Local\\Arduino15\\packages\\arduino\\tools\\avr-gcc\\7.3.0-atmel3.6.1-arduino7/bin/avr-g++" -c -g -Os -w -std=gnu++11 -fpermissive -fno-exceptions -ffunction-sections -fdata-sections -fno-threadsafe-statics -Wno-error=narrowing -flto -w -x c++ -E -CC -mmcu=atmega328p -DF_CPU=16000000L -DARDUINO=10607 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Armin\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\cores\\arduino" "-IC:\\Users\\Armin\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.4\\variants\\standard" "C:\\Users\\Armin\\AppData\\Local\\Temp\\arduino-sketch-ED5555B020A1FEA4472DB8AE5E8CD203\\sketch\\SimpleSender.ino.cpp" -o nul
Alternatives for IRremote.hpp: []
ResolveLibrary(IRremote.hpp)
  -> candidates: []
C:\Users\Armin\AppData\Local\Temp\.arduinoIDE-unsaved20211130-15880-71zsuz.v72w\SimpleSender\SimpleSender.ino:25:10: fatal error: IRremote.hpp: No such file or directory
 #include <IRremote.hpp>
          ^~~~~~~~~~~~~~
compilation terminated.
Compilation error: exit status 1}

To Reproduce
Steps to reproduce the behavior:

  1. Install IRremote library
  2. Select File > Examples > IRremote > SimpleSender
  3. Verify
  4. See error

Expected behavior
Should work like in the 1.8.x IDE

Desktop (please complete the following information):

  • OS: Windows11

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions