Public bug reported:

On Ubuntu 15.10, "glew.pc" version 1.10.0 had the following "includedir" entry:
includedir=/usr/include/GL

On Ubuntu 16.04, "glew.pc" version 1.13.0 has such entry changed to:
includedir=$(prefix)/include

As a result, after installing libglew-dev package on Ubuntu Xenial, the 
following command:
pkg-config --cflags glew

prints: "-I/usr/include/libdrm" instead of "-I/usr/include/GL
-I/usr/include/libdrm". So, C/C++ projects using GLEW can no longer find
necessary headers when using "pkg-config".

As a workaround, on Xenial, "/usr/lib/x86_64-linux-gnu/pkgconfig/glew.pc" can 
be edited and the problematic line changed to:
includedir=$(prefix)/include/GL

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

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

Title:
  includedir is specified incorrectly in glew.pc v1.13.0

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to