-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the MongeAmpere wiki!
sudo apt-get install cmake-curses-gui
sudo apt-get install libeigen3-dev
sudo apt-get install cimg-dev
sudo apt-get install libsuitesparse-dev
sudo apt-get install libboost-all-dev
sudo apt-get install libcgal-dev>
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 older Ubuntu versions or systems where you are not root, the sources may not be up to date. You can install the missing dependences localy via homebrew for linux, which has is own sources.
sudo apt-get install build-essential curl git m4 ruby texinfo libbz2-dev libcurl4-openssl-dev libexpat-dev libncurses-dev zlib1g-dev
ruby -e "$(wget -O- https://raw.github.com/Homebrew/linuxbrew/go/install)"
Add these lines at the end of your ~/.bashrc, to adapt your environment variables.
export PATH="$HOME/.linuxbrew/bin:$PATH"
export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
Check potential errors and updates with:
brew doctor
brew update
Install the dependences you need:
brew install <libraryname>
Finally install the program as described higher
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.