-
Notifications
You must be signed in to change notification settings - Fork 252
freeglut: require GL/glu.h #2118
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
base: master
Are you sure you want to change the base?
Conversation
de8d1bf
to
94e3882
Compare
Seems like the MacOS build failure is caused by a github-actions issue: actions/runner-images#9966 |
Yeah, testing this locally works fine... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for coming up with a fix for my issue https://gitlab.freedesktop.org/mesa/demos/-/issues/50. The diff looks good to me.
6d4eff0
to
9fe557a
Compare
Freeglut requires GL/glu.h, which isn't always installed. Make sure we check for it, so we can get a meaningful error message early on instead of just failing to compile. Because not all platforms has glu as a dependency, we also need to fall back to searching for the library. This search is copied from Mesa's demos project.
Seems there's an issue where recent python versions will conflict with the version provided by the runner-image. Let's try to work around it. This feels a bit hacky, because we need to hard-code the specific version, suggestions for improvements welcome. See this ticket for details: actions/runner-images#9966
9fe557a
to
973cd2f
Compare
The alpine failures seems unrelated to this MR... |
Freeglut requires GL/glu.h, which isn't always installed. Make sure we check for it, so we can get a meaningful error message early on instead of just failing to compile.
Because not all platforms has glu as a dependency, we also need to fall back to searching for the library. This search is copied from Mesa's demos project.