QuantumDepth in Perl doesn't work anymore
Posted: 2009-11-02T18:35:21-07:00
I recently installed 6.5.7-3 from a binary release (Win32 Dynamic Q16). I previously had 6.5.3-?. I run my code and now get the following error. Note, I'm not the original creator of the code so I'm not sure everything that goes on in the code. I'm trying to run a Perl script and it bugs out with the error:
It looks like its just a Image::Magick object calling QuantumDepth, I don't see the problem.
Now that I've uninstalled 6.5.3, I cannot go back as I don't have the binary install file and I've tried for days to get a source installation to work.
On the line it errors out:Error wrote:C:\CVS\spopt\bin>generateCharts.pl C:\CVS\spopt\cfg\ghm.cfg
reading C:/CVS/spopt/bin/../assets/gamefiles/GuitarHeroMetallica/x360/aceofspades.mid.qb
Generating blank chart for ghm:aceofspades.mid.qbexpert
Your vendor has not defined PerlMagick macro Spopt::SongPainter::QuantumDepth, used at C:/CVS/spopt/bin/../lib/Spopt/SongPainter.pm line 731.
Code: Select all
728: my $x = $PIXEL_WIDTH;
729: my $y = $self->{_numrows} * $PIXELS_PER_SINGLE_ROW + $HEADER_PIXELS + $FOOTER_MARGIN_PIXELS + $FOOTER_PIXELS;
730: my $im = Image::Magick->new(size=>"${x}x$y");
731: $QUANTUM_DEPTH = $im->QuantumDepth;
Now that I've uninstalled 6.5.3, I cannot go back as I don't have the binary install file and I've tried for days to get a source installation to work.