wget http://www.zlib.net/zlib-1.2.5.tar.gz
tar -xvzf zlib-1.2.5.tar.gz
zlib-1.2.5
sudo ./configure --prefix=/usr/local/zlib
sudo make
sudo make install
I saw this googling how to install zlib.
I dont know how to link it to my proyect, I tried adding -lzlib.h and the path of the headers but it didnt work, the compiler shows me that cant find zlib.h, so I think that I installed zlib in a wrong directory but Im not sure
I am a noob with this kind of stuffs, I hope that someone can helpme
Advertising

