author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Wed, 18 Aug 2010 10:37:55 +0300 | |
changeset 33 | 3e2da88830cd |
parent 30 | 5dc02b23752f |
permissions | -rw-r--r-- |
0 | 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. |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
5 |
|
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
6 |
This code is released under the libpng license. |
0 | 7 |
For conditions of distribution and use, see copyright notice in png.h |
8 |
||
9 |
||
10 |
Assumptions: |
|
11 |
* The libpng source files are in ..\.. |
|
12 |
* The zlib source files are in ..\..\..\zlib |
|
13 |
* The zlib project files are in ..\..\..\zlib\projects\visualc6 |
|
14 |
||
15 |
||
16 |
To use: |
|
17 |
||
18 |
1) On the main menu, select "File | Open Workspace". |
|
19 |
Open "libpng.dsw". |
|
20 |
||
21 |
2) Select "Build | Set Active Configuration". |
|
22 |
Choose the configuration you wish to build. |
|
23 |
(Choose libpng or pngtest; zlib will be built automatically.) |
|
24 |
||
25 |
3) Select "Build | Clean". |
|
26 |
||
27 |
4) Select "Build | Build ... (F7)". Ignore warning messages about |
|
28 |
not being able to find certain include files (e.g. alloc.h). |
|
29 |
||
30 |
5) If you built the sample program (pngtest), |
|
31 |
select "Build | Execute ... (Ctrl+F5)". |
|
32 |
||
33 |
||
34 |
This project builds the libpng binaries as follows: |
|
35 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
36 |
* Win32_DLL_Release\libpng14.dll DLL build |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
37 |
* Win32_DLL_Debug\libpng14d.dll DLL build (debug version) |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
38 |
* Win32_DLL_VB\libpng14vb.dll DLL build for Visual Basic, using stdcall |
0 | 39 |
* Win32_LIB_Release\libpng.lib static build |
40 |
* Win32_LIB_Debug\libpngd.lib static build (debug version) |
|
41 |
||
42 |
||
43 |
Notes: |
|
44 |
||
45 |
If you change anything in the source files, or select different compiler |
|
46 |
settings, please change the DLL name to something different than any of |
|
47 |
the above names. Also, make sure that in your "pngusr.h" you define |
|
48 |
PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the |
|
49 |
instructions provided in "pngconf.h". |
|
50 |
||
51 |
All DLLs built by this project use the Microsoft dynamic C runtime library |
|
52 |
MSVCRT.DLL (MSVCRTD.DLL for debug versions). If you distribute any of the |
|
53 |
above mentioned libraries you should also include this DLL in your package. |
|
54 |
For a list of files that are redistributable in Visual C++ 6.0, see |
|
55 |
Common\Redist\Redist.txt on Disc 1 of the Visual C++ 6.0 product CDs. |