[Ves] Compile error of Android KiwiViewer

Xiaopeng Yang yxp233 at postech.ac.kr
Tue Dec 10 10:04:23 EST 2013


Hi Aashish,

 

I cannot follow some parts of the instruction, such as 

 

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.

 

Is there any images or detailed instruction? Thank you.

 

Xiaopeng

 

From: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Sent: Tuesday, December 10, 2013 6:16 PM
To: Xiaopeng Yang
Cc: ves at public.kitware.com
Subject: Re: [Ves] Compile error of Android KiwiViewer

 

Did you follow Bill's instructions here: 

 


These steps should work:


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

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

Get a copy of VES
git clone git:// <http://vtk.org/stage/VES.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

 

On Tue, Dec 10, 2013 at 3:55 AM, Xiaopeng Yang <yxp233 at postech.ac.kr> wrote:

Dear VES users,

 

I am trying to compile Android KiwiViewer under windows 7 64 bit. I
succeeded in  configure_cmake.bat

configure_ant.bat

 

but failed at  compile.bat step.
 
Can anybody tell me how to solve the problem please?

 

Thanks,

Xiaopeng

 






_______________________________________________
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    

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20131211/a571595a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 56352 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20131211/a571595a/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 102175 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20131211/a571595a/attachment-0007.png>


More information about the Ves mailing list