Installing GeoCalcLib
A prerequisite to run the GeoCalcLib is to have the GMP Library on your machine. At build time, you will need the main header file gmp.h
however the library itself is largely irrelevant, as Matlab provides a gmp redistributable.
To install the GeoCalcLib open your Terminal navigate to your desired directory and clone the repository by typing
Create a text file named User.make
in which you define the absolute path to your Matlab installation MATLABROOT
and the desired installation directory INSTALLDIR
(a directory on your Matlab path), e.g.
If necessary add GMPINCLUDE
with the path to the gmp.h
file (I only had to do this on osx ).
Run make
If you do not yet have a directory on your Matlab path to store your functions and want to add one, run edit startup
in Matlab and add
or find alternative ways of setting up your path here.
You should now be set up.