CARVIEW |
Select Language
HTTP/2 200
date: Wed, 23 Jul 2025 08:15:58 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
etag: W/"91a7ddf42ede50652ccd06bc3eb6ff4d"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=ya1djHnRCDyPvHYurnqJIwRNwhsrcuj2aZVynnf4SICtgwUcaKygP7F2OW1LPBkx02HCNuPLQVUskwn%2FzN%2BnzKBlI5ppZ%2Bw06CsbpCyb2w62dPOrVq9Q7kPHXbLbvUt2mY4DKq4RSOR4gE3gsWOjfCNbr1PGuv1KOFllm1Dn38Ck1%2FkHGre1tJGI%2B%2BO7x6%2FrpMILEzPKFQWwJnr%2FNFGomJN89kJBT%2BKDoE2RHINLndZNx3C6YY2JZWp4aPiSWNCmgmv%2BhJBAWh1T9WixQ5QUBA%3D%3D--k4LA7%2FExif09r8n2--evZDKQqh5noeBivH1AxSdg%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.573374856.1753258557; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:15:57 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Thu, 23 Jul 2026 08:15:57 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: C538:2FAFD7:6F23B4:8A4C46:68809A3D
Building the library · rikyoz/bit7z Wiki · GitHub
Skip to content
Navigation Menu
{{ message }}
-
-
Notifications
You must be signed in to change notification settings - Fork 128
Building the library
Oz edited this page Dec 14, 2024
·
36 revisions
- Operating System: Windows, Linux, macOS.
- Compiler: MSVC 2015 or later, MinGW v6.4 or later, GCC v4.9 or later, Clang 3.5 or later.
- Build Automation: CMake v3.11 or later
- Third-party libraries: 7-zip's source code (any version, e.g. v23.01)
Note
- MSVC 2010 was supported until v2.x, MSVC 2012/2013 until v3.x.
- Since the stable v4, the source code of 7-zip is automatically downloaded when configuring/using the bit7z project via CMake; you can specify the version of 7-zip to be used for compiling bit7z by passing the option
BIT7Z_7ZIP_VERSION
to CMake (e.g.,-DBIT7Z_7ZIP_VERSION="22.01"
).- Alternatively, you can manually specify the path to the 7-zip source code using the
BIT7Z_CUSTOM_7ZIP_PATH
CMake option. - You should preferably use the same 7-zip version used to build the shared libraries you are going to employ in your software.
- Alternatively, you can manually specify the path to the 7-zip source code using the
The library can be built using CMake:
cd <bit7z folder>
mkdir build && cd build
cmake ../ -DCMAKE_BUILD_TYPE=Release # Specify other bit7z build options here, e.g., -DBIT7Z_AUTO_FORMAT=ON
cmake --build . -j --config Release
A .lib
/.a
library file will be produced in the <bit7z folder>/lib/<arch>/
folder.
Once built, you can integrate the library in your project by manually link it.
The library is highly customizable; you can find a detailed description of the available build options here.
Documentation for bit7z v4.0.9
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
Copyright © 2014 - 2024 Riccardo Ostani (@rikyoz)
- Bit7zLibrary
- BitArchiveEditor
- BitArchiveReader
- BitArchiveWriter
- BitException
- BitFileCompressor
- BitFileExtractor
- BitMemCompressor
- BitMemExtractor
- BitStreamCompressor
- BitStreamExtractor
- BitInFormat
Clone this wiki locally
You can’t perform that action at this time.