Skip to content

Fix GL linking, add ref args to release workflows and update workflow actions#122

Merged
kblaschke merged 3 commits intoprojectM-visualizer:masterfrom
kblaschke:fix-gl-linking-and-gles-support
Apr 7, 2026
Merged

Fix GL linking, add ref args to release workflows and update workflow actions#122
kblaschke merged 3 commits intoprojectM-visualizer:masterfrom
kblaschke:fix-gl-linking-and-gles-support

Conversation

@kblaschke
Copy link
Copy Markdown
Member

A few maintenance fixes:

  • Always explicitly link OpenGL, don't rely on libprojectM's transitive dependency which will be gone in 4.2 (linking against libprojectM master builds already failed).
  • Add ENABLE_GLES CMake option to add proper GLES support to the app, enabling building on RPi and other GLES devices.
  • Added arguments for Git refs in release build workflows for POCO, libprojectM and projectMSDL (except Windows, where only projectMSDL is parameterized as we use vcpkg for the other deps).
  • Updated the checkout and upload-artifact GHA workflow actions to v6/Node.JS 24 as the older ones are deprecated.

As libprojectM 4.2 and higher will use a dedicated GL loader and no longer pass down the GL dependency (so apps can choose their own implementation), linking GL is now required explicitly. Won't break older versions though.

Also added a ENABLE_GLES CMake option to build the application with GLES 3.2 support, making it easier to build it on devices such as the Raspberry Pi. Affects both SDL GL initialization and the ImGui-internal GL loader. libprojectM needs to be built accordingly of course.
@kblaschke kblaschke self-assigned this Apr 7, 2026
@kblaschke kblaschke added enhancement New feature or request cmake CMake and general buildsystem-related issues. labels Apr 7, 2026
@kblaschke kblaschke merged commit 86885be into projectM-visualizer:master Apr 7, 2026
5 of 6 checks passed
@kblaschke kblaschke deleted the fix-gl-linking-and-gles-support branch April 7, 2026 17:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cmake CMake and general buildsystem-related issues. enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant