Closed Bug 569772 Opened 14 years ago Closed 14 years ago

We have a build-time dependency on GLX !

Categories

(Core :: Graphics: CanvasWebGL, defect)

All
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bjacob, Unassigned)

Details

Here's the error I just got when trying to build firefox on my new linux machine:

configure: error: Can't find header GL/glx.h for WebGL (install mesa-common-dev (Ubuntu), mesa-libGL-devel (Fedora), or Mesa (SuSE))

I thought that we wanted to avoid build-time dependencies for WebGL, so that we can fearlessly enable it everywhere?

Here, the solution (if you confirm we want to do that) is probably to replace #include <GL/glx.h> by inlining the part of its content that we really need...
afiak, the thing that made that necessary is no longer in the tree, unless the new glx backend depends on it.
The current set of patches for the new GLX backend will add this dependency, but I can factor this out if needed.
not needed as far as webgl is concerned, if we're taking GLX as a platform dependency already.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.