[Ves] problems building ves for android (Aashish Chaudhary)

Daniel Fuentes daniel.fuentes at softwaredelcentro.com.ar
Mon May 19 14:19:22 EDT 2014



Hi Aashish. You have right about the enviroment variable. 
Sorry about that, I tried again with explicit path and works ok. 
VES and Kiwi are compiled ok. 

A question, are build using the libraries for android using like target x86 architecture? 

Daniel Fuentes 
Software del Centro 
daniel.fuentes at softwaredelcentro.com.ar 

(0249)430-5085 
Int 1103 

----- Mensaje original -----

De: "Aashish Chaudhary" <aashish.chaudhary at kitware.com> 
Para: "Daniel Fuentes" <daniel.fuentes at softwaredelcentro.com.ar> 
CC: ves at public.kitware.com 
Enviados: Lunes, 19 de Mayo 2014 14:24:22 
Asunto: Re: [Ves] problems building ves for android (Aashish Chaudhary) 

It didn't find toolchain file. ( $VES_SRC/CMake/toolchains/ android.toolchain.cmake) I don't think you can use environment variable. 

Can you try it without it? 

- Aashish 



On Mon, May 19, 2014 at 9:49 AM, Daniel Fuentes < daniel.fuentes at softwaredelcentro.com.ar > wrote: 


Hi Aashish, I tried compile ves from your patch *android_cmake_fixes* (according to the steps that I described to Mohammad before). 
VES source compile ok. 
But when I tried Kiwi, I had the next error messages: 


$ cd $VES_SRC/Apps/Android/Kiwi/jni 
$ cmake -DCMAKE_TOOLCHAIN_FILE=\$VES_SRC/CMake/toolchains/android.toolchain.cmake -DANDROID_NATIVE_API_LEVEL=8 -DVTK_DIR=$VTK_DIR -DVES_DIR=$VES_DIR . 
CMake Error at /home/daniel.fuentes/local/opt/cmake-2.8.12.2/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:99 (message): 
Could not find toolchain file: 
$VES_SRC/CMake/toolchains/android.toolchain.cmake 
Call Stack (most recent call first): 



CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 
Missing variable is: 
CMAKE_C_COMPILER_ENV_VAR 
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 
Missing variable is: 
CMAKE_C_COMPILER 
CMake Error: Could not find cmake module file: /home/daniel.fuentes/local/proys/plavmovil/ves/VES.stage/Apps/Android/Kiwi/jni/CMakeFiles/ 2.8.12.2/CMakeCCompiler.cmake 
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 
Missing variable is: 
CMAKE_CXX_COMPILER_ENV_VAR 
CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. 
Missing variable is: 
CMAKE_CXX_COMPILER 
CMake Error: Could not find cmake module file: /home/daniel.fuentes/local/proys/plavmovil/ves/VES.stage/Apps/Android/Kiwi/jni/CMakeFiles/ 2.8.12.2/CMakeCXXCompiler.cmake 
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage 
CMake Error: CMAKE_CXX_COMPILER not set, after EnableLanguage 
-- Configuring incomplete, errors occurred! 

I used cmake 2.8.12.2 and android ndk r9c, but the same oucurrs with cmake 2.8.9. 
Regards 


Daniel Fuentes 
Software del Centro 
daniel.fuentes at softwaredelcentro.com.ar 

(0249)430-5085 
Int 1103 
_______________________________________________ 
Ves mailing list 
Ves at public.kitware.com 
http://public.kitware.com/cgi-bin/mailman/listinfo/ves 






-- 
| Aashish Chaudhary 
| Technical Leader 
| Kitware Inc. 
| http://www.kitware.com/company/team/chaudhary.html 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140519/36d18bd8/attachment-0003.html>


More information about the Ves mailing list