# GLAD related error in RPi4 build (GstPlayer.cpp)

**URL:** <https://discourse.libcinder.org/t/glad-related-error-in-rpi4-build-gstplayer-cpp/2155>\
**Category:** Using Cinder\
**Created:** [January 18, 2026, 12:41am UTC](https://discourse.libcinder.org/t/glad-related-error-in-rpi4-build-gstplayer-cpp/2155 "2026-01-18T00:41:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SethGibson](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/sethgibson/32/1075_2.png) [@SethGibson](https://discourse.libcinder.org/u/SethGibson)\
**Post date:** [January 18, 2026, 12:41am UTC](https://discourse.libcinder.org/t/glad-related-error-in-rpi4-build-gstplayer-cpp/2155/1 "2026-01-18T00:41:17Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![andrewfb](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/andrewfb/32/2_2.png) [@andrewfb](https://discourse.libcinder.org/u/andrewfb)\
**Post date:** [January 26, 2026, 9:23pm UTC](https://discourse.libcinder.org/t/glad-related-error-in-rpi4-build-gstplayer-cpp/2155/2 "2026-01-26T21:23:16Z")

</div>

Hi Seth - thanks for flagging this.

I believe it’s addressed by this PR: [Raspberry Pi updates by andrewfb · Pull Request #2398 · cinder/Cinder · GitHub](https://github.com/cinder/Cinder/pull/2398)

Would leave to hear if that’s true for you too.

---

<div class="post-metadata">

**Author:** ![SethGibson](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.libcinder.org/sethgibson/32/1075_2.png) [@SethGibson](https://discourse.libcinder.org/u/SethGibson)\
**Post date:** [January 26, 2026, 9:42pm UTC](https://discourse.libcinder.org/t/glad-related-error-in-rpi4-build-gstplayer-cpp/2155/3 "2026-01-26T21:42:45Z")

</div>

Awesome! I did a bunch of googling and it seemed like a pretty specific bug so I didn’t want to log an issue with it as I figured it had something to do with my setup, but I’ll test this PR this week, thanks!
