其他分享
首页 > 其他分享> > vs编译BZip2

vs编译BZip2

作者:互联网

一下载源码

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).

标签:BZip2,platforms,unmodified,makefile,编译,Visual,vs,MS,msc
来源: https://blog.csdn.net/qq_45662588/article/details/122575075