VES/Download And Build Instructions: Difference between revisions
(Created page with "Download and Build Instructions") |
|||
(6 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Download and | == Introduction == | ||
This page details the minimum commands required to download and build VES and the example applications. For more detailed information see the [[VES/Developers Guide|Developer's Guide]]. | |||
==Checkout the source from Git== | |||
Use [http://www.git-scm.com/ Git] to checkout the VES source code with the command: | |||
$ git clone git://vtk.org/VES.git | |||
See the [[VES/Git/Download|Download Instructions]] for details. | |||
==Build with CMake== | |||
[http://cmake.org/cmake/resources/software.html CMake] is used to configure Makefiles for the build. Before building, ensure that Android and/or iOS SDKs are installed. See the [[VES/Developers Guide|Developer's Guide]] for more information. | |||
====Android instructions==== | |||
The following commands will compile vtk and ves libraries for the Android. Android NDK r8b is currently supported, see [[VES/Developers Guide|Developer's Guide]]. | |||
$ export ANDROID_NDK=/path/to/installed/android-ndk | |||
$ cd Apps/Android/CMakeBuild | |||
$ cmake -P configure.cmake | |||
$ cd build | |||
$ make -j4 | |||
Next, build and run the KiwiViewer application. Ant version 1.8 or higher is required. | |||
$ cd Apps/Android/Kiwi | |||
$ | |||
$ # if android, adb, ant, or cmake are not in your PATH, edit tools.sh to enter the correct paths | |||
$ | |||
$ ./configure_cmake.sh | |||
$ ./configure_ant.sh | |||
$ ./compile.sh | |||
Use adb to confirm that your device is listed: | |||
$ adb devices | |||
Run KiwiViewer on the device: | |||
$ ./run.sh | |||
====iOS instructions==== | |||
To build for iOS, read Apps/iOS/README.txt |
Latest revision as of 23:25, 15 May 2013
Introduction
This page details the minimum commands required to download and build VES and the example applications. For more detailed information see the Developer's Guide.
Checkout the source from Git
Use Git to checkout the VES source code with the command:
$ git clone git://vtk.org/VES.git
See the Download Instructions for details.
Build with CMake
CMake is used to configure Makefiles for the build. Before building, ensure that Android and/or iOS SDKs are installed. See the Developer's Guide for more information.
Android instructions
The following commands will compile vtk and ves libraries for the Android. Android NDK r8b is currently supported, see Developer's Guide.
$ export ANDROID_NDK=/path/to/installed/android-ndk $ cd Apps/Android/CMakeBuild $ cmake -P configure.cmake $ cd build $ make -j4
Next, build and run the KiwiViewer application. Ant version 1.8 or higher is required.
$ cd Apps/Android/Kiwi $ $ # if android, adb, ant, or cmake are not in your PATH, edit tools.sh to enter the correct paths $ $ ./configure_cmake.sh $ ./configure_ant.sh $ ./compile.sh
Use adb to confirm that your device is listed:
$ adb devices
Run KiwiViewer on the device:
$ ./run.sh
iOS instructions
To build for iOS, read Apps/iOS/README.txt