Visual Servoing Platform
version 3.0.1
|
In this tutorial you will learn how to build ViSP framework from source on OSX in order to use it for iOS developments. These steps have been tested on OSX El Capitan 10.11.45 and 10.11.6, with CMake 3.5.2, Xcode 7.3.1 and 8.0, and Python 2.7.10.
We suggest to follow these steps in order to install OpenCV framework in such a way that the resulting ViSP framework builds with OpenCV as 3rd party. This could be useful for users who want to use keypoints throw ViSP classes (vpKltOpencv, vpKeyPoint) or the model-based tracker in his hybrid version (vpMbKltTracker). If you are not interested in ViSP capabilities that use OpenCV as 3rd party, just skip this section.
<framework_dir>/ios
. If <framework_dir>
is for example the following folder ~/framework
just do the following: opencv2.framework
to iPhoneOS existing frameworks opencv2.framework
to iPhoneSimulator existing frameworks Here the goal is to get ViSP source code in a directory denoted <framework_dir>
. If <framework_dir>
is for example the following folder ~/framework
there are different ways to get ViSP:
We suppose now that ViSP source is in a directory denoted <framework_dir>
.
<framework_dir>
and check the name of he folder containing ViSP source code Once build, you will have ~/framework/ios/visp3.framework
that could be added to a Xcode project for iOS devices. If you follow Getting OpenCV framework (optional) you have also ~/framework/ios/opencv2.framework
that should also be added to the Xcode project.
You are now ready to see the next Tutorial: How to create a basic iOS application that uses ViSP that shows how to use ViSP as a 3rd party to build your own project for iOS devices.