I pulled the latest version today and suddenly it wouldn't build anymore, it's complaining about a missing header file (after building 98% of the files without trouble).
In file included from /home/scott/programs/Qt/5.4/gcc_64/include/QtQuick/qquickwindow.h:39:0,
from /home/scott/programs/Qt/5.4/gcc_64/include/QtQuickWidgets/qquickwidget.h:38,
from /home/scott/programs/Qt/5.4/gcc_64/include/QtQuickWidgets/QQuickWidget:1,
from /home/scott/programs/otter/src/modules/windows/web/StartPageWidget.h:23,
from /home/scott/programs/otter/src/modules/windows/web/WebContentsWidget.cpp:25:
/home/scott/programs/Qt/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]: *** [CMakeFiles/otter-browser.dir/src/modules/windows/web/WebContentsWidget.cpp.o] Error 1
make[1]: *** [CMakeFiles/otter-browser.dir/all] Error 2
make: *** [all] Error 2
Does anyone know what I'm missing here? The last time I pulled was before Beta 5 release. I'm running openSUSE 13.1 KDE, and I downloaded the Qt5 SDK per instructions in INSTALL.
At some point a dependency was added:
qt5-multimediaDo you have it?
From Arch PKGBUILD:
depends=('qt5-script' 'qt5-webkit' 'qt5-multimedia' 'libxcb')
makedepends=('cmake' 'git')
At some point a dependency was added: qt5-multimedia
Do you have it?
I think so...I used the installer at http://www.qt.io/download-open-source/ and downloaded basically everything for 5.4. (My system's installed libraries are only 5.1.) I had to tell CMake where to find it the first time I compiled. (Note: I have little experience compiling large projects like this and have no idea what I'm really doing.) There is a QtMultimedia folder in the libraries, so it seems to be there.
I am also very unfamiliar with building things, so I use the community solutions that come with my distro.
Once upon a time I tried OpenSUSE and Otter seemed to be specifically maintained for that distro. Do these pages help?
https://software.opensuse.org/package/otter-browser
https://forums.opensuse.org/showthread.php/494058-Otter-browser-installation
@cloudboy, it looks like indirect build time dependency on header files from mesa, package should have name similar to mesa-common-dev.
It comes from QtQuickWidgets, used for start page (speed dial), work in progress.
Okay, thanks Emdek, that solved the problem.
@ersi, I had tried that awhile ago but it didn't work, which was not too surprising because my system with openSUSE 13.1 is out of date. I will likely change distros soon so I'm not trying too hard to maintain it now.