| 1 |
Microsoft Developer Studio Project File, Format Version 6.00 for libpng. |
| 2 |
|
| 3 |
Copyright (C) 2000-2004 Simon-Pierre Cadieux. |
| 4 |
Copyright (C) 2004 Cosmin Truta. |
| 5 |
For conditions of distribution and use, see copyright notice in png.h |
| 6 |
|
| 7 |
|
| 8 |
Assumptions: |
| 9 |
* The libpng source files are in ..\.. |
| 10 |
* The zlib source files are in ..\..\..\zlib |
| 11 |
* The zlib project files are in ..\..\..\zlib\projects\visualc6 |
| 12 |
|
| 13 |
|
| 14 |
To use: |
| 15 |
|
| 16 |
1) On the main menu, select "File | Open Workspace". |
| 17 |
Open "libpng.dsw". |
| 18 |
|
| 19 |
2) Select "Build | Set Active Configuration". |
| 20 |
Choose the configuration you wish to build. |
| 21 |
(Choose libpng or pngtest; zlib will be built automatically.) |
| 22 |
|
| 23 |
3) Select "Build | Clean". |
| 24 |
|
| 25 |
4) Select "Build | Build ... (F7)". Ignore warning messages about |
| 26 |
not being able to find certain include files (e.g. alloc.h). |
| 27 |
|
| 28 |
5) If you built the sample program (pngtest), |
| 29 |
select "Build | Execute ... (Ctrl+F5)". |
| 30 |
|
| 31 |
|
| 32 |
This project builds the libpng binaries as follows: |
| 33 |
|
| 34 |
* Win32_DLL_Release\libpng13.dll DLL build |
| 35 |
* Win32_DLL_Debug\libpng13d.dll DLL build (debug version) |
| 36 |
* Win32_DLL_ASM_Release\libpng13.dll DLL build using ASM code |
| 37 |
* Win32_DLL_ASM_Debug\libpng13d.dll DLL build using ASM (debug version) |
| 38 |
* Win32_DLL_VB\libpng13vb.dll DLL build for Visual Basic, using stdcall |
| 39 |
* Win32_LIB_Release\libpng.lib static build |
| 40 |
* Win32_LIB_Debug\libpngd.lib static build (debug version) |
| 41 |
* Win32_LIB_ASM_Release\libpng.lib static build using ASM code |
| 42 |
* Win32_LIB_ASM_Debug\libpngd.lib static build using ASM (debug version) |
| 43 |
|
| 44 |
|
| 45 |
Notes: |
| 46 |
|
| 47 |
If you change anything in the source files, or select different compiler |
| 48 |
settings, please change the DLL name to something different than any of |
| 49 |
the above names. Also, make sure that in your "pngusr.h" you define |
| 50 |
PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the |
| 51 |
instructions provided in "pngconf.h". |
| 52 |
|
| 53 |
All DLLs built by this project use the Microsoft dynamic C runtime library |
| 54 |
MSVCRT.DLL (MSVCRTD.DLL for debug versions). If you distribute any of the |
| 55 |
above mentioned libraries you should also include this DLL in your package. |
| 56 |
For a list of files that are redistributable in Visual C++ 6.0, see |
| 57 |
Common\Redist\Redist.txt on Disc 1 of the Visual C++ 6.0 product CDs. |