author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Tue, 06 Jul 2010 15:10:48 +0300 | |
changeset 30 | 5dc02b23752f |
parent 0 | 1918ee327afb |
permissions | -rw-r--r-- |
0 | 1 |
Microsoft Developer Studio Project File, Format Version 7.10 for libpng. |
2 |
||
3 |
Copyright (C) 2004 Simon-Pierre Cadieux. |
|
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
4 |
|
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
5 |
This code is released under the libpng license. |
0 | 6 |
For conditions of distribution and use, see copyright notice in png.h |
7 |
||
8 |
Assumptions: |
|
9 |
* The libpng source files are in ..\.. |
|
10 |
* The zlib source files are in ..\..\..\zlib |
|
11 |
* The zlib project file is in . /* Warning: This is until the zlib project |
|
12 |
files get intergrated into the next zlib release. The final zlib project |
|
13 |
directory will then be ..\..\..\zlib\projects\visualc71. */ |
|
14 |
||
15 |
To use: |
|
16 |
||
17 |
1) On the main menu, select "File | Open Solution". |
|
18 |
Open "libpng.sln". |
|
19 |
||
20 |
2) Display the Solution Explorer view (Ctrl+Alt+L) |
|
21 |
||
22 |
3) Set one of the project as the StartUp project. If you just want to build the |
|
23 |
binaries set "libpng" as the startup project (Select "libpng" tree view |
|
24 |
item + Project | Set as StartUp project). If you want to build and test the |
|
25 |
binaries set it to "pngtest" (Select "pngtest" tree view item + |
|
26 |
Project | Set as StartUp project) |
|
27 |
||
28 |
4) Select "Build | Configuration Manager...". |
|
29 |
Choose the configuration you wish to build. |
|
30 |
||
31 |
5) Select "Build | Clean Solution". |
|
32 |
||
33 |
6) Select "Build | Build Solution (Ctrl-Shift-B)" |
|
34 |
||
35 |
This project builds the libpng binaries as follows: |
|
36 |
||
30
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
37 |
* Win32_DLL_Release\libpng14.dll DLL build |
5dc02b23752f
Revision: 201025
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
38 |
* 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
|
39 |
* Win32_DLL_VB\libpng14vb.dll DLL build for Visual Basic, using stdcall |
0 | 40 |
* Win32_LIB_Release\libpng.lib static build |
41 |
* Win32_LIB_Debug\libpngd.lib static build (debug version) |
|
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 |
MSVCR71.DLL (MSVCR71D.DLL for debug versions). If you distribute any of the |
|
53 |
above mentioned libraries you may have to include this DLL in your package. |
|
54 |
For a list of files that are redistributable in Visual Studio see |
|
55 |
$(VCINSTALLDIR)\redist.txt. |