Skip to content

Requirements

Riccardo edited this page Aug 6, 2023 · 13 revisions

To use the library within your project, you need:

  • Target Operating System: Windows, Linux, macOS, Android[^1].
  • Architecture: x86, x86_64, arm, arm64.
  • Language Standard: C++11 (for using the library), C++14 (for building the library).
  • 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 or 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