Hello, To put it simply, upstream (OpenMW) has no plans to support GLESv2 at this time. Since OSG-3.4 for armhf is compiled only for GLESv2, this complicates things drastically and at this point I'm in over my head.
If we try to switch out <GL/gl.h> with <GLES2/gl2.h>, we clear up the above error but then it fails later because GLESv2 doesn't ship with support for other things defined in <GL/gl.h> that are required throughout the OpenMW code base. At this point I recommend disabling OpenMW for armhf until either OpenMW supports GLESv2 (likely not to happen soon) or OSG-3.4 (find a better solution[1]) supports plain old OpenGL again and not exclusively GLESv2 on armhf. I don't understand why we can't just use plain old OpenGL on armhf and it seems like OSG-3.4 armhf support is a bit of a hack. I had OpenMW running on Raspberry Pi 2 for example just last year. Any thoughts, suggestions or other workarounds? Cheers, Bret [1] https://anonscm.debian.org/cgit/pkg-osg/openscenegraph-3.4.git/commit/?id=fa5b1385d2b82f3fec9cc6094fb3db498a36a9e3 On Sat, Sep 24, 2016 at 11:25 PM, Andreas Beckmann <a...@debian.org> wrote: > Package: openmw > Version: 0.40.0-1 > Severity: serious > Justification: fails to build from source (but built successfully in the past) > > Hi, > > openmw/experimental FTBFS on armhf: > > https://buildd.debian.org/status/fetch.php?pkg=openmw&arch=armhf&ver=0.40.0-1&stamp=1474694818 > > In file included from /usr/include/osg/GL:113:0, > from /usr/include/osg/GLDefines:25, > from /usr/include/osg/GLExtensions:18, > from /usr/include/osg/State:18, > from /usr/include/osg/GraphicsContext:17, > from /usr/include/osgViewer/GraphicsWindow:17, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt:19, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt.cpp:14: > /usr/include/GLES2/gl2.h:69:25: error: conflicting declaration 'typedef > khronos_ssize_t GLsizeiptr' > typedef khronos_ssize_t GLsizeiptr; > ^~~~~~~~~~ > In file included from /usr/include/GL/gl.h:2055:0, > from /usr/include/qt4/QtOpenGL/qgl.h:88, > from /usr/include/qt4/QtOpenGL/QGLWidget:1, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt:17, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt.cpp:14: > /usr/include/GL/glext.h:468:19: note: previous declaration as 'typedef > ptrdiff_t GLsizeiptr' > typedef ptrdiff_t GLsizeiptr; > ^~~~~~~~~~ > In file included from /usr/include/osg/GL:113:0, > from /usr/include/osg/GLDefines:25, > from /usr/include/osg/GLExtensions:18, > from /usr/include/osg/State:18, > from /usr/include/osg/GraphicsContext:17, > from /usr/include/osgViewer/GraphicsWindow:17, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt:19, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt.cpp:14: > /usr/include/GLES2/gl2.h:70:26: error: conflicting declaration 'typedef > khronos_intptr_t GLintptr' > typedef khronos_intptr_t GLintptr; > ^~~~~~~~ > In file included from /usr/include/GL/gl.h:2055:0, > from /usr/include/qt4/QtOpenGL/qgl.h:88, > from /usr/include/qt4/QtOpenGL/QGLWidget:1, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt:17, > from /«PKGBUILDDIR»/extern/osgQt/GraphicsWindowQt.cpp:14: > /usr/include/GL/glext.h:469:19: note: previous declaration as 'typedef > ptrdiff_t GLintptr' > typedef ptrdiff_t GLintptr; > ^~~~~~~~ > > > Andreas