Incorrect OpenGL ES includes in libglfw3-dev
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glfw3 (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
1. Release: Ubuntu 16.04 LTS (armhf)
2. Package version: 3.1.2-3
3. Expected: Application builds when specifying both GLFW_INCLUDE_ES3 and GLFW_INCLUDE_GLEXT
4. Happens: Build fails at preprocessor, stating that `GLES3/gl2ext.h` does not exists.
This bug only impacts applications making use of OpenGL ES.
The currently packaged GLFW 3 version is 3.1.2-3, which has incorrect includes. In `GLFW/glfw3.h`, specifying both to include the GLES 3.x headers and GLEXT headers, the file will attempt to include `GLES3/gl2ext.h` which does not exists. The correct path is `GLES2/gl2ext.h`.
The problem was fixed by the maintainer in release 3.2.1 in the following commit: https:/
Attached is the patch from the above commit.
Thanks!
This is already fixed in 16.10 which has glfw 3.2.1.