Skip to content

GLYCAM-Web/glylib

Folders and files

NameName
Last commit message
Last commit date
Jul 30, 2014
Jul 21, 2008
Sep 10, 2014
Apr 18, 2011
Mar 20, 2024
Mar 18, 2024
Apr 11, 2011
Dec 14, 2010
Nov 17, 2010
Aug 15, 2008
Mar 18, 2024

Repository files navigation

2024-03-17 BLFoley

**This version of the library is intended for use with newer code and
to compile using modern compilers.**

Certain code written before 2024 might not work with this version.
If you want to use a legacy version that will work with older code or 
compilers, see the old-compilers branch or the legacy branch.  

This is a library designed to facilitate programming relevant to 
molecular data.

Please see http://glycam.org/glylib for detailed documentation.

Briefly:

Requires:  

    C compiler and/or C++ compiler
    make utilities
    GNU-compatible compilers are preferred

To build:

    cd lib
    make  # to make for C and C++

    - If you only want C:

        make justC

    - For only C++:

        make justCpp

To use:

    You need to make your compile aware of the inc and lib directories 
    and -lglylib or -lglylib++, depending on the compiler.  In most cases, 
    you will also need -lm.

For example:

    gcc mycode.c -L/path/to/glylib/lib -I/path/to/glylib/inc -lglylib -Wall -lm
      -or- 
    g++ mycode.c -L/path/to/glylib/lib -I/path/to/glylib/inc -lglylib++ -Wall -lm

For help: glycam@gmail.com