[Ves] Compile error of Android KiwiViewer

Ainhoa Gracia agracia at sqs.es
Thu Dec 12 02:40:57 EST 2013


Thank you very much Aashish, we have finally switched to the branch using
the smartgit tool due to we had had problems doing the operation with
commands.

 

Best regards

 

Ainhoa

 

De: Aashish Chaudhary [mailto:aashish.chaudhary at kitware.com] 
Enviado el: miércoles, 11 de diciembre de 2013 17:56
Para: Ainhoa Gracia
CC: Xiaopeng Yang; ves at public.kitware.com
Asunto: Re: [Ves] Compile error of Android KiwiViewer

 

Hi there, 

 

I just checked. The branch is there. Not sure why you are not seeing this. 

 

- Aashish

 

 

On Tue, Dec 10, 2013 at 11:14 AM, Aashish Chaudhary
<aashish.chaudhary at kitware.com> wrote:

 

 

On Tue, Dec 10, 2013 at 7:29 AM, Ainhoa Gracia <agracia at sqs.es> wrote:

Dear all

 

I take the opportunity this e-mail brings to me to comment that we have
executed the following commands in the git bash

 

git clone git:// <http://vtk.org/stage/VES.git> vtk.org/stage/VES.git
git checkout improve_ves_android

 

but the checkout has returned an error due to the branch is not recognized.
Maybe there is another intermediate command we need to execute before?

 

Let me double check. The branch should be there.

 

- Aashish

 

 

Thank you very much

 

Ainhoa

 

De: ves-bounces at public.kitware.com [mailto:ves-bounces at public.kitware.com]
En nombre de Xiaopeng Yang
Enviado el: martes, 10 de diciembre de 2013 12:01
Para: 'Aashish Chaudhary'
CC: ves at public.kitware.com
Asunto: Re: [Ves] Compile error of Android KiwiViewer

 

Thank you. I followed the old instruction material. I will try with this
instruction.

 

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    





 

-- 
| Aashish Chaudhary 
| R&D Engineer         
| Kitware Inc.            
| www.kitware.com    





 

-- 
| 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/20131212/59f2e058/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 56352 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20131212/59f2e058/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 102175 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/ves/attachments/20131212/59f2e058/attachment-0007.png>


More information about the Ves mailing list