Since I’d only set everything up the other day, I thought I might as well build it, but there seems to be a problem with Qt.
This is where it goes wrong (btw. Earráid = Error)
Code:
[ 66%] Building CXX object src/CMakeFiles/sigil.dir/Dialogs/TreeModel.cpp.o
In file included from /opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopenglcontext.h:54:0,
from /opt/Qt5.4.2/5.4/gcc_64/include/QtGui/QtGui:32,
from /opt/Qt5.4.2/5.4/gcc_64/include/QtWidgets/QtWidgetsDepends:4,
from /opt/Qt5.4.2/5.4/gcc_64/include/QtWidgets/QtWidgets:3,
from /home/sean/Ríomhchlárú/Sigil/sigil-src/src/Dialogs/TreeModel.cpp:43:
/opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopengl.h:122:21: fatal error: GL/gl.h: No such file or directory
# include <GL/gl.h>
^
compilation terminated.
make[2]: *** [src/CMakeFiles/sigil.dir/Dialogs/TreeModel.cpp.o] Earráid 1
make[1]: *** [src/CMakeFiles/sigil.dir/all] Earráid 2
make: *** [all] Earráid 2
/opt/Qt5.4.2/5.4/gcc_64/include/QtGui/qopengl.h does have an include for
GL/gl.h…
Code:
# include <QtGui/qopengles2ext.h>
# endif // Q_OS_MAC
#else // non-ES2 platforms
# if defined(Q_OS_MAC)
# include <OpenGL/gl.h>
# if MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_7
# define GL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED
# include <OpenGL/gl3.h>
# endif
# include <OpenGL/glext.h>
# else
# define GL_GLEXT_LEGACY // Prevents GL/gl.h from #including system glext.h
# include <GL/gl.h>
# include <QtGui/qopenglext.h>
# endif // Q_OS_MAC
#endif // QT_OPENGL_ES_2
When I installed Qt 5.4.2 I just used the default settings. The installer can’t be run on the folder again and the maintenance tool in the installation folder will only remove all components unless it’s setup with repositories about which I know nothing.
Any advice on how to proceed?