Open 735394006 opened 2 months ago
src/boot/compress.cpp:156:45: error: use of undeclared identifier 'crc32_z'; did you mean 'crc32'? zo{}, out(nullptr), outsize(0), crc(crc32_z(0L, Z_NULL, 0)), in_total(0), bp(0) { ^~~ crc32 src/external/zlib/zlib.h:1784:23: note: 'crc32' declared here ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef buf, uInt len); ^ src/boot/compress.cpp:201:15: error: use of undeclared identifier 'crc32_z'; did you mean 'crc32'? crc = crc32_z(crc, in, len); ^~~ crc32 src/external/zlib/zlib.h:1784:23: note: 'crc32' declared here ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef buf, uInt len);
u can use an older version of zlib to solve this error.
您可以使用一个旧版本的ZLU来解决这个错误。
Can you update the source code on GitHub to fix this issue
src/boot/compress.cpp:156:45: error: use of undeclared identifier 'crc32_z'; did you mean 'crc32'? zo{}, out(nullptr), outsize(0), crc(crc32_z(0L, Z_NULL, 0)), in_total(0), bp(0) { ^
~~ crc32 src/external/zlib/zlib.h:1784:23: note: 'crc32' declared here ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef buf, uInt len); ^ src/boot/compress.cpp:201:15: error: use of undeclared identifier 'crc32_z'; did you mean 'crc32'? crc = crc32_z(crc, in, len); ^~~ crc32 src/external/zlib/zlib.h:1784:23: note: 'crc32' declared here ZEXTERN uLong ZEXPORT crc32(uLong crc, const Bytef buf, uInt len);