Imported Upstream version 1.2.50
[platform/upstream/libpng.git] / projects / visualc6 / README.txt
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 Assumptions:
8 * The libpng source files are in ..\..
9 * The zlib source files are in ..\..\..\zlib
10 * The zlib project files are in ..\..\..\zlib\projects\visualc6
11
12 To use:
13
14 1) On the main menu, select "File | Open Workspace".
15    Open "libpng.dsw".
16
17 2) Select "Build | Set Active Configuration".
18    Choose the configuration you wish to build.
19    (Choose libpng or pngtest; zlib will be built automatically.)
20
21 3) Select "Build | Clean".
22
23 4) Select "Build | Build ... (F7)".  Ignore warning messages about
24    not being able to find certain include files (e.g. alloc.h).
25
26 5) If you built the sample program (pngtest),
27    select "Build | Execute ... (Ctrl+F5)".
28
29 This project builds the libpng binaries as follows:
30
31 * Win32_DLL_Release\libpng13.dll      DLL build
32 * Win32_DLL_Debug\libpng13d.dll       DLL build (debug version)
33 * Win32_DLL_ASM_Release\libpng13.dll  DLL build using ASM code
34 * Win32_DLL_ASM_Debug\libpng13d.dll   DLL build using ASM (debug version)
35 * Win32_DLL_VB\libpng13vb.dll         DLL build for Visual Basic, using stdcall
36 * Win32_LIB_Release\libpng.lib        static build
37 * Win32_LIB_Debug\libpngd.lib         static build (debug version)
38 * Win32_LIB_ASM_Release\libpng.lib    static build using ASM code
39 * Win32_LIB_ASM_Debug\libpngd.lib     static build using ASM (debug version)
40
41 Notes:
42
43 If you change anything in the source files, or select different compiler
44 settings, please change the DLL name to something different than any of
45 the above names. Also, make sure that in your "pngusr.h" you define
46 PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the
47 instructions provided in "pngconf.h".
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.