~oif-team/ubuntu/natty/qt4-x11/xi2.1

« back to all changes in this revision

Viewing changes to src/3rdparty/libpng/projects/cbuilder5/libpng.readme.txt

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-08-24 04:09:09 UTC
  • Revision ID: james.westby@ubuntu.com-20050824040909-xmxe9jfr4a0w5671
Tags: upstream-4.0.0
ImportĀ upstreamĀ versionĀ 4.0.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Project files to build libpng using Borland C++ Builder v5.0
 
2
 
 
3
In order to build and use libpng, please follow these steps:
 
4
 
 
5
 1). Install zlib in a directory at the same level with libpng.
 
6
 
 
7
 2). In a console window, go to the zlib directory and type:
 
8
       make -f win32\Makefile.bor
 
9
     After performing this step, you should have a file named
 
10
     zlib.lib in the zlib directory.
 
11
 
 
12
 3). Add the following conditional define to your project:
 
13
       PNG_USE_DLL
 
14
 
 
15
 4). Add libpng.lib or libpngstat.lib to the project.
 
16
     Build the project.
 
17
 
 
18
 5). If the build fails, add the paths to png.h and zlib.h to
 
19
     your include path, and restart the build.
 
20
 
 
21
By default, the libpng project uses zlib as a static library.  If
 
22
you wish to use zlib as a DLL, please read the important notes from
 
23
the zlib DLL FAQ, found inside the zlib distribution.
 
24
 
 
25
See the libpng documentation for instructions on how to use the code.