Visual Servoing Platform
version 3.1.0
|
In this tutorial you will learn how to install ViSP from source on OSX with Homebrew. These steps have been tested with Mac OS X 10.9.5 Mavericks, with 10.10.3 Yosemite and with 10.12.5 Sierra.
/usr/local/bin
to the PATH
environment var in your ~/
.bashrc or ~/
.bash_profile to have Homebrew be at the front of the PATH. ViSP is interfaced with several 3rd party libraries. The complete list is provided here.
We recommend to install the following packages.
$HOME/visp-ws
that will contain ViSP source, build and dataset. There are different ways to get ViSP source code:
We suppose now that ViSP source is in the directory $VISP_WS/visp
. The following should be adapted if you downloaded ViSP from a zip or tarball. In that case, the source is rather in something like $VISP_WS/visp-x
.y.z.
visp-build
that will contain all the build material; generated Makefiles, object files, output libraries and binaries. visp-build
folder and configure the build: ccmake
, the CMake GUI: /usr/local
. This location could be changed modifying CMAKE_INSTALL_PREFIX
var: $VISP_WS/visp-build/doc/html/index.html
ENABLE_FULL_DOC
to ON
like: ViSP-images-x.y.z.zip
. This archive could be downloaded from http://visp.inria.fr/download page. We provide here after the way to install these data requested to run ViSP examples. $HOME/ViSP-images-3
.1.0. VISP_INPUT_IMAGE_PATH
environment variable to help ViSP examples and tests to find the location of the data set. It is more convenient if this environment variables is automatically added to your bash session every time a new shell is launched: displayX
example that should open a windows with Klimt painting image and some overlay drawings: make:
ViSP-third-party.txt
and located in $VISP_WS/visp-build
. We provide hereafter an example of a possible content of this file that contains also build info. You are now ready to see the next Tutorial: How to create and build a CMake project that uses ViSP on Unix or Windows that will show you how to use ViSP as a 3rd party to build your own project.