zl程序教程

您现在的位置是:首页 >  工具

当前栏目

vs编译BZip2

vs 编译
2023-09-14 09:07:10 时间

一下载源码

https://sourceforge.net/projects/bzip2/files/latest/download

二打开VS命令行工具

在这里插入图片描述

三输入命令

nmake -f makefile.msc

四结果

在这里插入图片描述

HOW TO BUILD -- Windows 95, NT, DOS, Mac, etc.

It's difficult for me to support compilation on all these platforms.
My approach is to collect binaries for these platforms, and put them
on the master web site (http://www.bzip.org).  Look there.  However
(FWIW), bzip2-1.0.X is very standard ANSI C and should compile
unmodified with MS Visual C.  If you have difficulties building, you
might want to read README.COMPILATION.PROBLEMS.

At least using MS Visual C++ 6, you can build from the unmodified
sources by issuing, in a command shell: 

   nmake -f makefile.msc

(you may need to first run the MSVC-provided script VCVARS32.BAT
 so as to set up paths to the MSVC tools correctly).