Smally library is a C library to compress and decompress data.
It provides an implementation of the LZ77 algorithm.
- Create a directory which will contains this repository and all the repositories it is depending on. Lets call it "Repos"
- Download the master branch of this repository into "Repos". Unzip it if necessary.
- The folder's name for the repository should be followed by "-master", rename the folder by removing "-master".
- cd to the repository's folder
- If wget is not installed:
sudo apt-get update && sudo apt-get install wget
on Ubuntu 16.04, orbrew install wget
on Mac OSx - If gawk is not installed:
sudo apt-get update && sudo apt-get install gawk
on Ubuntu 16.04,brew install gawk
on Mac OSx - If this repository is the first one you are installing in "Repos", run the command
make -k pbmake_wget
- Run the command
make
to compile the repository. - Eventually, run the command
main
to run the unit tests and check everything is ok. - Refer to the documentation to learn how to use this repository.
The dependancies to other repositories should be resolved automatically and needed repositories should be installed in the "Repos" folder. However this process is not completely functional and some repositories may need to be installed manually. In this case, you will see a message from the compiler saying it cannot find some headers. Then install the missing repository with the following command, e.g. if "pbmath.h" is missing: make pbmath_wget
. The repositories should compile fine on Ubuntu 16.04. On Mac OSx, there is currently a problem with the linker.
If you need assistance feel free to contact me with my gmail address: at bayashipascal.