printf ("Failed: %dn", GetLastError());
Linking CXX executable FuckItUpCMakeFiles/FuckItUp.dir/src/SCompression.cpp.o: In function `Compress_ZLIB(char*, int*, char*, int, int*, int)':SCompression.cpp:(.text+0x220): undefined reference to `deflateInit_'SCompression.cpp:(.text+0x23f): undefined reference to `deflate'SCompression.cpp:(.text+0x269): undefined reference to `deflateEnd'CMakeFiles/FuckItUp.dir/src/SCompression.cpp.o: In function `Decompress_ZLIB(char*, int*, char*, int)':SCompression.cpp:(.text+0x2f6): undefined reference to `inflateInit_'SCompression.cpp:(.text+0x315): undefined reference to `inflate'SCompression.cpp:(.text+0x333): undefined reference to `inflateEnd'CMakeFiles/FuckItUp.dir/src/SCompression.cpp.o: In function `Compress_BZIP2(char*, int*, char*, int, int*, int)':SCompression.cpp:(.text+0x6c4): undefined reference to `BZ2_bzCompressInit'SCompression.cpp:(.text+0x710): undefined reference to `BZ2_bzCompress'SCompression.cpp:(.text+0x72c): undefined reference to `BZ2_bzCompressEnd'CMakeFiles/FuckItUp.dir/src/SCompression.cpp.o: In function `Decompress_BZIP2(char*, int*, char*, int)':SCompression.cpp:(.text+0x783): undefined reference to `BZ2_bzDecompressInit'SCompression.cpp:(.text+0x7b9): undefined reference to `BZ2_bzDecompress'SCompression.cpp:(.text+0x7dc): undefined reference to `BZ2_bzDecompressEnd'CMakeFiles/FuckItUp.dir/src/SFileAddFile.cpp.o: In function `WriteDataToMpqFile(TMPQArchive*, TMPQFile*, unsigned char*, unsigned int, unsigned int)':SFileAddFile.cpp:(.text+0x28f): undefined reference to `crc32'SFileAddFile.cpp:(.text+0x3c0): undefined reference to `adler32'CMakeFiles/FuckItUp.dir/src/SFileAddFile.cpp.o: In function `SFileAddFile_Init(TMPQArchive*, char const*, unsigned long long, unsigned int, unsigned int, unsigned int, TMPQFile**)':SFileAddFile.cpp:(.text+0xb5f): undefined reference to `crc32'CMakeFiles/FuckItUp.dir/src/SFileAttributes.cpp.o: In function `SFileUpdateFileAttributes(void*, char const*)':SFileAttributes.cpp:(.text+0x975): undefined reference to `crc32'SFileAttributes.cpp:(.text+0x9d3): undefined reference to `crc32'CMakeFiles/FuckItUp.dir/src/SFileReadFile.cpp.o: In function `ReadMpqSectors(TMPQFile*, unsigned char*, unsigned int, unsigned int, unsigned int*)':SFileReadFile.cpp:(.text+0x453): undefined reference to `adler32'collect2: ld returned 1 exit statusmake[2]: *** [FuckItUp] Error 1make[1]: *** [CMakeFiles/FuckItUp.dir/all] Error 2make: *** [all] Error 2