GLAD related error in RPi4 build (GstPlayer.cpp)

Hey all,

I’m trying to build Cinder on an RPi 400 following the guide in the docs and a few notes from some posts here on the forums. Seems to do alright until it hits GstPlayer.cpp wherein it throws this error:

error: ‘void glad_glClearColor(GLclampf, GLclampf, GLclampf, GLclampf)’ redeclared as different kind of entity

I’ve found a few notes online about making sure the include order for the gl related headers is correct, which it looks like they are after a quick glance at the indicated source files. I also tried defining GLFW_INCLUDE_NONE per the glfw docs, but still got the error.

This is a pretty fresh image I’m working with (about a week old), so I did try rpi-update, I also went looking for a spot to change the GL driver in raspi-config, per some other suggestions, but apparently that’s not there anymore.

My workaround for now is just to disable video, since I don’t think I’ll need it for my work here anyway, but I’m imagining this could rear its head in other ways.