VES/Developers Guide (Windows)

From KitwarePublic
< VES
Revision as of 11:40, 4 January 2013 by JPouderoux (talk | contribs)

Jump to: navigation, search

Installation steps

This page explains the VES and Kiwi installation process using Microsoft Visual C++ (the compiler for the host code compilation, and the NMake tool to compile the whole bundle) under Windows, targeting the Android platform.

Prerequisites

  • Android NDK r8c
  • Android SDK

Important: You need to add the subdirectories of Android SDK "platform-tools" and "tools" to your PATH environment variable.

Compiling VES

1. Edit Apps/Android/CMakeBuild/configure.bat and set the variable ANDROID_NDK to your NDK installation path. You may also change the build type to Debug while the default is Release.

2. Start a VisualStudio command prompt. Go to the Apps/Android/CMakeBuild/ directory and type:

 > configure.bat
 > cd build
 > nmake

The superbuild compilation process starts.

Compiling Kiwi

FAQ

Issue

CMake may not support HTTPS protocol and the download of Eigen may fail.

Solution

In file CMake/ves-superbuild.cmake, change the line:

 set(eigen_url http://bitbucket.org/eigen/eigen/get/3.1.2.tar.gz)

by

 set(eigen_url http://fossies.org/unix/privat/eigen-3.1.2.tar.gz)