Error building in Apple M1 (Xcode)

Hello:

I’m getting a lot of warning and errors when compiling the project in Xcode (the build failed). I use Tindebox. I attach the screenshot.
When I open the CubeMapping OpenGL from sample folder I don’t get any errors. What is my fault?

Many thanks