VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.8/projects/cbuilder5/libpng.readme.txt@ 19551

Last change on this file since 19551 was 6395, checked in by vboxsync, 17 years ago

export libpng and zlib so Windows and OS/2 build cleanly.

  • Property svn:eol-style set to native
File size: 911 bytes
Line 
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.
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette