[GCompris-devel] Configuring qt-creator for android

RISHABH GUPTA rishabh9511 at gmail.com
Mon Jan 18 09:31:16 UTC 2016


On Mon, Jan 18, 2016 at 2:50 PM, Holger Kaelberer <hk at elberer.de> wrote:

> Hi
>
> On 18.01.2016 10:03, RISHABH GUPTA wrote:
>
>> Hello,
>>
>> I am getting an error while configuring :  "file COPY cannot find
>> "/opt/qt5.1/5.5/android_armv7/qml/Box2D.2.0/qmldir"."
>> If I unset Qml_box_2d option  then i get error during generation process
>> https://paste.kde.org/pmwft8i6b
>>
>> It's says "You need to set the ANDROID_NDK_ROOT environment variable to
>> point to your Android NDK "
>> although i have already set that.
>>
>
> Check whether it is set correctly!
>
> Looking at your paste qmlbox2 is configured to be built from the
> submodule. And your real problem seems to be this:
>
> /--
> /opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc:
> not found
> Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable
> to point to your Android NDK.
> Could not read qmake configuration file
> /opt/qt5.1/5.5/android_armv7/mkspecs/android-g++/qmake.conf.
> --/
>
> Meaning that qmake can't find the cross-compiler for building for Android.
>

Found the issue .There was no folder with the name Box2D.2.0 inside
android_armv7 ,copied qmlbox_2d  from gcompris and renamed it to Box2D.2.0
,this fixed it.

After building 100% it's producing another error :

make[2]: *** No rule to make target
'/opt/qt5.1/5.5/android_armv7/lib/cmake/Qt5/../../libicudata.so.53', needed
by 'android/libs/armeabi

/libGCompris.so'.  Stop.

CMakeFiles/Makefile2:6816: recipe for target
'src/core/CMakeFiles/GCompris.dir/all' failed
make[1]: *** [src/core/CMakeFiles/GCompris.dir/all] Error 2
Makefile:136: recipe for target 'all' failed
make: *** [all] Error 2




>
> Holger
>
> _______________________________________________
> GCompris-devel mailing list
> GCompris-devel at kde.org
> https://mail.kde.org/mailman/listinfo/gcompris-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/gcompris-devel/attachments/20160118/b9b45756/attachment.html>


More information about the GCompris-devel mailing list