Mercurial > fife-parpg
comparison ext/libpng-1.2.29/projects/cbuilder5/libpng.readme.txt @ 0:4a0efb7baf70
* Datasets becomes the new trunk and retires after that :-)
author | mvbarracuda@33b003aa-7bff-0310-803a-e67f0ece8222 |
---|---|
date | Sun, 29 Jun 2008 18:44:17 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:4a0efb7baf70 |
---|---|
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. |