I am using the Code Blocks IDE and want to install the Tiled Map Editor for SFML. So, I downloaded the source code and imported it into my project. Unfortunately, the assembly failed because of the lack of the zlib library. I downloaded it and put it together again. This time I received an error message:
undefined reference to 'inflateInit2_'| undefined reference to 'inflateEnd'| undefined reference to 'inflateEnd'|
I found advice on the Internet to join the -lz linker -lz , but the compiler refuses to throw an error: cannot find -lz. Does anyone know how to fix this?
source share