VES/Developers Guide (Windows): Difference between revisions

From KitwarePublic
< VES
Jump to navigationJump to search
(Created page with "== Eigen == =Problem= 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 ...")
 
No edit summary
Line 1: Line 1:
== Eigen ==
=Installation steps=


=Problem=  
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.
CMake may not support HTTPS protocol and the download of Eigen may fail.
=Solution=  
==Solution==
In file CMake/ves-superbuild.cmake, change the line:
In file CMake/ves-superbuild.cmake, change the line:
   set(eigen_url http://bitbucket.org/eigen/eigen/get/3.1.2.tar.gz)
   set(eigen_url http://bitbucket.org/eigen/eigen/get/3.1.2.tar.gz)
by
by
   set(eigen_url http://fossies.org/unix/privat/eigen-3.1.2.tar.gz)
   set(eigen_url http://fossies.org/unix/privat/eigen-3.1.2.tar.gz)

Revision as of 16:40, 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

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)