c:build:build-zlib-statically-on-windows-vs2017
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| c:build:build-zlib-statically-on-windows-vs2017 [2019/08/13 17:20] – created odefta | c:build:build-zlib-statically-on-windows-vs2017 [2023/07/04 16:36] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Build zlib statically on Windows using Visual Studio 2017 ====== | ====== Build zlib statically on Windows using Visual Studio 2017 ====== | ||
| - | 1. Download zlib from [[http:// | + | - Download zlib from [[http:// |
| - | + | | |
| - | 2. Unzip archive in a folder (C:\zlib) | + | |
| - | + | | |
| - | 2. Open ' | + | - **nmake /f win32/ |
| - | Click on the cmd (evetually right click on it and choose 'Run as administrator' | + | |
| - | + | ||
| - | 3. cd C:\zlib | + | |
| - | + | ||
| - | 4. nmake /f win32/ | + | |
| Output: | Output: | ||
| - | |||
| < | < | ||
| Microsoft (R) Program Maintenance Utility Version 14.16.27032.1 | Microsoft (R) Program Maintenance Utility Version 14.16.27032.1 | ||
| Line 70: | Line 63: | ||
| </ | </ | ||
| - | 5. The output | + | ===== Output |
| - | - zlib.lib and zlib.pdb - static library lib and pdb | + | The output files are: |
| - | - zdll.lib, zlib1.dll and zlib1.pdb - for dynamic linking - lib, dll and pdb | + | * **zlib.lib and zlib.pdb - static library lib and pdb** |
| + | | ||
| - | 6. Use zlib.lib and zlib.h in your project. | + | **Use zlib.lib and zlib.h in your project.** |
c/build/build-zlib-statically-on-windows-vs2017.1565716852.txt.gz · Last modified: (external edit)
