[Ves] Configuring VES for Eclipse and ndk-build
Sven Prevrhal
sprevrha at gmail.com
Tue Aug 27 09:24:56 EDT 2013
I am on Windows and used cmake to build the VES and KIWI Libs and App. Then
I followed Candemir's Blog at http://www.kitware.com/blog/home/post/538 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?
On Tue, Aug 27, 2013 at 3:07 PM, Aashish Chaudhary <
aashish.chaudhary at kitware.com> wrote:
> Thanks for notifying us. I am assuming you used cmake eclipse generator?
>
> Thanks,
>
>
>
> On Tue, Aug 27, 2013 at 8:41 AM, Sven Prevrhal <sprevrha at gmail.com> wrote:
>
>> 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.
>>
>> D:\packages\Android\android-ndk-r9\ndk-build.cmd all
>> "Compile++ thumb : MyFirstAndroidNativeAppFromScratch <=
>> MyFirstAndroidNativeAppFromScratch.cpp
>> In file included from jni/ves-android/include/ves/ves/vesMath.h:24:0,
>> from
>> jni/ves-android/include/ves/kiwi/vesKiwiBaseApp.h:30,
>> from
>> jni/ves-android/include/ves/kiwi/vesKiwiViewerApp.h:25,
>> from jni/MyFirstAndroidNativeAppFromScratch.cpp:5:
>> jni/ves-android/include/ves/ves/vesEigen.h:30:23: fatal error:
>> Eigen/Dense: No such file or directory
>> compilation terminated.
>> make: ***
>> [obj/local/armeabi/objs/MyFirstAndroidNativeAppFromScratch/MyFirstAndroidNativeAppFromScratch.o]
>> Error 1
>>
>>
>> _______________________________________________
>> Ves mailing list
>> Ves at public.kitware.com
>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>
>>
>
>
> --
> | Aashish Chaudhary
> | R&D Engineer
> | Kitware Inc.
> | www.kitware.com
>
--
--
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20130827/0a4a51de/attachment-0001.html>
More information about the Ves
mailing list