Bug #10485
Cannot build on macos
Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
06/13/2022
Due date:
% Done:
0%
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.
No data to display