[gcompris-devel] Android build fails

Jan Boon janboon438 at gmail.com
Tue Sep 23 18:16:03 UTC 2014


Hi all,

I wanted to try a new attempt on Ubuntu 14.04 64 bits to build gcompris-qt for Android target level 19 (SDK and NDK) with offline

android-ndk-r9c
adt-bundle-linux-x86_64-20131030/sdk

Everything builds fine for Ubuntu.

But in a new GCompris-android directory I get stuck on:

ccmake -DCMAKE_TOOLCHAIN_FILE=../GCompris-qt/platforms/android.cmake -Wno-dev ../GCompris-qt && make && make apk_debug

The generation seems to be ok but the make fails on:

[ 91%] Building CXX object src/core/CMakeFiles/GCompris.dir/ApplicationInfo.cpp.o
In file included from /home/keanu/Qt/5.3/gcc_64/include/QtQuick/qquickwindow.h:47:0,
                from /home/keanu/Qt/5.3/gcc_64/include/QtQuick/QQuickWindow:1,
                from /home/keanu/GCompris-qt/src/core/ApplicationInfo.cpp:47:
/home/keanu/Qt/5.3/gcc_64/include/QtGui/qopengl.h:110:21: fatal error: GL/gl.h: No such file or directory
#  include <GL/gl.h>
                    ^
compilation terminated.
make[2]: *** [src/core/CMakeFiles/GCompris.dir/ApplicationInfo.cpp.o] Fout 1
make[1]: *** [src/core/CMakeFiles/GCompris.dir/all] Fout 2
make: *** [all] Fout 2

It seems I have all the OpenGL development packages (mesa-common-dev)
Any pointers?

Regards Jan.





More information about the Gcompris-devel mailing list