I stole the zlib example inflate code from zpipe.c I have all my imports in order(the same ones from zpipe.c) and I have there binary corruption fix at the top like it should be, but I get this error:
obj\Debug\ArchiveIO.o||In function `Z10DecompressP6_iobufS0_':|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|30|undefined reference to `inflateInit_'|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|38|undefined reference to `inflateEnd'|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|49|undefined reference to `inflate'|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|56|undefined reference to `inflateEnd'|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|61|undefined reference to `inflateEnd'|
C:\Users\Owner\Documents\CodeBlocks\Projects\Trek Setup\ArchiveIO.cpp|70|undefined reference to `inflateEnd'|
||=== Build finished: 6 errors, 0 warnings (0 minutes, 1 seconds) ===|