forked from netmail-open/wjelement
-
Notifications
You must be signed in to change notification settings - Fork 0
/
INSTALL
27 lines (17 loc) · 581 Bytes
/
INSTALL
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
Compile and install WJElement:
$ ccmake . #change settings if desired, 'c'onfigure and 'g'enerate
$ cmake -DLIB_DEST_DIR=/usr/local/lib64 #set lib path if needed
$ make
# make install
You may also use:
$ cmake-gui .
instead of ccmake.
Use it in your program:
#include <wjelement.h>
Link against it in your project:
-lwjelement
(simple usage)
-lwjelement -lwjreader -lwjwriter
(advanced and lower-level functionality)
By default, WJElement will install to /usr/local. If linking fails to find
WJElement immediately after installation, you may need to run ldconfig.