[vtkusers] How to build VTK 7.0.0 for android?

xiaoyu_543 at sina.com xiaoyu_543 at sina.com
Tue Mar 15 10:55:44 EDT 2016


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" 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-tools2>  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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20160315/689108f4/attachment-0001.html>


More information about the vtkusers mailing list