[OSM-dev] Perl/GD problems
Brent Easton
b.easton at exemail.com.au
Fri Aug 3 02:07:30 BST 2007
I have got the oceantiles.pl running through no problems, but have run into some problems with lowzoom.pl that look like they may be version related.
I am getting errors like
Usage: GD::Image::new(packname="GD::Image", x=64, y=64) at lowzoom.pl line 96.
Line 96 of lowzoom.pl is
my $BlackTileImage = new GD::Image(256,256, 1);
Changing this to
my $BlackTileImage = new GD::Image(256,256);
fixes the problem. The third argument is suppose to be a 'truecolor' parameter, but my GD doesn't want to know about it.
My config is:
ActiveState Perl 5.6.1
GD 2.06 (installed by ppm install GD)
Questions:
Any other Windows users got this working?
Are you using ActiveState Perl or some other perl?
Which version of ActiveState -5.6.1 or 5.8?
What version of GD do you have installed?
What version of GD is required? I see the latest is 2.35 which does seem to have the truecolor argument in the doco?
How do I/Can I/Do I need to install GD 2.35?
TIA,
Brent.
____________________________________________________________
Brent Easton
Analyst/Programmer
University of Western Sydney
Email: b.easton at uws.edu.au
More information about the dev
mailing list