[vtkusers] Android to Vtk-7.0

Ken Martin ken.martin at kitware.com
Wed Jan 27 07:51:38 EST 2016


The line

"Error: Target id 'Error: Target id 'android-21android-21' is not valid.
Use '' is not valid. Use 'androidandroid list targets' to get the target
ids. list targets' to get the target ids."

means that you are trying to build for android 21 but have not installed
the android 21 SDK platform. running "android list targets" will list the
ones you have installed. Likewise a listing can be found in Android studio
and the Standalone SDK manager.

Ken



On Tue, Jan 26, 2016 at 4:57 PM, Lindeval Lima <lindeval.ufrr at gmail.com>
wrote:

> Hello everyone!
>
> Someone managed to install the samples for android with vtk-7.0? My build is
> giving errors.
>
> Linking CXX shared library ../libs/armeabi-v7a/libNativeVTK.so
> Linking CXX shared library ../libs/armeabi-v7a/libJavaVTK.so
> [100%] [100%] Built target NativeVTK
> Built target JavaVTK
> Scanning dependencies of target JavaVTK-ant-configure
> Scanning dependencies of target NativeVTK-ant-configure
> Error: Target id 'Error: Target id 'android-21android-21' is not valid.
> Use '' is not valid. Use 'androidandroid list targets' to get the target
> ids. list targets' to get the target ids.
>
> Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure.dir/build.make:49:
> recipe for target
> 'Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure' failed
> Examples/Android/JavaVTK/CMakeFiles/JavaVTK-ant-configure.dir/build.make:49:
> recipe for target
> 'Examples/Android/JavaVTK/CMakeFiles/JavaVTK-ant-configure' failed
> make[5]: ***
> [Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure] Error 1
> make[5]: *** [Examples/Android/JavaVTK/CMakeFiles/JavaVTK-ant-configure]
> Error 1
> CMakeFiles/Makefile2:3175: recipe for target
> 'Examples/Android/JavaVTK/CMakeFiles/JavaVTK-ant-configure.dir/all' failed
> make[4]: ***
> [Examples/Android/JavaVTK/CMakeFiles/JavaVTK-ant-configure.dir/all] Error 2
> make[4]: ** Esperando que outros processos terminem.
> CMakeFiles/Makefile2:2963: recipe for target
> 'Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure.dir/all'
> failed
> make[4]: ***
> [Examples/Android/NativeVTK/CMakeFiles/NativeVTK-ant-configure.dir/all]
> Error 2
> Makefile:117: recipe for target 'all' failed
> make[3]: *** [all] Error 2
> CMakeFiles/vtk-android.dir/build.make:106: recipe for target
> 'CMakeExternals/Prefix/vtk-android/src/vtk-android-stamp/vtk-android-build'
> failed
> make[2]: ***
> [CMakeExternals/Prefix/vtk-android/src/vtk-android-stamp/vtk-android-build]
> Error 2
> CMakeFiles/Makefile2:60: recipe for target
> 'CMakeFiles/vtk-android.dir/all' failed
> make[1]: *** [CMakeFiles/vtk-android.dir/all] Error 2
> Makefile:76: recipe for target 'all' failed
> make: *** [all] Error 2
>
>
> I appreciate any help.
>
>
>
> 2016-01-26 17:15 GMT-04:00 Lindeval Lima <lindeval.ufrr at gmail.com>:
>
>> Hello everyone!
>>
>> Someone managed to install the samples for android with vtk-7.0? My build is
>> giving errors.
>>
>> I appreciate any help.
>>
>> --
>>
>> *Prof. Lindeval Fernandes de Lima*
>>
>> *Telefones para contato*:
>> Celular: (095) 81215424
>> Coordenação EaD: (095) 3624 - 6426
>>
>>
>
>
> --
>
> *Prof. Lindeval Fernandes de Lima*
>
> *Telefones para contato*:
> Celular: (095) 81215424
> Coordenação EaD: (095) 3624 - 6426
>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Search the list archives at: http://markmail.org/search/?q=vtkusers
>
> Follow this link to subscribe/unsubscribe:
> http://public.kitware.com/mailman/listinfo/vtkusers
>
>


-- 
Ken Martin PhD
Chairman & CFO
Kitware Inc.
28 Corporate Drive
Clifton Park NY 12065
518 371 3971

This communication, including all attachments, contains confidential and
legally privileged information, and it is intended only for the use of the
addressee.  Access to this email by anyone else is unauthorized. If you are
not the intended recipient, any disclosure, copying, distribution or any
action taken in reliance on it is prohibited and may be unlawful. If you
received this communication in error please notify us immediately and
destroy the original message.  Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160127/67bda176/attachment.html>


More information about the vtkusers mailing list