forked from GLYCAM-Web/glylib
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
42 lines (25 loc) · 839 Bytes
/
README
File metadata and controls
42 lines (25 loc) · 839 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
2014-09-11 BLFoley
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