After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 590351 - Compile issue on GLEW version.
Compile issue on GLEW version.
Status: RESOLVED FIXED
Product: GStreamer
Classification: Platform
Component: gst-plugins-gl
0.10.1
Other Linux
: Normal normal
: 0.10.2
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-07-31 08:52 UTC by Tang YongJun
Modified: 2009-08-10 23:26 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Tang YongJun 2009-07-31 08:52:58 UTC
Hi:
      When compile  gstreamer-plugins-gl on ubuntu 8.04, It will  fail at /gst-libs/gst/gl/gstgldisplay.c.  The error report  is  "GLEW_VERSION_MAJOR and GLEW_VERSION_MINOR  not declared", in the /usr/include/GL/glew.h, the two macros not defined.
Comment 1 Julien Isorce 2009-08-03 07:33:21 UTC
which glew version are you using ?
(type: glewinfo | grep "GLEW version" is you have installed glew-utils
or type: ls /usr/lib/libGLEW.so.*
or type:  cat /usr/include/GL/glew.h | grep "GLEW_VERSION ")

I am using 1.5. I think those variables are defined at least in 1.5.0.
You can defined them by yourself or install glew 1.5.0.
You could also make a patch in configure.ac to make sure those variables are defined.

Comment 2 Tang YongJun 2009-08-03 08:36:48 UTC
 I used GLEW version 1.4.0 on my ubuntu 8.04 :). I Compiled the package on ubuntu 9.04 which GLEW version is 1.5, It don't have this issue, I check the head file. It defined the GLEW_VERSION_MAJOR.
Comment 3 Julien Isorce 2009-08-03 15:55:17 UTC
commit 6186ec509d32030041ffb5a89aae2b53d8a5e63d
Author: Julien Isorce <julien.isorce@gmail.com>
Date:   Mon Aug 3 17:52:31 2009 +0200

    define missing glew macro on older versions