Hi all. I had recently received my Arduino Edge Control Board and wanted to compile a simple program with it. I installed the latest version of Arduino Mbed OS Edge Boards (v2.1.0) from the boards manager and made sure it added the necessary libraries. However, any time I include the Arduino_EdgeControl library and try to compile an example program (such as this one) it fails and I get this error:
In file included from c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\chrono:41:0,
from C:\Users\having11\AppData\Local\Arduino15\packages\arduino\hardware\mbed_edge\2.1.0\cores\arduino/mbed/rtos/include/rtos/Kernel.h:27,
from C:\Users\having11\AppData\Local\Arduino15\packages\arduino\hardware\mbed_edge\2.1.0\cores\arduino/mbed/rtos/include/rtos/Mutex.h:30,
from C:\Users\having11\AppData\Local\Arduino15\packages\arduino\hardware\mbed_edge\2.1.0\cores\arduino/mbed/platform/include/platform/PlatformMutex.h:42,
from C:\Users\having11\AppData\Local\Arduino15\packages\arduino\hardware\mbed_edge\2.1.0\cores\arduino/mbed/drivers/include/drivers/I2C.h:27,
from C:\Users\having11\Documents\Arduino\libraries\Arduino_EdgeControl\src/EdgeControl_Expander.h:14,
from C:\Users\having11\Documents\Arduino\libraries\Arduino_EdgeControl\src/EdgeControl_Power.h:15,
from C:\Users\having11\Documents\Arduino\libraries\Arduino_EdgeControl\src/Arduino_EdgeControl.h:14,
from C:\Users\having11\AppData\Local\Temp\arduino_build_497422\sketch\EdgeDisplay.hpp:3,
from C:\Users\having11\AppData\Local\Temp\arduino_build_497422\sketch\EdgeDisplay.cpp:1:
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:64:11: error: '::clock' has not been declared
using ::clock;
^~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:65:11: error: '::difftime' has not been declared
using ::difftime;
^~~~~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:66:11: error: '::mktime' has not been declared
using ::mktime;
^~~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:67:11: error: '::time' has not been declared
using ::time;
^~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:68:11: error: '::asctime' has not been declared
using ::asctime;
^~~~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:69:11: error: '::ctime' has not been declared
using ::ctime;
^~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:70:11: error: '::gmtime' has not been declared
using ::gmtime;
^~~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:71:11: error: '::localtime' has not been declared
using ::localtime;
^~~~~~~~~
c:\users\having11\appdata\local\arduino15\packages\arduino\tools\arm-none-eabi-gcc\7-2017q4\arm-none-eabi\include\c++\7.2.1\ctime:72:11: error: '::strftime' has not been declared
using ::strftime;
^~~~~~~~
Any way to fix this? Thanks!