Hi John. I think that the better solution to achieve the
Compilation is to compile under a gcc cross compiler, like gcc
For cygwin. So, go to cygwin.com and download the latest version
Including gcc compiler.
I hope I helped !

Marios

-----Original Message-----
From: John Moeller [mailto:[EMAIL PROTECTED]] 
Sent: Monday, January 14, 2002 7:15 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4

The problem is that the gd support included is only 1.6 (which doesn't
have
JPEG support).  I am having this same problem, but I don't have Visual
C++
to compile a new php_gd.dll (and I would rather just have the binary,
rather
than have to compile it).  Does anyone know how to get a php_gd.dll with
1.8.4?

"Jonathan Hilgeman" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> You should be able to download the PHP4.10 Windows binary with the GD
> extension already compiled in, from PHP's web site.... what else do
you
> need?
>
> - Jonathan
>
> -----Original Message-----
> From: Marc Maniscalco [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, December 20, 2001 1:16 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] windows 2000 + PHP4.10 + gd1.8.4
>
>
> I am trying to use a PHP script called
> jpgraph(http://www.aditus.nu/jpgraph/index.php), but I need GD-1.8.4
> installed first.  I have read through the documentation on the gd web
site
> (http://www.boutell.com/gd/), and I cannot figure it out.  In windows
I do
> not have the slightest idea how to compile the code.  I have Visual
C++
6.0,
> and I have tried to compile it, but it keeps asking for the zlib.h
header
> file.  I do not know enough about the compiler to include new static
> libraries, or dlls.  Is there anyway you guys could make a windows
binary
> for me to use or explain in plain english how to do it?  I am
unfortunately
> not a very good windows programmer.
>
> Here is a list of the files I have donwloaded:
> GD-1.8.4
> PHP-4.10
> JPEG-6B
> ZLIB113
> LIBPNG1011
>
> I know I need the zlib, and libpng libraries inorder to compile gd.
In
the
> libpng they have a project already started, so I opened it and
compiled
the
> code.  It created the .lib for libpng, and zlib.  Now I think I need
the
> dlls? But I'm not sure, and if I do need them I don't have them.  I
added
> the .lib to my library's directory in the ms directory.  I try to
compile
> gd.c and it says it can't find zlib.h.  I then copied zlib.h(and
zconf.h
it
> is included in zlib.h) into the include directory for ms.  Then I get
the
> errors:
>
> gd.obj : error LNK2001: unresolved external symbol _gdCalloc
> gd.obj : error LNK2001: unresolved external symbol _gdMalloc
> gd.obj : error LNK2001: unresolved external symbol _gdFree
> gd.obj : error LNK2001: unresolved external symbol _gdSinT
> gd.obj : error LNK2001: unresolved external symbol _gdCosT
> gd.obj : error LNK2001: unresolved external symbol _gdRealloc
>
> I also get warnings about converting doubles to ints.
>
> I am lost at this point, any help would be appriciated.  I also
figured
that
> someone would have create a binary for GD but I cannot find it.  Why
doesn't
> PHP include support for gd? It would make life easier (for me hahaha).
>
> Thanks for any help,
> Marc Maniscalco
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail:
[EMAIL PROTECTED]



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to