Obj zutil.obj inffas圆4.obj gvmat64.obj inffas8664.obj Lib -nologo -out:zlib.lib adler32.obj compress.obj crc32.obj deflate.obj gzclose.obj gzlib.obj gzread.obj gzwrite.obj infback.obj inflate.obj inftrees.obj inffast.obj trees.obj uncompr. Note that if you fill the system environment variable, or do not copy the Vc\bin\amd64\ml64.exe to the root directory, run compiled makefile some of the necessary 32-bit obj after the error will stop as follows Then, in the command line, enter E: Jump to the E-disk, enter the CD E:\zlib128\zlib-1.2.8 to the root directory, enter nmake-f win32/makefile.msc as=ml64 loc= "-dasmv-dasminf-i." Obja= "Inffas圆4.obj gvmat64.obj inffas8664.obj", the program will run up,Īt this point, the compilation has been completed, the root directory will appear related to the result file zlib.lib,zlib1.dll,zlib.pdb and so on.
![mysql for visual studio 1.2.8 mysql for visual studio 1.2.8](https://img2018.cnblogs.com/blog/1161656/201909/1161656-20190912103553008-613685061.png)
# nmake -f win32/Makefile.msc AS=ml64 LOC="-DASMV -DASMINF -I." # OBJA="inffas圆4.obj gvmat64.obj inffas8664.obj" (use ASM code, 圆4) # nmake -f win32/Makefile.msc LOC="-DASMV -DASMINF" # OBJA="inffas32.obj match686.obj" (use ASM code, x86) # nmake -f win32/Makefile.msc LOC=-DFOO (nonstandard build) # nmake -f win32/Makefile.msc (standard build) Next, look at the contents of the file, at the beginning of the comment there is a way to compile Inffas圆4.obj: $(TOP)/contrib\masm圆4\inffas圆4.asm
![mysql for visual studio 1.2.8 mysql for visual studio 1.2.8](https://img2018.cnblogs.com/blog/1161656/201909/1161656-20190912103711975-614720429.png)
Some of the other tutorials are redundant because the following content in the file automatically looks for the relevant file, generating the corresponding obj file
![mysql for visual studio 1.2.8 mysql for visual studio 1.2.8](https://i.stack.imgur.com/3GDmM.png)
Opening the file with EditPad can be seen as follows: Open the Start menu, select the visual Studio (available after Visual Studio), select VS2015 圆4 Native Tools Command Prompt (VS2015 圆4 Local command-line tools), ( note here, many tutorials need to use this tool to zlib-1.2.8 contrib/masm圆4 below to execute Bld_ml64.bat build inffas圆4.obj files, in fact these steps are redundant, you can notice that zlib-1.2.8 root directory has a corpus love your home for Win32, this is the key to compile, open inside there is a file for Makefile.msc, this is NMAKE need to use the Makefile. Almost all the way, 圆4 compilation will be a bit of a pit, in view of the online x86 compile way very much, so no longer cumbersome x86 compilationġ, decompression zlib128.zip, any place can, I decompression in e:\zlib128\zlib-1.2.8,zlib-1.2.8 for the root directoryĢ, in this way, the first need to add the VC directory of Visual Studio into the environment variables of the system, the Advanced system settings (high-level systems setup), at the bottom of advanced, Click enviroment Variable (environment variable), System Variables (systems variable) path, add the corresponding VC directory path (Visual studio does not divide x86 and 圆4, the main part is installed in program Files ( x86) My directory for C:\Program Files (x86) \microsoft Visual Studio 14.0\VC, after adding, log off or restartģ.