This library requires libLX to be present, as its XML parsing layer will be used. for that either expat, xerces-c or libXML2 needs to be available.
This library uses CMake to build the library, so from an initial checkout all you would need todo is to run:
mkdir build
cd build
cmake -DLIBLX_LIBRARY=< path to libLX lib> -DLIBLX_INCLUDE_DIR=< path to includes > ... -DEXTRA_LIBS= < comma separated list of xml libraries>
make
make install
Should libLX be installed in a default location it will be found automatically. Note that you do need to list the xml libraries that libLX was linked against. In most cases libLX is compiled against libXML and have compression enabled, so your EXTRA_LIBS
would be:
EXTRA_LIBS=xml2;bz2;z;iconv
note the semicolon denoting the listing of several libraries. Of course you could also enter the full path to each individual file, just to give an example, on windows I use:
EXTRA_LIBS=D:/dependencies/lib/expat.lib
for linking against expat
and indicating, that libLX was compiled without compression.
This project is open source and freely available under