lh | 9ed821d | 2023-04-07 01:36:19 -0700 | [diff] [blame] | 1 | Microsoft Developer Studio Build File, Format Version 6.00 for |
| 2 | libpng 1.2.5 (October 3, 2002) and zlib |
| 3 | |
| 4 | Copyright (C) 2000 Simon-Pierre Cadieux |
| 5 | For conditions of distribution and use, see copyright notice in png.h |
| 6 | |
| 7 | Assumes that libpng sources are in ..\.. |
| 8 | Assumes that zlib sources have been copied to ..\..\..\zlib |
| 9 | |
| 10 | To build: |
| 11 | |
| 12 | 0) On the main menu, select "File | Open Workspace" and then |
| 13 | select "libpng.dsw". |
| 14 | |
| 15 | 1) On the main menu Select "Build | Set Active configuration". |
| 16 | Among the configurations beginning with "libpng" select the |
| 17 | one you wish to build (the corresponding "zlib" configuration |
| 18 | will be built automatically). |
| 19 | |
| 20 | 2) Select "Build | Clean" |
| 21 | |
| 22 | 3) Select "Build | Rebuild All". Ignore warning messages about |
| 23 | not being able to find certain include files (e.g., m68881.h, |
| 24 | alloc.h). |
| 25 | |
| 26 | 4) Look in the appropriate "win32" subdirectories for both "zlib" |
| 27 | and "libpng" binaries. |
| 28 | |
| 29 | This project will build the PNG Development Group's "official" versions of |
| 30 | libpng and zlib libraries: |
| 31 | |
| 32 | libpng13.dll (default version, currently C code only) |
| 33 | libpng13a.dll (C + Assembler version) |
| 34 | libpng13b.dll (C + Assembler debug version) |
| 35 | libpng13d.dll (C code debug version) |
| 36 | libpng13vb.dll (version for VB, uses "stdcall" protocol) |
| 37 | libpng13[c,e-m].dll (reserved for official versions) |
| 38 | libpng13[n-z].dll (available for private versions) |
| 39 | zlib.dll (default version, currently C code only) |
| 40 | zlibd.dll (debug version) |
| 41 | zlibvb.dll (version for Visual Basic, uses "stdcall" protocol) |
| 42 | |
| 43 | If you change anything in libpng, or select different compiler settings, |
| 44 | please change the library name to an unreserved name, and define |
| 45 | DLLFNAME_POSTFIX and (PRIVATEBUILD or SPECIALBUILD) accordingly. DLLFNAME_POSTFIX |
| 46 | should correspond to a string in the range of "N" to "Z" depending on the letter |
| 47 | you choose for your private version. |
| 48 | |
| 49 | All DLLs built by this project use the Microsoft dynamic C runtime library |
| 50 | MSVCRT.DLL (MSVCRTD.DLL for debug versions). If you distribute any of the |
| 51 | above mentioned libraries you should also include this DLL in your package. |
| 52 | For a list of files that are redistributable in Visual C++ 6.0, see |
| 53 | Common\Redist\Redist.txt on Disc 1 of the Visual C++ 6.0 product CDs. |
| 54 | |
| 55 | 5) For an example workspace that builds an application using the resulting |
| 56 | DLLs, go to Libpng's contrib\msvctest directory and use it to build |
| 57 | and run "pngtest". |