Skip to content

InstallingDependencies

Simon Legrand edited this page Nov 21, 2017 · 7 revisions

Dependencies

  • Eigen3
  • CImg
  • CGAL < 4.10
  • Python 2.7
  • Boost-python
  • NumPy
  • Scipy
  • Matplotlib
  • Pillow (not in Homebrew, install via pip)

Installing dependencies on Debian/Ubuntu

If your distribution is sufficiently recent, you can simply use :

sudo apt-get install <package-name>

Installing dependencies using Homebrew (OSX / Linux)

For OSX, old Linux versions or systems where you are not root you can install the missing dependencies localy with homebrew/linuxbrew, which provides up-to-date versions of the libraries used by PyMongeAmpere. The webpages of homebrew and linuxbrew provide more information and installation instructions. On OSX, you have to install xQuartz beforehand. Then run:

brew install <package-name>

NB: If the compiler of the host machine doesn't support c++11, you can use the homebrew compiler chain instead. Check the instructions on the Standalone-Installation website.

NB2: From the version 4.10, CGAL's API has changed. Unfortunately, the version available via Homebrew is too recent. See here to install older verisons of CGAL.