On 22/04/07, <b class="gmail_sendername">Kristian Thy</b> <<a href="mailto:thy@42.dk">thy@42.dk</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Sun, Apr 22, Hansen wrote:<br>> thank you for your help. 7-Zip is now working perfect! I only added<br>> "Zip=C:\7-Zip\7z.exe" to the tileAtHome.conf. But then I have two other<br>> problems. One is "pngcrush"
<br><br>As far as I can tell pngcrush isn't mandatory, but you can just dump the<br>exe file from<br><a href="http://mesh.dl.sourceforge.net/sourceforge/pmt/pngcrush-1.6.4-win32.zip">http://mesh.dl.sourceforge.net/sourceforge/pmt/pngcrush-1.6.4-win32.zip
</a><br>into your t@h folder to get it working. I also had to change line 802 in<br>tilesGen.pl from<br><br> my $Cmd = sprintf("%s ./lines2curves.pl %s > %s",<br><br>to<br><br> my $Cmd = sprintf("%s perl
lines2curves.pl %s > %s",<br><br>in order to get t@h running.</blockquote><div><br><br>I use the $Bin variable in here to fix mine... <br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> and the other one is "GD::Image".<br><br>I think I installed this using the ActiveState PPM, but I can't remember<br>to be honest :) At any rate, I still get a lot of errors as well:</blockquote><div><br>
I got this using ppm too... <br><br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">This is version 2610 (Frederikssund) of tilesgen running on MSWin32
<br>[#1 0% jobinit] Doing tileset 2185,1274 (area around 56.047421,12.084961)<br>[#1 0% default] Beziercurvehinting zoom level 12... ERROR<br> The following command produced an error message:<br> perl lines2curves.pl
c:\temp\osm\output-3408-z12.svg-temp.svg > c:\temp\osm\output-3408-z12.svg<br> Debug output follows:<br> | "terse" is not defined in %Math::Vec::EXPORT_TAGS at lines2curves.pl line 47<br> | main::BEGIN() called at C:/Perl/site/lib/Math/Vec.pm line 47
<br> | eval {...} called at C:/Perl/site/lib/Math/Vec.pm line 47<br> | Can't continue after import errors at lines2curves.pl line 47<br> | BEGIN failed--compilation aborted at lines2curves.pl line 47.<br>[#1 0% default] Error on Bezier Curve hinting, rendering without bezier curves
<br><br>I get this for each zoom layer; it's rendered to SVG but without<br>Beziers. Then, when it comes to doing the PNGs:</blockquote><div><br><br>That's fixable by installing a more recent Math::Vec from <a href="http://theoryx5.uwinnipeg.ca/ppms/" title="http://theoryx5.uwinnipeg.ca/ppms/">
http://theoryx5.uwinnipeg.ca/ppms/</a><br>(add this as a repository in the ppm tool) </div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
[#1 0% default] Splitting c:\temp\osm\/3408.png_part (1 x 1)... Can't<br>use an undefined value as a symbol reference at C:/Perl/site/lib/GD/Image.pm<br>line 175.<br><br>... at which point it stops.</blockquote><div>
<br>What version of GD do you have installed? <br></div><br>d</div><br>