problem building php_gd.dll
| From: | Cynic | Date: | Sun, 14 Jan 2001 00:18:31 +0000 |
| Subject: | problem building php_gd.dll | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-34428@lists.php.net to get a copy of this message | ||
I'v run into a wall when trying to build php_gd.dll.
I have built gd.lib (gd-1.8.3) with PNG support (libpng-1.0.8):
% nmake gd.lib /f makefile.nt
and except two warnings, all seemed well:
gd_io.c(145) : warning C4028: formal parameter 2 different from declaration
gdkanji.c(385) : warning C4033: 'do_convert' must return a value
now I entered MSDEV, loaded php_modules.dsw, added the gd
directory to lib and include paths, and built php_gd.dll.
This resulted in two errors:
(...)\ext\gd\gd.c(729) : error C2065: 'gdImageCreateFromPng' : undeclared identifier
(...)\ext\gd\gd.c(875) : error C2065: 'gdImagePng' : undeclared identifier
I'm stuck.
____________________________________________________________
Cynic:
A member of a group of ancient Greek philosophers who taught
that virtue constitutes happiness and that self control is
the essential part of virtue.
cynic@mail.cz