Please recommend a C++ compression (zip) library for a commercial, closed-source application. So, not a GPL license.
This is for my day job...
Please recommend a C++ compression (zip) library for a commercial, closed-source application. So, not a GPL license.
This is for my day job...
7 Zip is LGPL, meaning so long as you treat it like a 3rd-party library, your usage of it is fine in a closed-source app.
I know you said C++, but zlib is a very permissively licensed C library that you could use directly from a C++ app.
If I recall correctly, there are various "iostream-like" wrappers around zlib available, too.
libbzip2 is BSD-licensed and should compress better, although slower, than zlib.