<div dir="ltr"><div><div>Dear Aashish,<br><br></div>I can compile the source with r9-c but I get the same error for Kiwi. I just can compile kiwi with NDK r8. If there is another edition let me know to test it.<br><br></div>
Best Regards,<br>Mohammad<br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 19 May 2014 14:03, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On Mon, May 19, 2014 at 4:43 AM, Mohammad Khatami <span dir="ltr"><<a href="mailto:mdkhatami@gmail.com" target="_blank">mdkhatami@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><font color="#351c75"><b>Dear Aashish and Daniel,</b></font></div><div><font color="#351c75"><b><br>
</b></font></div><div><font color="#351c75"><b>Finally it has been fixed and could build the kiwi app. The the problem was related to NDK version and cmake , I just downloaded ndk r8-b instead of ndk r9-c and depends on the instruction you provided it works correctly now. I appreciate your help and thank you very much.</b></font></div>
</div></blockquote><div><br></div></div><div>Great. When you get a chance, can you try my other branch with r9-c? </div><div class=""><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div><font color="#351c75"><b> I have one more question, is there any android edition for simple-kiwi? Because I noticed that it exists in ios folder.</b></font></div></div></blockquote><div><br></div></div>
<div>
NO we don't but any contribution is welcome. </div><span class="HOEnZb"><font color="#888888"><div><br></div><div>- Aashish</div></font></span><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div><font color="#351c75"><b><br></b></font></div><div><font color="#351c75"><b>Best Regards,</b></font></div><div><font color="#351c75"><b>Mohammad</b></font></div></div><div><div><div class="gmail_extra">
<br><br><div class="gmail_quote">
On 19 May 2014 02:59, Aashish Chaudhary <span dir="ltr"><<a href="mailto:aashish.chaudhary@kitware.com" target="_blank">aashish.chaudhary@kitware.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I may have found the problem on Linux. Can you try this branch: <b>android_cmake_fixes</b> from this remote: git://<a href="http://vtk.org/stage/VES.git" target="_blank">vtk.org/stage/VES.git</a><div><br></div>
<div>Let me know if this fixes the problem you are having with the detection problem you mentioned. <br>
<div><br></div><div>Thanks, </div><span><font color="#888888"><div>Aashish</div></font></span></div></div><div class="gmail_extra"><div><div><br><br><div class="gmail_quote">On Sun, May 18, 2014 at 7:52 PM, Daniel Fuentes <span dir="ltr"><<a href="mailto:daniel.fuentes@softwaredelcentro.com.ar" target="_blank">daniel.fuentes@softwaredelcentro.com.ar</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Mohammad, I did read this links<br>
<a href="http://www.kitware.com/blog/home/post/546" target="_blank">http://www.kitware.com/blog/home/post/546</a><br>
and<br>
<a href="http://www.kitware.com/blog/home/post/642" target="_blank">http://www.kitware.com/blog/home/post/642</a><br>
<br>
also see the readme files VES's:<br>
<br>
VES_SRC/Apps/Android/Kiwi/README.txt<br>
VES_SRC/Apps/Android/README.txt<br>
<br>
I haven't seen many changes since the last time I built it.<br>
So, I tried to build it using my known method.<br>
<br>
So, I tried to build it using my known method. It worked ok.<br>
Next, I list step by step that I did.<br>
<br>
I used tools:<br>
<br>
-Linux Debian Wheezy (64bits)<br>
-Java 7<br>
-Cmake 2.8.9<br>
-Android NDK r8b<br>
-Android SDK 22.3<br>
<br>
The steps on a console were:<br>
<br>
$ export ANDROID_SDK=/tmp/android_sdk_path<br>
$ export ANDROID_NDK=/tmp/android_ndk_path<br>
<br>
$ git clone git://<a href="http://vtk.org/stage/VES.git" target="_blank">vtk.org/stage/VES.git</a><br>
$ cd VES<br>
$ export VES_SRC=$PWD<br>
$ cd Apps/Android/CMakeBuild<br>
$ cmake -P configure.cmake<br>
$ cd build<br>
$ make -j8<br>
$ export VES_DIR=$VES_SRC/Apps/Android/CMakeBuild/build/CMakeExternals/Build/ves-android<br>
$ export VTK_DIR=$VES_SRC/Apps/Android/CMakeBuild/build/CMakeExternals/Build/vtk-android<br>
$ cd ../Kiwi/jni<br>
$ cp CMakeLists.txt CMakeLists.txt.prev<br>
$ echo "cmake_minimum_required(VERSION 2.8)" > CMakeLists.txt<br>
$ cat CMakeLists.txt.prev >> CMakeLists.txt<br>
$ cmake -DCMAKE_TOOLCHAIN_FILE=$VES_SRC/CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=8 -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR .<br>
$ make -j8<br>
$ mv libs ../<br>
<br>
At that point, you can import Kiwi as eclipse project, from the path<br>
VES_SRC/Apps/Android/Kiwi<br>
<br>
I tried to build it again, using the Android NDK r9d version without success. I had an error similar to you.<br>
The android toolchain script for cmake, didn't can detect the NDK properly.<br>
On your case, I think that the problem is the cmake version.<br>
<br>
Regards<br>
<span><font color="#888888">Daniel<br>
</font></span><div><div>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div></div></div><div>-- <br><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br>
</i></font><div>
<i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div>
</div></div>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com" target="_blank">Ves@public.kitware.com</a><br>
<a href="http://public.kitware.com/cgi-bin/mailman/listinfo/ves" target="_blank">http://public.kitware.com/cgi-bin/mailman/listinfo/ves</a><br>
<br></blockquote></div></div></div><div><div class="h5"><br><br clear="all"><div><br></div>-- <br><div dir="ltr"><font face="trebuchet ms, sans-serif"><i>| Aashish Chaudhary <br>| Technical Leader <br>| Kitware Inc. <br>
</i></font><div>
<i><font face="trebuchet ms, sans-serif">| </font><a href="http://www.kitware.com/company/team/chaudhary.html" target="_blank">http://www.kitware.com/company/team/chaudhary.html</a></i></div></div>
</div></div></div></div>
</blockquote></div><br></div>