Visual Servoing Platform
version 3.6.1 under development (2024-11-15)
|
In this tutorial you will learn how to install ViSP Homebrew package on OSX. These steps have been tested with macOS Catalina 10.15.3.
First, go to http://brew.sh to install Homebrew.
To get information on ViSP package:
$ brew update $ brew info visp
To install ViSP and additional dependencies (cmake, opencv3, libdc1304, gsl, zbar, x11), just run:
$ brew update $ brew install visp
To build and install ViSP from source with homebrew you may run:
$ brew install visp --build-from-source
$ brew remove visp
If during ViSP installation you get the following error
$ brew install visp ... ==> Pouring visp-3.0.0.el_capitan.bottle.tar.gz Error: The `brew link` step did not complete successfully The formula built, but is not symlinked into /usr/local Could not symlink include/visp/visp_modules.h /usr/local/include/visp is not writable. You can try again using: brew link visp ...
it means maybe that you install other softwares without brew in /usr/local. A work around is to change the owner of the corresponding folder like:
$ sudo chown {your-user-name} /usr/local/include
You are now ready to see the next Tutorial: How to create and build a project that uses ViSP and CMake on Unix or Windows that will show you how to use ViSP as a 3rd party to build your own project.