Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MacOS Build Fixes #92

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed

Conversation

jmelovich
Copy link
Contributor

I have been developing on MacOS 15 (Intel not M1), and I needed some fixes to get this software building correctly. I updated the GLSL version to from 130 to 150 to fix an issue with the GUI not displaying on MacOS, added some build logic for finding & including the projectM libraries within the resulting .app file (as without this the software couldn't find the projectM libraries), and a (hopefully universal) fix for utf8proc being not found during the build process (which I'm not sure why was only an issue on MacOS). I also updated the C++ version from 14 to 17 to fix issues with Poco as poco v1.13+ requires C++ 17 and the earliest version available via brew was 1.14 (this may be controversial, but this can be overwritten easily back to C++ 14 if necessary, although I would advise updating the readme to include this information about Poco).

Any advice or suggestions on these changes are appreciated, this is what I needed to do to get it to build but I may not be aware of further implications of these changes.

MacOS build fix

- updated from C++ 14 to C++ 17 to work with the currently available versions of POCO (v1.13.0 and above require C++ 17)
- added MacOS specific build logic for including the projectM libraries in the application file
- added 'Findutf8proc.cmake' for finding the utf8proc installation to resolve build issue (Mac specific issue for some reason, so only runs if MacOS)

changed GLSL version to fix UI on MacOS
@kblaschke
Copy link
Member

I'm currently on vacation and will be back on the 24th, then review the PRs properly!

@kblaschke
Copy link
Member

This is a bug in POCO, not this application: pocoproject/poco#4798

There's already a new POCO release (1.14.1) that works, but brew still needs to catch up. To build the SDL app right now, use a 1.13.x version.

Closing, as we don't fix temporary upstream issues.

@kblaschke kblaschke closed this Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants