Build Zlib1.dll under Windows

Source: Internet
Author: User

First, raw materials:

Vc

Zlib-1.2.3-src.zip

Second, decompression zlib-1.2.3-src.zip, with VC Open work space

Src/zlib/1.2.3/zlib-1.2.3/projects/visualc6/zlib.dsw

Remember to switch to "fileview" on the left.

Iii. formation / configuration / removal / selectionof all strips with "ASM"Win32 LIB Debug"/ close

Four

①zlib files/header files/zconf.h:

Change #if 1 to #if 0

②zlib files/source files/gzio.h:

Change 0LL to 0L

Five

Build / build, if displayed 0 error (s), 0 warning (s)

You can

Src/zlib/1.2.3/zlib-1.2.3/projects/visualc6/win32_dll_release can find zlib1.lib, Zlib1.dll

Six

Zlib.h and zconf.h found it in /src/zlib/1.2.3/zlib-1.2.3 .

Build Zlib1.dll under Windows

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.