Errors compiling Chatter 2.0 Firmware

I just got some new Chatter 2.0s and have found they do not like to run off NiMh rechargables due to the voltage tripping battery warnings. I want to fix this in the firmware, but I am unable to compile the code due to the following errors.

I am following the guide at Chatter Arduino Installation And Setup using the Chatter2 repo and selecting Chatter 2.0 as the board in Arduino IDE.

Seeing an earlier forum post about problems compiling, I tried downgrading the board from 1.8.1 to 1.8.0 but get the same errors.

Any help?

Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp: In member function 'void UnlockSlide::repos()':
Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:101:22: error: 'round' is not a member of 'std'
   lv_obj_set_x(lock, std::round(x));
                      ^
Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:101:22: note: suggested alternative:
In file included from AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0\cores\esp32/esp32-hal.h:34:0,
                 from AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0\cores\esp32/Arduino.h:35,
                 from Development\Chatter2-Firmware\src\Elements\UnlockSlide.h:4,
                 from Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:1:
AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0/tools/sdk/include/newlib/math.h:278:15: note:   'round'
 extern double round _PARAMS((double));
               ^
Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:103:22: error: 'round' is not a member of 'std'
   lv_obj_set_x(lock, std::round(t * (float) (lv_obj_get_width(obj) - 4)));
                      ^
Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:103:22: note: suggested alternative:
In file included from AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0\cores\esp32/esp32-hal.h:34:0,
                 from AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0\cores\esp32/Arduino.h:35,
                 from Development\Chatter2-Firmware\src\Elements\UnlockSlide.h:4,
                 from Development\Chatter2-Firmware\src\Elements\UnlockSlide.cpp:1:
AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0/tools/sdk/include/newlib/math.h:278:15: note:   'round'
 extern double round _PARAMS((double));
               ^
Multiple libraries were found for "SD.h"
  Used: AppData\Local\Arduino15\packages\cm\hardware\esp32\1.8.0\libraries\SD
  Not used: AppData\Local\Arduino15\libraries\SD
exit status 1

Compilation error: 'round' is not a member of 'std'

Does anyone have any tips?

It would be great if the doco could be updated to clarify –

  1. Which models of Chatter are which – which is a Chatter 2 and which is a Chatter 2.0?
  2. Which board to choose for each Chatter version
  3. Which Git repo to use for each Chatter version

Thanks, Jason