Difference between revisions of "VES/Developers Guide (Windows)"

From KitwarePublic
< VES
Jump to: navigation, search
(Issue)
Line 29: Line 29:
  
 
==Issue==
 
==Issue==
CMake may not support HTTPS protocol and the download of Eigen may fail.
+
The download of Eigen fails.
 +
This is because CMake may not support HTTPS protocol (through an URL redirection) used to fetch the Eigen archive.
 +
 
 
==Solution==
 
==Solution==
 
In file CMake/ves-superbuild.cmake, change the line:
 
In file CMake/ves-superbuild.cmake, change the line:

Revision as of 12:42, 4 January 2013

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

The download of Eigen fails. This is because CMake may not support HTTPS protocol (through an URL redirection) used to fetch the Eigen archive.

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)