I had armhf environment and had a same issue, had confirmed following patch works for me, so my suggestion is
1. compile without SOQT_DEBUG option 2. do not read gl.h for GLES environment
``` diff -r src/Inventor/Qt/SoQtGLWidget.cpp src.org/Inventor/Qt/SoQtGLWidget.cpp 1297,1301d1296 < #if defined(QT_OPENGL_ES_1) || defined(QT_OPENGL_ES_2) < // gl.h included from glx.h defines GLdouble, which < // is already incldue in qgl.h for ESGL environment < #define __gl_h_ < #endif diff -r src/Inventor/Qt/SoQtRenderArea.cpp src.org/Inventor/Qt/SoQtRenderArea.cpp 164,165c164,165 < //#include <qgl.h> < //#include <qapplication.h> --- > #include <qgl.h> > #include <qapplication.h> ``
I had armhf environment and had a same issue, had confirmed following patch works for me, so my suggestion is
1. compile without SOQT_DEBUG option
2. do not read gl.h for GLES environment
``` Qt/SoQtGLWidget .cpp src.org/ Inventor/ Qt/SoQtGLWidget .cpp QT_OPENGL_ ES_1) || defined( QT_OPENGL_ ES_2) Qt/SoQtRenderAr ea.cpp src.org/ Inventor/ Qt/SoQtRenderAr ea.cpp
diff -r src/Inventor/
1297,1301d1296
< #if defined(
< // gl.h included from glx.h defines GLdouble, which
< // is already incldue in qgl.h for ESGL environment
< #define __gl_h_
< #endif
diff -r src/Inventor/
164,165c164,165
< //#include <qgl.h>
< //#include <qapplication.h>
---
> #include <qgl.h>
> #include <qapplication.h>
``