<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 18, 2016 at 2:50 PM, Holger Kaelberer <span dir="ltr"><<a href="mailto:hk@elberer.de" target="_blank">hk@elberer.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi<span class=""><br>
<br>
On 18.01.2016 10:03, RISHABH GUPTA wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hello,<br>
<br>
I am getting an error while configuring :  "file COPY cannot find<br>
"/opt/qt5.1/5.5/android_armv7/qml/Box2D.2.0/qmldir"."<br>
If I unset Qml_box_2d option  then i get error during generation process<br>
<a href="https://paste.kde.org/pmwft8i6b" rel="noreferrer" target="_blank">https://paste.kde.org/pmwft8i6b</a><br>
<br>
It's says "You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK "<br>
although i have already set that.<br>
</blockquote>
<br></span>
Check whether it is set correctly!<br>
<br>
Looking at your paste qmlbox2 is configured to be built from the submodule. And your real problem seems to be this:<br>
<br>
/--<br>
/opt/android/ndk/toolchains/arm-linux-androideabi-4.8/prebuilt/linux-x86_64/bin/arm-linux-androideabi-gcc: not found<br>
Project ERROR: You need to set the ANDROID_NDK_ROOT environment variable to point to your Android NDK.<br>
Could not read qmake configuration file /opt/qt5.1/5.5/android_armv7/mkspecs/android-g++/qmake.conf.<br>
--/<br>
<br>
Meaning that qmake can't find the cross-compiler for building for Android.<span class=""><font color="#888888"><br></font></span></blockquote><div><br></div><div>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.<br></div><div><br>After building 100% it's producing another error :<br><br>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<br><br>/libGCompris.so'.  Stop.<br><br>CMakeFiles/Makefile2:6816: recipe for target 'src/core/CMakeFiles/GCompris.dir/all' failed<br>make[1]: *** [src/core/CMakeFiles/GCompris.dir/all] Error 2<br>Makefile:136: recipe for target 'all' failed<br>make: *** [all] Error 2<br><br></div><div><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span class=""><font color="#888888">
<br>
Holger</font></span><div class=""><div class="h5"><br>
_______________________________________________<br>
GCompris-devel mailing list<br>
<a href="mailto:GCompris-devel@kde.org" target="_blank">GCompris-devel@kde.org</a><br>
<a href="https://mail.kde.org/mailman/listinfo/gcompris-devel" rel="noreferrer" target="_blank">https://mail.kde.org/mailman/listinfo/gcompris-devel</a><br>
</div></div></blockquote></div><br></div></div>