During development I had a few issues related to how I link with zlib. Some distributions package Boost's iostreams library with zlib support, while others don't.
Debian and Kali package it with zlib, but I'm not sure about Ubuntu, however they most likely also do.
Try modifying the CMakeFiles.txt and add:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -lz")
Even though you shouldn't be doing this, I found with earlier versions of gcc it seems to fix the issue.
Alternatively, you can try recompiling boost with zlib support.
Oooor, just run cmake -DWITHOUT_ZLIB=1. The only thing you won't be able to do is to load compressed data files directly, so make sure to run gzip -d *.gz in the data folder.
During development I had a few issues related to how I link with zlib. Some distributions package Boost's iostreams library with zlib support, while others don't.
Debian and Kali package it with zlib, but I'm not sure about Ubuntu, however they most likely also do.
Try modifying the CMakeFiles.txt and add:
Even though you shouldn't be doing this, I found with earlier versions of gcc it seems to fix the issue.
Alternatively, you can try recompiling boost with zlib support.
Oooor, just run
cmake -DWITHOUT_ZLIB=1
. The only thing you won't be able to do is to load compressed data files directly, so make sure to rungzip -d *.gz
in the data folder.