glew fails to build from source on armhf

Bug #1301033 reported by Matthias Klose
This bug affects 1 person
Affects Status Importance Assigned to Milestone
glew (Ubuntu)

Bug Description

trying to build openimageio on armhf, ignoring the b-d on opencolorio, you get a build failure:

In file included from /usr/include/qt4/QtOpenGL/QGLWidget:1:0,
                 from /home/doko/tmp/openimageio-1.3.12~dfsg0/src/iv/ivgl.h:52,
                 from /home/doko/tmp/openimageio-1.3.12~dfsg0/src/iv/imageviewer.cpp:32:
/usr/include/qt4/QtOpenGL/qgl.h:85:17: error: conflicting declaration 'typedef GLfloat GLdouble'
 typedef GLfloat GLdouble;
In file included from /home/doko/tmp/openimageio-1.3.12~dfsg0/src/iv/imageviewer.h:50:0,
                 from /home/doko/tmp/openimageio-1.3.12~dfsg0/src/iv/imageviewer.cpp:31:
/usr/include/GL/glew.h:283:16: error: 'GLdouble' has a previous declaration as 'typedef double GLdouble'
 typedef double GLdouble;
make[4]: *** [src/iv/CMakeFiles/iv.dir/imageviewer.cpp.o] Error 1
make[4]: Leaving directory `/home/doko/tmp/openimageio-1.3.12~dfsg0/build'

how ready is openimageio for OpenGLES?

Matthias Klose (doko)
Changed in glew (Ubuntu Trusty):
milestone: none → ubuntu-14.04-beta-2
Revision history for this message
Nigel Stewart (nigels) wrote :

GLEW does not support OpenGLES. Therefore it seems doubtful that openimageio-1.3.12 supports OpenGLES unless there is some kind of build option for that.

Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in glew (Ubuntu):
milestone: ubuntu-14.04-beta-2 → none
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers