Contents
Typical Use
GMML is typically used as a library accesed by GEMS
- Casual users should follow the installation instructions for GEMS.
- Advanced users might be happy to start with that as well, then use gmml as a library as desired. But, see the following instructions for using gmml as a standalone library.
Building gmml as a standalone library
Prerequisites
You will probably need root access to install some of the prerequisites.
You need these packages to use GEMS:
- A c++ compiler (e.g. g++)
- make
- openssl
- git (optional but recommended)
- boost
Installation instructions will vary according to operating system. If you use Ubuntu, you should be able to use a command like this:
1 |
sudo apt-get install g++ openssl git libboost-all-dev make |
If you use another operating system, please check its installation instructions.
Obtaining the software
The following does not require root access.
- Change to directory in which you want gmml to live.
- Get gmml from the git repo (*)
1git clone https://github.com/GLYCAM-Web/gmml.git
(*) There are non-git ways to obtain gmml. Please see https://github.com/GLYCAM-Web/GMML for more information.
Compiling and Installing
- Change directory to gmml
1cd gmml - Build gmml. You have two options. You may do either or both:
- Build gmml as a shared library:
1make - Build gmml as a static library:
1make staticlib
- Build gmml as a shared library: