|
fukasawa |
e60969 |
Microsoft Developer Studio Project File, Format Version 7.10 for libpng.
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
Copyright (C) 2004 Simon-Pierre Cadieux.
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
This code is released under the libpng license.
|
|
fukasawa |
e60969 |
For conditions of distribution and use, see copyright notice in png.h
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
NOTE: This project will be removed from libpng-1.5.0. It has
|
|
fukasawa |
e60969 |
been replaced with the "vstudio" project.
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
Assumptions:
|
|
fukasawa |
e60969 |
* The libpng source files are in ..\..
|
|
fukasawa |
e60969 |
* The zlib source files are in ..\..\..\zlib
|
|
fukasawa |
e60969 |
* The zlib project file is in . /* Warning: This is until the zlib project
|
|
fukasawa |
e60969 |
files get intergrated into the next zlib release. The final zlib project
|
|
fukasawa |
e60969 |
directory will then be ..\..\..\zlib\projects\visualc71. */
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
To use:
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
1) On the main menu, select "File | Open Solution".
|
|
fukasawa |
e60969 |
Open "libpng.sln".
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
2) Display the Solution Explorer view (Ctrl+Alt+L)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
3) Set one of the project as the StartUp project. If you just want to build the
|
|
fukasawa |
e60969 |
binaries set "libpng" as the startup project (Select "libpng" tree view
|
|
fukasawa |
e60969 |
item + Project | Set as StartUp project). If you want to build and test the
|
|
fukasawa |
e60969 |
binaries set it to "pngtest" (Select "pngtest" tree view item +
|
|
fukasawa |
e60969 |
Project | Set as StartUp project)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
4) Select "Build | Configuration Manager...".
|
|
fukasawa |
e60969 |
Choose the configuration you wish to build.
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
5) Select "Build | Clean Solution".
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
6) Select "Build | Build Solution (Ctrl-Shift-B)"
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
This project builds the libpng binaries as follows:
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
* Win32_DLL_Release\libpng16.dll DLL build
|
|
fukasawa |
e60969 |
* Win32_DLL_Debug\libpng16d.dll DLL build (debug version)
|
|
fukasawa |
e60969 |
* Win32_DLL_VB\libpng16vb.dll DLL build for Visual Basic, using stdcall
|
|
fukasawa |
e60969 |
* Win32_LIB_Release\libpng.lib static build
|
|
fukasawa |
e60969 |
* Win32_LIB_Debug\libpngd.lib static build (debug version)
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
Notes:
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
If you change anything in the source files, or select different compiler
|
|
fukasawa |
e60969 |
settings, please change the DLL name to something different than any of
|
|
fukasawa |
e60969 |
the above names. Also, make sure that in your "pngusr.h" you define
|
|
fukasawa |
e60969 |
PNG_USER_PRIVATEBUILD and PNG_USER_DLLFNAME_POSTFIX according to the
|
|
fukasawa |
e60969 |
instructions provided in "pngconf.h".
|
|
fukasawa |
e60969 |
|
|
fukasawa |
e60969 |
All DLLs built by this project use the Microsoft dynamic C runtime library
|
|
fukasawa |
e60969 |
MSVCR71.DLL (MSVCR71D.DLL for debug versions). If you distribute any of the
|
|
fukasawa |
e60969 |
above mentioned libraries you may have to include this DLL in your package.
|
|
fukasawa |
e60969 |
For a list of files that are redistributable in Visual Studio see
|
|
fukasawa |
e60969 |
$(VCINSTALLDIR)\redist.txt.
|