[vtkusers] How to build VTK 7.0.0 for android?

Ken Martin ken.martin at kitware.com
Wed Mar 16 13:27:54 EDT 2016


For VTK we currently use OSX or Linux for building Android. Windows has
some complexities that make it difficult to do the mixed build process we
use for Android.

Thanks
Ken

On Tue, Mar 15, 2016 at 10:55 AM, <xiaoyu_543 at sina.com> wrote:

> Hi everybody:
>
>
> I want to build vtk 7.0.0 for android developing,below is my procedure and
> problems i met.
>
> Please help to check,thanks .
>
>
> Step 1. Download source file "VTK-7.0.0.zip
> <http://www.vtk.org/files/release/7.0/VTK-7.0.0.zip>" from "
> http://www.vtk.org/".
>
> Step 2. Config VTK in CMake like below and generate vtk.sln project:
>
>
> Step 3. Build VTK.sln. I choose build all in debug mode and suffered 2
> errors:
>
> first error :
>
> 2>  -- Build files have been written to:
> D:/code/VTK-7.0.0-android-bin_3/CMakeExternals/Build/vtk-compile-tools
>
> 2>  Performing build step for 'vtk-compile-tools'
> 2>  make: *** No rule to make target `vtkCompileTools'.  Stop.
>
> 2>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
> error MSB6006: “cmd.exe” exited with code 2.
>
>
> second error:
>
> 3>  CMake Error at CMakeLists.txt:29 (project):
> 3>    CMAKE_SYSTEM_NAME is 'Android' but 'NVIDIA Nsight Tegra Visual Studio
> 3>    Edition' is not installed.
> 3>
> 3>
> 3>  -- Configuring incomplete, errors occurred!
> 3>  See also
> "D:/code/VTK-7.0.0-android-bin_3/CMakeExternals/Build/vtk-android/CMakeFiles/CMakeOutput.log".
> 3>C:\Program Files
> (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets(171,5):
> error MSB6006: “cmd.exe” exited with code 1.
>
>
> I find some response from url "
> https://blog.kitware.com/building-vtk-for-mobile-architectures/".
>
> But I still don't understand how i can do to build VTK for Android
> correctly.
>
>
>
> _______________________________________________
> 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/20160316/24aefbc2/attachment.html>


More information about the vtkusers mailing list