Closed bird8693 closed 4 years ago
You need to link it against the library and the libraries used. Here's an example, presuming you've compiled everything and have all the compression libraries installed.
g++ -DKENLM_MAX_ORDER=6 -o example example.cc -I. -L build/lib -lkenlm -lkenlm_util -llzma -lbz2 -lz
I compile the code of interface example, however it throw many error: g++ -o example exmaple.c
Errror: