-
-
Notifications
You must be signed in to change notification settings - Fork 119
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
How to configure bit7z? And some features that I would prefer to be added. #259
Comments
Hi!
I think there are a couple of problems with your project. First of all, you're trying to use the precompiled binaries from In theory, you could use the precompiled binaries from In general, I would suggest using a more recent toolchain. As far as I know, you should be able to download a newer version of MinGW and replace the old Finally, from the error messages I think that your project doesn't actually link the bit7z library into the final executable, otherwise the errors would be different. and that you want to link it with your executable: Note that in the second screenshot each library is prefixed with a
Actually, I already implemented the multi-layered compressed files support on the
I'm not sure what you mean here, but it sound similar to what
As far as I know, 7-Zip itself doesn't provide a way to read byte by byte, but provides a buffer of data which then needs to be handled (e.g. written to a file). But I'll have to check this. In the next v4.1 there will be a |
I am new to external modules in C++, but I have no idea how to configure bit7z. I tried putting this file, bit7z-v4.0.8-gcc9.4.0_x64, to the same folder to the file that I am going to work with, along with 7z.dll and 7za.dll from 7z2408-extra.7z.
I make an attempt to make it run this code:
And when I try to compile it, it shows this:
For more information if you want:
Application for programming; Dev-C++ 5.11
Along with:
Folder that I am working on:
Which inside bit7z folder is all hpp.
Please assist me to get out of this problem so I can program it.
Feature Suggestion (Only for reading):
Implement multi-layered compressed files support. For example able to extract the .txt file in this situation: File.txt.xz.xz.xz or File.txt.xz.7z, etc without decompressing layer by layer. Better: A type of archive just like fstream which don't load up too much in memory and can be directly extracted or done for various things.
Able to read byte by byte (recommended an integer number of bytes) inside compressed files without decompressing to buffer or drive, and without memory overloading. (For example: the .dat.xz.xz is 2 MB, dat.xz is 2 GB and the .dat is 2 TB, and the memory must not be 2 GB just to load .dat.xz to to the buffer just to able to read byte by byte inside contents.)
If already implemented, explain how to do.
The text was updated successfully, but these errors were encountered: