CF Rotary Encoder - compatibility matrix

This report was generated on Wednesday, 23-Feb-22 22:48:15 CET using arduino-testlib.

CF Rotary Encoder

Version: 1.0.0
More details

Compatibility matrix

Board Claims compatibility Inclusion
CFRotaryEncoderExample
arduino:avr:uno
1.8.4
Yes ⚠️ FAIL FAIL
arduino:mbed_nano:nanorp2040connect
2.7.2
Yes PASS FAIL
arduino:megaavr:nona4809
1.8.7
Yes ⚠️ FAIL FAIL
arduino:samd:mkrwifi1010
1.8.12
Yes ⚠️ FAIL FAIL
esp32:esp32:d1_mini32
1.0.6
Yes ⚠️ FAIL FAIL

Compilation logs

arduino:avr:uno @ 1.8.4

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallbac

examples/CFRotaryEncoderExample

Result: FAIL

In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder

arduino:mbed_nano:nanorp2040connect @ 2.7.2

Inclusion

Result: PASS

Sketch uses 78804 bytes (0%) of program storage space. Maximum is 16777216 bytes.
Global variables use 43464 bytes (16%) of dynamic memory, leaving 226872 bytes for local variables. Maximum is 270336 bytes.

examples/CFRotaryEncoderExample

Result: FAIL

/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:3:30: error: 'D6' was not declared in this scope
 const int ROT_PIN_OUTPUT_A = D6;
                              ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:3:30: note: suggested alternative: 'A6'
 const int ROT_PIN_OUTPUT_A = D6;
                              ^~
                              A6
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:4:30: error: 'D0' was not declared in this scope
 const int ROT_PIN_OUTPUT_B = D0;
                              ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:4:30: note: suggested alternative: 'A0'
 const int ROT_PIN_OUTPUT_B = D0;
                              ^~
                              A0
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:5:30: error: 'D5' was not declared in this scope
 const int ROT_PIN_PUSH_BUT = D5;
                              ^~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:5:30: note: suggested alternative: 'A5'
 const int ROT_PIN_PUSH_BUT = D5;
                              ^~
                              A5

arduino:megaavr:nona4809 @ 1.8.7

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:52: error: 'std::function' has not been declared
         void setPushButtonOnLongPressCallback(std::function<void()> func);                          // Define button long press callback.
                                                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:60: error: expected ',' or '...' before '<' token
         void setPushBut

examples/CFRotaryEncoderExample

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:52: error: 'std::function' has not been declared
         void setPushButtonOnLongPressCallback(std::function<void()> func);                          // Define button long press callback.
                                                    ^~~~~~~~
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encod

arduino:samd:mkrwifi1010 @ 1.8.12

Inclusion

Result: FAIL
This library has no main header file so an empty one was created.

In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallbac

examples/CFRotaryEncoderExample

Result: FAIL

In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^~~~~~~~
/Users/alranel/Documents/git/arduino/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder

esp32:esp32:d1_mini32 @ 1.0.6

Inclusion

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.cpp:11:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:52: error: 'std::function' has not been declared
         void setPushButtonOnLongPressCallback(std::function<void()> func);                          // Define button long press callback.
                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:60: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressCallback(std::function<void()> func);                          // Define button long press callback.
    

examples/CFRotaryEncoderExample

Result: FAIL

In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:11:0,
                 from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:31:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressReachedCallback;                                         // Called when short time is reached.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:32:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressReachedCallback;                                          // Called when long time is reached.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:33:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onPressCallback;                                                     // Called when button is pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:34:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onShortPressCallback;                                                // Called when button is short pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:35:14: error: 'function' in namespace 'std' does not name a template type
         std::function<void()> _onLongPressCallback;                                                 // Called when button is longe pressed.
              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:50: error: 'std::function' has not been declared
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                  ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:53:58: error: expected ',' or '...' before '<' token
         void setOnShortPressReachedCallback(std::function<void()> func);                            // Define short time reached callback.
                                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:49: error: 'std::function' has not been declared
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                 ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:54:57: error: expected ',' or '...' before '<' token
         void setOnLongPressReachedCallback(std::function<void()> func);                             // Define long time reached callback.
                                                         ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:38: error: 'std::function' has not been declared
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:55:46: error: expected ',' or '...' before '<' token
         void setOnPressCallback(std::function<void()> func);                                        // Define button press callback.
                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:43: error: 'std::function' has not been declared
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:56:51: error: expected ',' or '...' before '<' token
         void setOnShortPressCallback(std::function<void()> func);                                   // Define button short press callback.
                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:42: error: 'std::function' has not been declared
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                          ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CFPushButton/src/CFPushButton.h:57:50: error: expected ',' or '...' before '<' token
         void setOnLongPressCallback(std::function<void()> func);                                    // Define button long press callback.
                                                  ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:54: error: 'std::function' has not been declared
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                      ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:41:62: error: expected ',' or '...' before '<' token
         void setBeforeRotaryChangeValueCallback(std::function<void()> func);
                                                              ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:53: error: 'std::function' has not been declared
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:42:61: error: expected ',' or '...' before '<' token
         void setAfterRotaryChangeValueCallback(std::function<void()> func);
                                                             ^
In file included from /home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/examples/CFRotaryEncoderExample/CFRotaryEncoderExample.ino:1:0:
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:60: error: 'std::function' has not been declared
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                            ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:57:68: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressReachedCallback(std::function<void()> func);                  // Define short time reached callback.
                                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:59: error: 'std::function' has not been declared
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                           ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:58:67: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressReachedCallback(std::function<void()> func);                   // Define long time reached callback.
                                                                   ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:48: error: 'std::function' has not been declared
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:59:56: error: expected ',' or '...' before '<' token
         void setPushButtonOnPressCallback(std::function<void()> func);                              // Define button press callback.
                                                        ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:53: error: 'std::function' has not been declared
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                     ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:60:61: error: expected ',' or '...' before '<' token
         void setPushButtonOnShortPressCallback(std::function<void()> func);                         // Define button short press callback.
                                                             ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:52: error: 'std::function' has not been declared
         void setPushButtonOnLongPressCallback(std::function<void()> func);                          // Define button long press callback.
                                                    ^
/home/ec2-user/arduino-testlib/cli-datadir/user/libraries/CF_Rotary_Encoder/src/CFRotaryEncoder.h:61:60: error: expected ',' or '...' before '<' token
         void setPushButtonOnLongPressCal