swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] error compiling swftools


From: Sandy Pérez
Subject: [Swftools-common] error compiling swftools
Date: Mon, 9 Feb 2009 18:37:07 +0100

Hello,

I’m writing because I’ trying to compile “swftools-2009-02-07-1827.tar.gz” but 
I’m getting an error:

g++ -DHAVE_CONFIG_H -I/usr/local/include -I/usr/local/include/freetype2 
-I/usr/local/include -g ../../src/pdf2swf.c GFXOutputDev.o InfoOutputDev.o 
BitmapOutputDev.o FullBitmapOutputDev.o pdf.o fonts.o xpdf/GHash.o xpdf/GList.o 
xpdf/GString.o xpdf/gmem.o xpdf/gfile.o xpdf/FoFiTrueType.o xpdf/FoFiType1.o 
xpdf/FoFiType1C.o xpdf/FoFiBase.o xpdf/FoFiEncodings.o xpdf/OutputDev.o 
xpdf/PDFDoc.o xpdf/Error.o xpdf/Stream.o xpdf/Object.o xpdf/Decrypt.o 
xpdf/Array.o xpdf/XRef.o xpdf/Dict.o xpdf/Parser.o xpdf/Lexer.o xpdf/Outline.o 
xpdf/PDFDocEncoding.o xpdf/Catalog.o xpdf/Link.o xpdf/GlobalParams.o 
xpdf/JBIG2Stream.o xpdf/Page.o xpdf/JPXStream.o xpdf/JArithmeticDecoder.o 
xpdf/Gfx.o xpdf/GfxFont.o xpdf/CMap.o xpdf/CharCodeToUnicode.o 
xpdf/PSTokenizer.o xpdf/FontEncodingTables.o xpdf/BuiltinFont.o 
xpdf/BuiltinFontTables.o xpdf/GfxState.o xpdf/Function.o xpdf/Annot.o 
xpdf/NameToCharCode.o xpdf/UnicodeMap.o xpdf/SecurityHandler.o  
xpdf/SplashOutputDev.o xpdf/SplashFont.o xpdf/SplashState.o xpdf/Splash.o 
xpdf/SplashBitmap.o xpdf/SplashClip.o xpdf/SplashPattern.o 
xpdf/SplashFontEngine.o xpdf/SplashFontFile.o xpdf/SplashFontFileID.o 
xpdf/SplashScreen.o xpdf/SplashPath.o xpdf/SplashXPath.o 
xpdf/SplashXPathScanner.o xpdf/SplashFTFontEngine.o xpdf/SplashFTFontFile.o 
xpdf/SplashFTFont.o ../libgfxswf.a ../libgfx.a ../librfxswf.a ../libbase.a -o 
pdf2swf -s -L/usr/local/lib -lgif -ljpeg -lz -lm  -L/usr/local/lib -lfreetype 
-lz
.../../src/pdf2swf.c: In function ‘int main(int, char**)’:
.../../src/pdf2swf.c:848: error: invalid conversion from ‘void*’ to ‘int’ loses 
precision
.../../src/pdf2swf.c:849: error: invalid conversion from ‘void*’ to ‘int’ loses 
precision
make[1]: *** [pdf2swf] Error 1

I suppose that’s because it’s using g++ instead of gcc. How can I avoid such 
error? I’m sorry but I’m not an expert in these things.

I’m using the following programs and versions:

autoconf v2.59
make v3.81
gcc v4.1.2
g++ v4.1.2

freetype v2.3.8
jpeg 6b
giflib v4.1.6

Thanks in advance,
Best regards,
   Sandy







reply via email to

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