swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] Problems with 64bit RHEL 5


From: Paul Holmes-Higgin
Subject: [Swftools-common] Problems with 64bit RHEL 5
Date: Fri, 26 Sep 2008 17:19:27 +0100

Hi

I'm having problems getting pdf2swf to run or build on an Intel x86_64 machine running RHEL5.

I could not get swftools-2008-09-22-1956.tar.gz to make the PDF2SWF component of SWFtools. I get the following error which seems to be a 64bit issue:
make[1]: Entering directory `/root/swf/swftools-2008-09-22-1956/lib/pdf'
g++ -c -DHAVE_CONFIG_H -I/usr/include/freetype2 -fPIC -fPIC - Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer -I ./ - I xpdf BitmapOutputDev.cc -o BitmapOutputDev.o BitmapOutputDev.cc: In member function ‘GBool BitmapOutputDev::intersection(int, int, int, int)’: BitmapOutputDev.cc:605: error: cast from ‘Guchar*’ to ‘int’ loses precision BitmapOutputDev.cc:605: error: cast from ‘Guchar*’ to ‘int’ loses precision
make[1]: *** [BitmapOutputDev.o] Error 1
make[1]: Leaving directory `/root/swf/swftools-2008-09-22-1956/lib/pdf'
make: *** [libpdf.a] Error 2

For RPM package from DAG and swftools-0.8.1.tar.gz, I successfully make everything, but trying to convert a PDF to a SWF I get the following (which works on a 32bit machine):

pdf2swf -t -T 9 10548.pdf -o 10549.swf
NOTICE  Adding /usr/local/share/swftools/fonts to font directories
...
Pages:        8
Linearized:   no
Encrypted:    no
NOTICE  processing PDF page 1 (421x595:0:0) (move:0:0)
NOTICE  file contains jpeg pictures
NOTICE  processing PDF page 2 (421x595:0:0) (move:0:0)
NOTICE  file contains pbm pictures
NOTICE  processing PDF page 3 (421x595:0:0) (move:0:0)
NOTICE  processing PDF page 4 (421x595:0:0) (move:0:0)
NOTICE  processing PDF page 5 (421x595:0:0) (move:0:0)
NOTICE  processing PDF page 6 (421x595:0:0) (move:0:0)
NOTICE  processing PDF page 7 (421x595:0:0) (move:0:0)
NOTICE  processing PDF page 8 (421x595:0:0) (move:0:0)
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
Warning: Horizontal char position overflow: 45505
Warning: S16 overflow: 45505
Warning: Horizontal char position overflow: 45802
Warning: S16 overflow: 45802
Warning: Horizontal char position overflow: 46153
Warning: S16 overflow: 46153
Warning: Horizontal char position overflow: 46430
Warning: S16 overflow: 46430
Warning: Horizontal char position overflow: 46801
Warning: S16 overflow: 46801
Warning: Horizontal char position overflow: 46919
Warning: S16 overflow: 46919
Warning: Horizontal char position overflow: 47449
Warning: S16 overflow: 47449
Warning: Horizontal char position overflow: 47907
Warning: S16 overflow: 47907
Warning: Horizontal char position overflow: 47538
Warning: S16 overflow: 47538
rfxswf: Warning: num_bits overflow in swf_SetRect
Warning: Horizontal char position overflow: 39816
Warning: S16 overflow: 39816
Warning: Horizontal char position overflow: 41493
Warning: S16 overflow: 41493
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
Warning: Horizontal char position overflow: 32825
Warning: S16 overflow: 32825
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
rfxswf: Warning: num_bits overflow in swf_SetRect
FATAL   Could not create "10549.swf".

Any ideas?

Many thanks
Paul.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]