Actions
Bug #10485
closedCannot build on macos with OpenGL enabled
Start date:
06/13/2022
Due date:
% Done:
100%
Estimated time:
Description
src/Wt/WServerGLWidget.C:24:10: fatal error: GL/gl.h: No such file or directory
24 | #include <GL/gl.h>
| ^~~~~~~~~
compilation terminated.
Google says that there is not GL/gl.h on apple platform.
That file contains also following code
#ifdef APPLE_GL
#include <OpenGL/OpenGL.h>
...
Commenting that include helps.
So include must be under some ifdef.
Updated by Roel Standaert over 2 years ago
Do you need OpenGL? Because it should work if you use -DENABLE_OPENGL=OFF
.
I did come up with a fix to make it compile, but even then I'm noticing some issues (even on Linux) when using WGLWidget
in server-side rendering mode.
Updated by Egor Pugin over 2 years ago
No, I don't need opengl.
The file is just in the build rules, so it throws such error.
Updated by Roel Standaert about 2 years ago
- Subject changed from Cannot build on macos to Cannot build on macos with OpenGL enabled
- Target version changed from 4.9.0 to 4.10.0
Updated by Roel Standaert over 1 year ago
- Status changed from New to InProgress
- Assignee set to Matthias Van Ceulebroeck
Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from InProgress to Review
- Assignee deleted (
Matthias Van Ceulebroeck)
Updated by Roel Standaert over 1 year ago
- Status changed from Review to Implemented @Emweb
- Assignee set to Matthias Van Ceulebroeck
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from Implemented @Emweb to Resolved
Updated by Matthias Van Ceulebroeck over 1 year ago
- Status changed from Resolved to Closed
Actions