Closed thierrygross closed 5 years ago
When I refer explicitely to the libraries, then it compiles :
g++ tagging.cpp /usr/local/lib/libcrfsuite.a /usr/local/lib/liblbfgs.a /usr/local/lib/libcqdb.a -o tagging
Sorry for the stupid question, I haven't respected the right ordering: g++ -L/usr/local/lib -I/usr/local/include tagging.cpp -lcrfsuite
I have correctly installed crfsuite from source (https://github.com/downloads/chokkan/crfsuite/crfsuite-0.12.tar.gz). But when I try to compile this very simple code, it seems that I missed something:
Here's the command line to compile:
g++ -L/usr/local/lib -I/usr/local/include -lcrfsuite tagging.cpp
The error :