Question

I'm working on a commercial project that requires a couple of files to be bundled (packed) into an archive and then compressed. Right now we have zlib in our utility library, but it doesn't look like zlib has the functionality to compress multiple files into one archive. Does anyone know of free libraries I'd be able to use for this?

Was it helpful?

Solution

Perhaps libtar? Also under a BSD license.

OTHER TIPS

7Zip has a full SDK for several languages including C and C++. The compression is extremely good, albeit not very fast. The code is licensed under the LGPL.

You could use libzip - it's under a BSD-like licence so it should be usable in a commercial project.

To compress multiple files into one zip archive you could use Zipios++

Also have a look at bzip2.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top