[Ves] Building for Android

Pat Marion pat.marion at kitware.com
Wed Sep 12 13:03:17 EDT 2012


That should be all you need to do.  Double check that you downloaded the
ndk for OSX, there are different ndk downloads for windows, osx, and
linux.  Could you also make VERBOSE=1  and send me the full output?  You
can send that off list if you want.

Pat

On Wed, Sep 12, 2012 at 12:48 PM, Chris Vaught <cvaught at cmv-tech.com> wrote:

> Same error on r8 for me as the others.  I'm on OSX.  I'm not familiar with
> the NDK.  Do I need to do anything other than uncompress it after I
> download it?  I placed the uncompressed folder in my home folder.  I then
> set the environment variable: export
> ANDROID_NDK=/Users/chrisvaught/android-ndk-r8
>
> Chris
>
>
> On Wed, Sep 12, 2012 at 10:36 AM, Pat Marion <pat.marion at kitware.com>wrote:
>
>> Hi Chris,
>>
>> Actually, I tested NDK r8b briefly and it didn't seem to work with the
>> cmake toolchain, but I can confirm that NDK r8 definitely works for me on
>> Ubuntu 12.04 and OSX.  Make sure you have ia32-libs installed on Ubuntu.
>>
>> Pat
>>
>> On Wed, Sep 12, 2012 at 12:10 PM, Chris Vaught <cvaught at cmv-tech.com>wrote:
>>
>>> When I try to build for Android I get the following error:
>>>
>>> [100%] Built target vtkRenderingFreeType
>>> [ 36%] No install step for 'vtk-host'
>>> [ 39%] Completed 'vtk-host'
>>> [ 48%] Built target vtk-host
>>> [ 51%] Performing configure step for 'vtk-android'
>>> loading initial cache file /ves/CMake/toolchains/TryRunResults.cmake
>>> CMake Error at /ves/CMake/toolchains/android.toolchain.cmake:453
>>> (message):
>>>   Could not any working toolchain in the NDK.  Probably your Android NDK
>>> is
>>>   broken.
>>> Call Stack (most recent call first):
>>>   /Applications/CMake
>>> 2.8-9.app/Contents/share/cmake-2.8/Modules/CMakeDetermineSystem.cmake:89
>>> (INCLUDE)
>>>   CMakeLists.txt:3 (project)
>>>
>>> There were additional errors that occurs next that I have omitted.
>>>
>>> I have tried both the recommended r6 version as well as the latest r8b
>>> version.  Any help would be greatly appreciated.
>>>
>>> Thanks
>>> Chris
>>>
>>>
>>> _______________________________________________
>>> Ves mailing list
>>> Ves at public.kitware.com
>>> http://public.kitware.com/cgi-bin/mailman/listinfo/ves
>>>
>>>
>>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/ves/attachments/20120912/eac71b9f/attachment-0001.html>


More information about the Ves mailing list