Error compiling Arduino DUE

Hello friends
Link : GitHub - qiayuanliao/OpenMGSLS: Open source Mirror Galvanometer SLS 3D printer.

I got this setup to compile on Platform IO but got this error. I don’t know if this code is fully written or not, I’m compiling it from OpenMGSLS 1.8 code.
I have 2 problems that I would like you to help me with

  • I ask you to help me fix this error and I want to know what cause this error comes from
  • Please tell me if I use ESP32 or STM32F103RCT6 to compile it, I can use the DueTimer library. h and DueTimer.cpp or not
  • Thank you very much