Skip to content

Requirements

Oz edited this page Jan 20, 2023 · 13 revisions

In order to use the library within your project you need:

  • Target Operating System: Windows, Linux, macOS[^1].
  • Architecture: x86, x86_64.
  • Compiler: MSVC 2015 or later[^2], MinGW v6.4 or later, GCC v4.9 or later, Clang 3.5 or later.
  • Shared Library: a 7-zip .dll library on Windows, a 7-zip/p7zip .so library on Unix.

bit7z doesn't ship with the 7-zip shared libraries. You can build them from the source code available at 7-zip.org.

[^1]: On Windows, you should link your program also with oleaut32 (e.g., -lbit7z -loleaut32).
On Linux and macOS, you should link your program also with dl (e.g., -lbit7z -ldl).
If you are using the library via CMake, these dependencies will be linked automatically to your project.

[^2]: MSVC 2010 was supported until v2.x, MSVC 2012/2013 until v3.x.

Clone this wiki locally