Can't build any example


I’m running Raspberry OS Buster on a Raspberry Pi 3B+. I’m trying to install openFrameworks as showed on this page: Link. I did all the steps.
The install of packages compile and give no errors but when I come to the part “Compile your first app” and try to build polygonExample I get these errors at the end:

collect2: error: ld returned 1 exit status
make[1]: *** [/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/ bin/polygonExample] Error 1
make: *** [/home/pi/openFrameworks/libs/openFrameworksCompiled/project/makefileCommon/ Release] Error 2

Good to know that I’m using “GL Driver KMS” and I have the Memory SPlit on 256. I’ve tried both Buster & Buster Lite and both Command Line as Desktop.

Also I’ve tried several examples and they all give back the “error 2” error and also “error 1” only the line varies.

Can somebody tell me what’s happening?

That can’t be all the error output, because it hardly says anything. Error 1 is the first error, and Error 2 is the second error.