Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/horta/zlib.install
ZLIB installer for Windows.
https://github.com/horta/zlib.install
zip zlib
Last synced: about 2 months ago
JSON representation
ZLIB installer for Windows.
- Host: GitHub
- URL: https://github.com/horta/zlib.install
- Owner: horta
- License: mit
- Created: 2018-01-15T18:37:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2024-05-12T09:28:09.000Z (4 months ago)
- Last Synced: 2024-06-09T15:47:25.400Z (4 months ago)
- Topics: zip, zlib
- Language: Batchfile
- Homepage:
- Size: 37.1 KB
- Stars: 80
- Watchers: 3
- Forks: 22
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# zlib.install
Windows one-line installer for zlib library.
# Usage
Open your command prompt as Administrator and enter
```
powershell -Command "(Invoke-WebRequest -Uri https://git.io/JnHTY -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat
```It will by default build a 64-bits library.
Set the environment variable ARCH to Win32 before-hand otherwise:```
set ARCH=Win32
powershell -Command "(Invoke-WebRequest -Uri https://git.io/JnHTY -OutFile install_zlib.bat)"; ./install_zlib.bat; del install_zlib.bat
```# Requirements
- Install Visual Studio with C++. Make sure to select Desktop Development with C++ while doing so.
- Make sure you have CMake: https://cmake.org/download/
- Make sure you have PowerShell: https://duckduckgo.com/?q=install+powershell+on+windowsThe video https://www.youtube.com/watch?v=IsAoIqnNia4 presents a step-by-step tutorial
on how to install Visual Studio with support for C++.# Uninstall
**!! BE CAREFUL! MAKE SURE YOU UNDERSTAND IT. !!**
Open your command prompt as Administrator and enter
```
rd /s /q "%PROGRAMFILES%"\zlib
rd /s /q "%PROGRAMFILES(X86)%\zlib"
```