[Ves] Problems building the kiwi viewer for Android in a Windows system

Ainhoa Gracia agracia at sqs.es
Wed Nov 27 18:04:32 EST 2013


Thank you very much!

We'll try what you have recommended to us and then let you know if it has
worked!

Best regards

Ainhoa

-----Mensaje original-----
De: ves-bounces at public.kitware.com [mailto:ves-bounces at public.kitware.com]
En nombre de Bill Hoffman
Enviado el: miércoles, 27 de noviembre de 2013 17:00
Para: ves at public.kitware.com
Asunto: Re: [Ves] Problems building the kiwi viewer for Android in a Windows
system

On 11/27/2013 9:37 AM, Ainhoa Gracia wrote:
> Hi!!
>
> We are using the 2.8.12.1 version
>
> Thank you very much!
>
> Ainhoa
>
Hi, I have been working on the Windows build.  There are several fixes that
need to be in the code for this to work.  Right now, they are in 
this branch:  improve_ves_android.   Looking at your error log, I can 
see that you did not run cmake-gui from a VS command prompt, you have to do
that.


These steps should work:


Download this:
http://developer.android.com/sdk/index.html

Then the NDK
http://developer.android.com/tools/sdk/ndk/index.html

Get a copy of VES
git clone git://vtk.org/stage/VES.git
git checkout improve_ves_android

Configure VES with CMake
****** This is important, you must run a Visual Studio build command prompt
shell open a VS build shell set
ANDROID_NDK=c:\Users\hoffman\android-windows\android-ndk-r9
run cmake use full path to your install of cmake cmake-gui  (must be
2.8.12.1)

Turn on VES_ANDROID_SUPERBUILD
Run nmake.


Build Kiki:
Run cmake-gui on Kiwi, be sure to use toolchain option  (specify toolchain
for cross-compiling) Use the full path to
VES/CMake/toolchains/android.toolchain.cmake

You will also need to set these variables:
VTK_DIR to VES-build/CMakeExternals/Build/vtk-android
VES_DIR = VES-build/CMakeExternals/Build/ves-android
ANT_EXECUTABLE=C:/full/path/to/android-windows/adt-bundle-windows-x86_64-201
30917/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant.bat
ANDROID_EXECUTABLE:FILEPATH=c:/full/path/to/android-windows/adt-bundle-windo
ws-x86_64-20130917/sdk/tools/android.bat

ANDROID_TARGET has bad default should fix this, have to change to this
android-18


-Bill

_______________________________________________
Ves mailing list
Ves at public.kitware.com
http://public.kitware.com/cgi-bin/mailman/listinfo/ves




More information about the Ves mailing list