Public bug reported:

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://github.com/glfw/glfw/commit/ca21a5c7b40310bab420818c827c986865dbbd0d

Attached is the patch from the above commit.

Thanks!

** Affects: glfw3 (Ubuntu)
     Importance: Undecided
         Status: New

** Patch added: "Official patch from upstream maintainers"
   
https://bugs.launchpad.net/bugs/1737496/+attachment/5021242/+files/ca21a5c7b40310bab420818c827c986865dbbd0d.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1737496

Title:
  Incorrect OpenGL ES includes in libglfw3-dev

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glfw3/+bug/1737496/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to