zlib compilation

1. Download zlib library

http://zlib.net/


http://zlib.net/zlib-1.2.11.tar.gz


2.

Unzip the file downloaded to the following directory

E:\osg\zlib\zlib-1.2.11


3.

Open with VS2019

E:\osg\zlib\zlib-1.2.11\contrib\vstudio\vc14\zlibvc.sln

file


4. Modify the compilation type

image


5. Modify "to generate pre-event," the command line

image


It read:

image


E:
cd E:\osg\zlib\zlib-1.2.11\contrib\masmx64
bld_ml64.bat


image


6. Compile

image

Guess you like

Origin www.cnblogs.com/gispathfinder/p/12151725.html