<div dir="ltr">Hi Sven,<div><br></div><div>That's correct my intention was to decouple the cmake process from app development. The cmake is only used for building the .a libraries at first. I will try to clean and share the whole project when I have the time.</div>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 27, 2013 at 3:24 PM, Sven Prevrhal <span dir="ltr"><<a href="mailto:sprevrha@gmail.com" target="_blank">sprevrha@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">I am on Windows and used cmake to build the VES and KIWI Libs and App. Then I followed Candemir's Blog at <a href="http://www.kitware.com/blog/home/post/538" target="_blank">http://www.kitware.com/blog/home/post/538</a> for the Android.mk and the Application.mk file. Then I just used the ndk-build.cmd (via the Eclipse "Build project" context menu), so no cmake here. The way I had interpreted the blog and the whole cmake business was that it was needed to compile the ves libs etc but not the Android app, and the whole point of the blog was to discouple further app development from cmake and use the standard NDK build chain instead. Is that wrong? The generator looks interesting but I am not sure how exactly I need to use it for VES/Kiwi. Anywhere I can read up on it?</div>
<div class="gmail_extra"><div><div class="h5"><br><br><div class="gmail_quote">On Tue, Aug 27, 2013 at 3:07 PM, 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">Thanks for notifying us. I am assuming you used cmake eclipse generator? <div><br></div><div>Thanks,</div>
<div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Tue, Aug 27, 2013 at 8:41 AM, Sven Prevrhal <span dir="ltr"><<a href="mailto:sprevrha@gmail.com" target="_blank">sprevrha@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span style="color:rgb(119,119,119);font-family:Arial,sans-serif;font-size:11px;line-height:16.1875px">When I actually tried #include'ing the vesKiwiViewerApp.h in my own cpp file, build showed the error below. I fixed it by adding $(LOCAL_PATH)/eigen to the LOCAL_C_INCLUDES. </span><br clear="all">
<div><br></div><div><div>D:\packages\Android\android-ndk-r9\ndk-build.cmd all </div><div>"Compile++ thumb : MyFirstAndroidNativeAppFromScratch <= MyFirstAndroidNativeAppFromScratch.cpp</div><div>In file included from jni/ves-android/include/ves/ves/vesMath.h:24:0,</div>
<div> from jni/ves-android/include/ves/kiwi/vesKiwiBaseApp.h:30,</div><div> from jni/ves-android/include/ves/kiwi/vesKiwiViewerApp.h:25,</div><div> from jni/MyFirstAndroidNativeAppFromScratch.cpp:5:</div>
<div>jni/ves-android/include/ves/ves/vesEigen.h:30:23: fatal error: Eigen/Dense: No such file or directory</div><div>compilation terminated.</div><div>make: *** [obj/local/armeabi/objs/MyFirstAndroidNativeAppFromScratch/MyFirstAndroidNativeAppFromScratch.o] Error 1</div>
</div><br>
</div>
<br></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>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><div><br></div>-- <br>| Aashish Chaudhary <br>| R&D Engineer <br>| Kitware Inc. <br>| <a href="http://www.kitware.com" target="_blank">www.kitware.com</a>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div></div></div><span class="HOEnZb"><font color="#888888">-- <br>--<div>Sven</div>
</font></span></div>
<br>_______________________________________________<br>
Ves mailing list<br>
<a href="mailto:Ves@public.kitware.com">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>