Problem in building simulator demo


I am using macOS 14.2. And tried to run the simulator demo but got 600 plus errors. Errors are not make sense because, on the pointed line, it is correct. So don’t know what I am missing.
What I did is first installed Eclipse CDT then installed STL using the command brew install stl2
then cloned the repo using the below git command
git clone --recursive
imported that project in eclipse CDT and pressed build button but getting 600 errors.

What MCU/Processor/Board and compiler are you using?

MacOS simulator eclipse

What do you want to achieve?

Run the simulator demo

What have you tried so far?

Tried to put the SDL2 folder in the side project and change the path