[gcompris-devel] Android build fails

Jan Boon janboon438 at gmail.com
Wed Sep 24 08:11:00 UTC 2014


Hi,

I managed to create the apk's. I had to replace ./androiddeployqt with 
androiddeployqt in 3 of the generated files and have 
~/Qt/5.3/android_armv7/bin on the PATH in .bashrc.
Thanks for pointing me in the right direction.

Regards Jan.

Op 23-09-14 om 22:01 schreef Jan Boon:
> Thanks,
>
> I got passed make now.
>
> The make apk_debug fails now on
> [100%] Built target GCompris
> Scanning dependencies of target rcc_core
> [100%] Generating ../../android/assets/core.rcc
> [100%] Generate core RCC
> [100%] Built target rcc_core
> Scanning dependencies of target apk_debug
> Generating createApkFromAndroidDeployQt
> /bin/sh: 1: ./androiddeployqt: not found
> make[3]: *** [android/createApkFromAndroidDeployQt] Fout 127
> make[2]: *** [android/CMakeFiles/apk_debug.dir/all] Fout 2
> make[1]: *** [android/CMakeFiles/apk_debug.dir/rule] Fout 2
> make: *** [apk_debug] Fout 2
>
> I will look into this tomorrow.
>
> Regards Jan.
>
>
> Op 23-09-14 om 20:31 schreef JAZEIX Johnny:
>> 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
>>
>> ------------------------------------------------------------------------------ 
>>
>> 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