[vtkusers] 回复:Re: How to build VTK 7.0.0 for android?

xiaoyu_543 at sina.com xiaoyu_543 at sina.com
Mon Mar 21 10:42:57 EDT 2016


Hi Ken,
Thanks for your kindly reply.I have tried on OSX and build successfully.But I still don't know how to add vtk to my android studio project.Thanks a lot for your help again.

----- 原始邮件 -----
发件人:Ken Martin <ken.martin at kitware.com>
收件人:xiaoyu_543 at sina.com
抄送人:vtkusers <vtkusers at vtk.org>
主题:Re: [vtkusers] How to build VTK 7.0.0 for android?
日期:2016年03月17日 01点27分

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.
ThanksKen 
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" 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.

_______________________________________________

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 PhDChairman & 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/20160321/11948701/attachment.html>


More information about the vtkusers mailing list