Skip to content
simonlegrand edited this page Dec 4, 2014 · 7 revisions

Welcome to the MongeAmpere wiki!

Installation with Ubuntu

sudo apt-get install cmake-curses-gui
sudo apt-get install libeigen3-dev
sudo apt-get install cimg-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libcgal-dev>

Configuration and building

Create a temporary folder:

cd path/to/MongeAmpere/..
mkdir buildMA
cd buildMA

Configure:

ccmake ../MongeAmpere

Then type successively c, c, g in ccmake to configure MongeAmpere. Then build it:

make

For old systems

For older Ubuntu versions or systems where you are not root, the sources may not be up to date. You can install the dependences localy via homebrew for linux, which has is own sources.

Dependences of homebrew

sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev

Installation of homebrew

ruby -e "$(wget -O- https://raw.github.com/Homebrew/linuxbrew/go/install)"

Environment variables

Add these lines at the end of your ~/.bashrc, to adapt your ENV variables

export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"

Errors and updates

brew doctor
brew update

Dependences installation

brew install <libraryname>

Finally install the program as described higher

For old systems with gcc < 4.8.1

To use the homebrew compiler chain instead of the old one installed on your machine, check the instructions on the Standalone-Installation website. For more information about how to use homebrew and how to correct possible errors, check homebrew website.

Clone this wiki locally