Compiling/using GD
Posted: Wed Mar 12, 2003 4:57 pm
I downloaded PHP-Triad so I can write and run code locally on my machine (Windows). Apparently it doesn't come with GD (doesn't appear on phpinfo() even though php_gd.dll is included) so I guess I need to download and compile it myself.
However, the code does not work. gd.c alone gives me 35 warnings, including using the integer-function abs() on floats, which will of course round the float and produce incorrect results. Horrible code. I'm using VC++ 6.0 by the way.
So my question is, how can I get GD working?
However, the code does not work. gd.c alone gives me 35 warnings, including using the integer-function abs() on floats, which will of course round the float and produce incorrect results. Horrible code. I'm using VC++ 6.0 by the way.
So my question is, how can I get GD working?