-
Notifications
You must be signed in to change notification settings - Fork 0
Zip text files with minizip #39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
44ca145 to
aa723bb
Compare
37c225f to
a06fa20
Compare
3291175 to
8e23e1d
Compare
2052581 to
a4b6e54
Compare
a4b6e54 to
ed513b9
Compare
|
All unit tests in release and debug builds pass on the Zybo board as well. |
|
The generated Extracting with the built-in extracter from the windows file explorer cannot be done for the files. While the folder are extracted and created, no files are in them. The message says:
|
ad4608b to
cf1cfb0
Compare
It turns out that the SD card of the Zybo just didn't have enough free space. Need to check with a bigger SD card. |
12d159a to
d636bd7
Compare
|
Some debugging resulted in Here This seems top be this errno To get the #if 0
# define mz_zip_print printf
#else
- # define mz_zip_print(fmt, ...)
+ # define mz_zip_print(fmt, ...) printf(fmt, ##__VA_ARGS__)
#endif |
|
Making the following change in project(minizip-ng
VERSION ${VERSION}
LANGUAGES C
DESCRIPTION "Zip manipulation library"
HOMEPAGE_URL https://github.com/zlib-ng/minizip-ng/)
+ if(USE_FILE_OFFSET_BITS64)
+ add_compile_definitions(_FILE_OFFSET_BITS=64)
+ endif()Now on the zybo it fails with: This most likely has to do with the fact that the SD card only has a 16GB rootfs. of which effectively ~14.5GB is available. Meaning 6.000.000.000 Bytes (~5.6GB) * 2 = 11.2GB (times 2 because there is a generated and the zipped 6GB), and 3.503.849.472 (~3.3GB), adds up to ~14.5GB. So this makes sense. Going to increase the rootfs size and try again. EDIT: it indeed passed with a larger rootfs. |
d543b88 to
59a979c
Compare
59a979c to
d1814c8
Compare
|
Created a fork of minizip-ng: https://github.com/enzoevers/minizip-ng This includes the option to add |
d1814c8 to
9b3e416
Compare
|
Test release tests from sha256:c14446af103e5a1bbb54e1518c21d6ee079d511ae65dc2308d2d6510d7ba6587 on the Zybo board. |
No description provided.