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

Aashish Chaudhary aashish.chaudhary at kitware.com
Wed May 21 16:45:22 EDT 2014


On Mon, May 19, 2014 at 2:19 PM, Daniel Fuentes <
daniel.fuentes at softwaredelcentro.com.ar> wrote:

> 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?
>

With the newer NDK, it shouldn't. The old one was using the x86 If I
understood your question correctly.

Thanks for the feedback.

- Aashish


>
> Daniel Fuentes
> Software del Centro
> daniel.fuentes at softwaredelcentro.com.ar
>
> (0249)430-5085
> Int 1103
>
> ------------------------------
> *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
> <http://www.kitware.com/company/team/chaudhary.html>*
>
>


-- 



*| Aashish Chaudhary | Technical Leader         | Kitware Inc.            *
*| http://www.kitware.com/company/team/chaudhary.html
<http://www.kitware.com/company/team/chaudhary.html>*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20140521/9059e69c/attachment-0003.html>


More information about the Ves mailing list