]> git.saurik.com Git - wxWidgets.git/blame - src/png/projects/cbuilder5/libpng.readme.txt
don't use \u escapes, VC6 doesn't understand them
[wxWidgets.git] / src / png / projects / cbuilder5 / libpng.readme.txt
CommitLineData
0272a10d
VZ
1Project files to build libpng using Borland C++ Builder v5.0
2
3In 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
21By default, the libpng project uses zlib as a static library. If
22you wish to use zlib as a DLL, please read the important notes from
23the zlib DLL FAQ, found inside the zlib distribution.
24
25See the libpng documentation for instructions on how to use the code.