[gcompris-devel] Android build fails

JAZEIX Johnny jazeix at gmail.com
Tue Sep 23 18:31:31 UTC 2014


Hi

does all the Qt* path on cmake refers to the android compiled version 
and not the system one ?
For example, 
Qt5Core_DIR:PATH=/opt/Qt5.3.0/5.3/android_armv7/lib/cmake/Qt5Core and 
not /usr/lib/Qt/lib/cmake ?

On 09/23/14 20:16, Jan Boon wrote:
> 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.
>
>
> ------------------------------------------------------------------------------
> Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
> Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
> Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
> Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
> _______________________________________________
> gcompris-devel mailing list
> gcompris-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gcompris-devel





More information about the Gcompris-devel mailing list