Page 1 of 2

"'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Fri Dec 04, 2020 6:15 am
by ShaunLovell
Greetings,

I get 2 strange new compiler errors when compiling KontrolIR_V1.07

"'TIMER_ENABLE_PWM' was not declared in this scope" on line 157 of the KIR_Infrared_Tx tab, and;
"'TIMER_DISABLE_PWM' was not declared in this scope" on line 168 of the same tab.

The output suggests TIMER_ENABLE_SEND_PWM and TIMER_DISABLE_SEND_PWM. Those changes produce a clean compile but the KontrolIR no longer operates my devices.

I'd appreciate any thoughts.

Thanks
Shaun

Here's the output:

Code: Select all

Arduino: 1.8.13 (Windows 10), Board: "ATmega328PB Crystal Clock, 4 MHz"

C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_400668 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_669350 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -vid-pid=1A86_7523 -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_400668 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_669350 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino

Using board 'atmega328pbcc' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\m328pb\hardware\avr\1.1.4

Using core 'arduino' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Detecting libraries used...

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for IRremote.h: [IRremote@2.8.0]

ResolveLibrary(IRremote.h)

  -> candidates: [IRremote@2.8.0]

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\IRremote.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\esp32.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irPronto.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irReceive.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irSend.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_BoseWave.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Denon.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Dish.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_JVC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_LG.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Lego_PF.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_MagiQuest.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_NEC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Panasonic.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_RC5_RC6.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Samsung.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sanyo.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp_alt.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sony.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Template.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Whynter.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\nRF5.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\sam.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Generating function prototypes...

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Program Files (x86)\\Arduino\\tools-builder\\ctags\\5.8-arduino11/ctags" -u --language-force=c++ -f - --c++-kinds=svpf --fields=KSTtzns --line-directives "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\preproc\\ctags_target_for_gcc_minus_e.cpp"

Compiling sketch...

"C:\\Users\\Shaun\\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 -MMD -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp" -o "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_400668\\sketch\\KontrolIR_V1.07.ino.cpp.o"

C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino: In function 'void KIR_mark(uint16_t)':

KIR_Infrared_Tx:157:5: error: 'TIMER_ENABLE_PWM' was not declared in this scope

     TIMER_ENABLE_PWM;  // Enable pin 3 PWM output

     ^~~~~~~~~~~~~~~~

C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino:157:5: note: suggested alternative: 'TIMER_ENABLE_SEND_PWM'

     TIMER_ENABLE_PWM;  // Enable pin 3 PWM output

     ^~~~~~~~~~~~~~~~

     TIMER_ENABLE_SEND_PWM

C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino: In function 'void KIR_space(uint16_t)':

KIR_Infrared_Tx:168:5: error: 'TIMER_DISABLE_PWM' was not declared in this scope

     TIMER_DISABLE_PWM;  // Disable IR Carrier output

     ^~~~~~~~~~~~~~~~~

C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KIR_Infrared_Tx.ino:168:5: note: suggested alternative: 'TIMER_DISABLE_SEND_PWM'

     TIMER_DISABLE_PWM;  // Disable IR Carrier output

     ^~~~~~~~~~~~~~~~~

     TIMER_DISABLE_SEND_PWM

Using library IRremote at version 2.8.0 in folder: C:\Users\Shaun\Documents\Arduino\libraries\IRremote 

exit status 1

'TIMER_ENABLE_PWM' was not declared in this scope

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Fri Dec 04, 2020 7:00 am
by ShaunLovell
I should add that the same compiler errors came up when compiling the test suite (V1.06). I added in the "_SEND" to each one and it compiled without error, then passed all tests.

Shaun

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Fri Dec 04, 2020 3:12 pm
by AnalysIR
Hi Shaun

Yes, I just updated to the latest IRremote version (2.8.0) and it compiled fine after making the changes you highlighted with SEND.

The first thing to check is if you also changed the timer being used as described in the wiki. (Perhaps you forgot that when updating the library).

If you can check that out, let me know if it works.

I have also updated the notes in the WiKi to reflect the new changes in the IRremote 2.8.0 version. (The line to comment out has now changed)

see: http://wiki.analysir.com/index.php?titl ... g_IRremote

If this doesn't solve the issue, let me know & I will look into it in more detail..

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 7:35 am
by ShaunLovell
Still no joy, I'm afraid. Just to clarify: the wiki initially says to use timer 1 (for whatever version) but the update for 2.8.0 says to use timer 2, correct?

I've tried it both ways. It tests out fine with the test suite but still does not work my devices. Am I also correct in assuming the note for updates 2.5 & later doesn't apply to 2.8.0?

The section of the file I'm editing looks like this:

Code: Select all

***********************
#ifndef ARDUINO
// Assume that we compile a test version, to be executed on the host,
// not on a board.

// Do not define any timer.

/*********************
 * ARDUINO Boards
 *********************/
// Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc
// ATmega48, ATmega88, ATmega168, ATmega328
#elif defined(__AVR_ATmega328P__) || defined(__AVR_ATmega328PB__) || defined(__AVR_ATmega168__) // old default clause
#  if !defined(IR_USE_TIMER1) && !defined(IR_USE_TIMER2)
//#define IR_USE_TIMER1   // tx = pin 9
#define IR_USE_TIMER2     // tx = pin 3
#  endif
*************

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 3:15 pm
by AnalysIR
Hi Shaun

oooops.....

I have made the corrections to the wiki. TIMER1 should be used/configured with KontroLIR.

Does the IR sending work for you with the test suite? (Hopefully you can detect IR signals somehow...)

If you still have problems I will set up a test rig early next week to troubleshoot the issue.

In the meantime, if you are still having issues, then re-install IRremote V2.6 using the libraries manger in the IDE.(Make sure to configure TIMER1 again after the re-install)

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 9:02 pm
by ShaunLovell
I have an analog B&W video camera that is dandy for that purpose. The KontrolIR sends the 4 test signals. It also sends visible signals (visible to the camera) after loading V1.07, it's just that the signals do not seem to operate any of the 4 devices programmed whereas, of course, it has been operating for the past 6 months or more. The only change I made was to modify one button.

Versions 2.5.0, 2.6.0, and 2.6.1 will not compile properly. with 2.5.0, I also tried commenting out the line:

//#error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.

...in IRremoteBoardDefs.h with the same result. Here's the output from 2.5.0. They all appear the same:

Code: Select all

*****************************************************************************************************************************************
Arduino: 1.8.13 (Windows 10), Board: "ATmega328PB Crystal Clock, 4 MHz"


C:\Program Files (x86)\Arduino\arduino-builder -dump-prefs -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_825301 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_366148 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino

C:\Program Files (x86)\Arduino\arduino-builder -compile -logger=machine -hardware C:\Program Files (x86)\Arduino\hardware -hardware C:\Users\Shaun\AppData\Local\Arduino15\packages -tools C:\Program Files (x86)\Arduino\tools-builder -tools C:\Program Files (x86)\Arduino\hardware\tools\avr -tools C:\Users\Shaun\AppData\Local\Arduino15\packages -built-in-libraries C:\Program Files (x86)\Arduino\libraries -libraries C:\Users\Shaun\Documents\Arduino\libraries -fqbn=m328pb:avr:atmega328pbcc:speed=4mhz -ide-version=10813 -build-path C:\Users\Shaun\AppData\Local\Temp\arduino_build_825301 -warnings=none -build-cache C:\Users\Shaun\AppData\Local\Temp\arduino_cache_366148 -prefs=build.warn_data_percentage=75 -prefs=runtime.tools.arduinoOTA.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.arduinoOTA-1.3.0.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\arduinoOTA\1.3.0 -prefs=runtime.tools.avrdude.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avrdude-6.3.0-arduino17.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17 -prefs=runtime.tools.avr-gcc.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -prefs=runtime.tools.avr-gcc-7.3.0-atmel3.6.1-arduino7.path=C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\tools\avr-gcc\7.3.0-atmel3.6.1-arduino7 -verbose C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino

Using board 'atmega328pbcc' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\m328pb\hardware\avr\1.1.4

Using core 'arduino' from platform in folder: C:\Users\Shaun\AppData\Local\Arduino15\packages\arduino\hardware\avr\1.8.3

Detecting libraries used...

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_825301\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Alternatives for IRremote.h: [IRremote@2.5.0]

ResolveLibrary(IRremote.h)

  -> candidates: [IRremote@2.5.0]

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_825301\\sketch\\KontrolIR_V1.07.ino.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\AppData\Local\Temp\arduino_build_825301\sketch\KontrolIR_V1.07.ino.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\IRremote.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\IRremote.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\esp32.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irPronto.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\irPronto.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irRecv.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\irRecv.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\irSend.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\irSend.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Aiwa.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Aiwa.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_BoseWave.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_BoseWave.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Denon.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Denon.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Dish.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Dish.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_JVC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_JVC.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_LG.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_LG.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Lego_PF.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Lego_PF.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_MagiQuest.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_MagiQuest.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Mitsubishi.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Mitsubishi.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_NEC.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_NEC.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Panasonic.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Panasonic.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_RC5_RC6.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_RC5_RC6.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Samsung.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Samsung.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sanyo.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Sanyo.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Sharp.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sharp_alt.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Sharp_alt.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Sony.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Sony.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Template.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Template.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\ir_Whynter.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\ir_Whynter.cpp

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src\\sam.cpp" -o nul -DARDUINO_LIB_DISCOVERY_PHASE

Error while detecting libraries included by C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src\sam.cpp

Generating function prototypes...

"C:\\Users\\Shaun\\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 -w -x c++ -E -CC -mmcu=atmega328pb -DF_CPU=4000000L -DARDUINO=10813 -DARDUINO_AVR_UNO -DARDUINO_ARCH_AVR "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\arduino\\hardware\\avr\\1.8.3\\cores\\arduino" "-IC:\\Users\\Shaun\\AppData\\Local\\Arduino15\\packages\\m328pb\\hardware\\avr\\1.1.4\\variants\\atmega328pb" "-IC:\\Users\\Shaun\\Documents\\Arduino\\libraries\\IRremote\\src" "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_825301\\sketch\\KontrolIR_V1.07.ino.cpp" -o "C:\\Users\\Shaun\\AppData\\Local\\Temp\\arduino_build_825301\\preproc\\ctags_target_for_gcc_minus_e.cpp" -DARDUINO_LIB_DISCOVERY_PHASE

In file included from C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src/private/IRremoteInt.h:27:0,

                 from C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src/IRremote.h:28,

                 from C:\Users\Shaun\AppData\Local\Temp\arduino_build_825301\sketch\KIR_header.h:19,

                 from C:\Users\Shaun\Documents\Arduino\KontrolIR\KontrolIR_V1.07\KontrolIR_V1.07.ino:16:

C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src/private/IRremoteBoardDefs.h:354:2: error: #error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.

 #error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.

  ^~~~~

C:\Users\Shaun\Documents\Arduino\libraries\IRremote\src/private/IRremoteBoardDefs.h:912:2: error: #error "Internal code configuration error, no known IR_USE_TIMER* defined\n"

 #error "Internal code configuration error, no known IR_USE_TIMER* defined\n"

  ^~~~~

Using library IRremote at version 2.5.0 in folder: C:\Users\Shaun\Documents\Arduino\libraries\IRremote 

exit status 1

Error compiling for board ATmega328PB Crystal Clock.

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 10:14 pm
by AnalysIR
for 2.5.0

at around line 350

change

Code: Select all

#else
// Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc
// ATmega48, ATmega88, ATmega168, ATmega328
//#define IR_USE_TIMER1   // tx = pin 9
#error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.
#endif
to

Code: Select all

#else
// Arduino Duemilanove, Diecimila, LilyPad, Mini, Fio, Nano, etc
// ATmega48, ATmega88, ATmega168, ATmega328
#define IR_USE_TIMER1   // tx = pin 9
#error Board could not be identified from pre-processor symbols. Please extend IRremoteBoardDefs.h.
#endif

make sure you always define TIMER1
#define IR_USE_TIMER1 // tx = pin 9

when using KontroLIR

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 10:18 pm
by AnalysIR
...forget to mention...

When making changes to the library, restart the IDE to ensure the new version of IRremote is used

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 11:04 pm
by ShaunLovell
Yes, I have been doing that. I close & re-start the IDE after each time I edit the IRremoteBoardDefs.h file as well.

Re: "'TIMER_ENABLE_PWM' was not declared in this scope"

Posted: Sat Dec 05, 2020 11:39 pm
by AnalysIR
Ok

Best thing to do is to email me all of the files from your KontroLIR directory & I will try it out here. (Might take a day or 2).

send to info@A?????IR.com