Skip to content

MacOSX: allow build with homebrew and its emulated MesaGL #65

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dk
Copy link
Contributor

@dk dk commented May 14, 2025

This change comes from Prima::OpenGL that is build with Prima that uses lots of homebrew libraries, and is actually advised to be build on homebrew. The problem comes with the libraries that are implicitly dependant on the native /opt/X11 libraries, and any program that is compiled with both set of Xlibs (and by extention, GL libs), dumps core.

A possibile solution to this is to let OpenGL::Modern to use homebrew libraries, but that comes with a price, native mac gl will not be used, but the slow emulated MesaGL will be used instead.

This change comes from Prima::OpenGL that is build with Prima that uses lots of
homebrew libraries, and is actually advised to be build on homebrew. The
problem comes with the libraries that are implicitly dependant on the native
/opt/X11 libraries, and any program that is compiled with both set of Xlibs
(and by extention, GL libs), dumps core.

A possibile solution to this is to let OpenGL::Modern to use homebrew libraries,
but that comes with a price, native mac gl will not be used, but the slow
emulated MesaGL will be used instead.
@coveralls
Copy link

Pull Request Test Coverage Report for Build 15029398118

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 61.237%

Totals Coverage Status
Change from base Build 14850068369: 0.0%
Covered Lines: 4485
Relevant Lines: 7324

💛 - Coveralls

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