swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Unable to make pdf2swf


From: Douglas Miller
Subject: [Swftools-common] Unable to make pdf2swf
Date: Thu, 13 Nov 2008 12:36:52 -0600

I've been trying for a couple of days now to compile pdf2swf. Currently I working with the CVS version.

I ran ./configure with the only missing libraries being:
***************************************************
* The following headers/libraries are missing:  ungif gif_lib.h
* Disabling gif2swf tool...
***************************************************

When I try to run make I get an error. Specifically, the error occurs when trying to make libpdf.a:

address@hidden lib]# pwd
/root/cvs/swftools/lib
address@hidden lib]# make libpdf.a
cd pdf;make libpdf
make[1]: Entering directory `/root/cvs/swftools/lib/pdf'
g++ -c -DHAVE_CONFIG_H   -I/usr/include/freetype2 -Ilame -fPIC -fPIC -Wparentheses -Wimplicit -Wreturn-type -O -fomit-frame-pointer  -I ./ -I xpdf GFXOutputDev.cc -o GFXOutputDev.o
GFXOutputDev.cc:40:20: error: config.h: No such file or directory
GFXOutputDev.cc:45:19: error: gfile.h: No such file or directory
GFXOutputDev.cc:46:21: error: GString.h: No such file or directory
GFXOutputDev.cc:48:20: error: Object.h: No such file or directory
GFXOutputDev.cc:49:20: error: Stream.h: No such file or directory
GFXOutputDev.cc:50:19: error: Array.h: No such file or directory
GFXOutputDev.cc:51:18: error: Dict.h: No such file or directory
GFXOutputDev.cc:52:18: error: XRef.h: No such file or directory
GFXOutputDev.cc:53:21: error: Catalog.h: No such file or directory
GFXOutputDev.cc:54:18: error: Page.h: No such file or directory
GFXOutputDev.cc:55:20: error: PDFDoc.h: No such file or directory
GFXOutputDev.cc:56:19: error: Error.h: No such file or directory
GFXOutputDev.cc:57:18: error: Link.h: No such file or directory
GFXOutputDev.cc:58:23: error: OutputDev.h: No such file or directory
GFXOutputDev.cc:59:21: error: GfxFont.h: No such file or directory
GFXOutputDev.cc:60:22: error: GfxState.h: No such file or directory
GFXOutputDev.cc:61:32: error: NameToUnicodeTable.h: No such file or directory
GFXOutputDev.cc:62:26: error: GlobalParams.h: No such file or directory
In file included from GFXOutputDev.h:9,
                 from GFXOutputDev.cc:63:
InfoOutputDev.h:26:29: error: SplashOutputDev.h: No such file or directory
InfoOutputDev.h:33:25: error: SplashTypes.h: No such file or directory
InfoOutputDev.h:34:24: error: SplashPath.h: No such file or directory
InfoOutputDev.h:35:24: error: SplashFont.h: No such file or directory
InfoOutputDev.h:36:28: error: SplashFontFile.h: No such file or directory
InfoOutputDev.h:42:19: error: GHash.h: No such file or directory
InfoOutputDev.h:47: error: ISO C++ forbids declaration of 'SplashPath' with no type
InfoOutputDev.h:47: error: expected ';' before '*' token
InfoOutputDev.h:68: error: ISO C++ forbids declaration of 'GfxFont' with no type
InfoOutputDev.h:68: error: expected ';' before '*' token
InfoOutputDev.h:73: error: ISO C++ forbids declaration of 'SplashFont' with no type
InfoOutputDev.h:73: error: expected ';' before '*' token
InfoOutputDev.h:77: warning: 'getFontID' initialized and declared 'extern'
InfoOutputDev.h:77: error: 'GfxFont' was not declared in this scope
InfoOutputDev.h:77: error: 'font' was not declared in this scope
InfoOutputDev.h:80: error: expected class-name before '{' token
InfoOutputDev.h:81: error: ISO C++ forbids declaration of 'GHash' with no type
InfoOutputDev.h:81: error: expected ';' before '*' token
InfoOutputDev.h:84: error: ISO C++ forbids declaration of 'SplashOutputDev' with no type
InfoOutputDev.h:84: error: expected ';' before '*' token
InfoOutputDev.h:93: error: expected `)' before '*' token
InfoOutputDev.h:95: error: 'GBool' does not name a type
InfoOutputDev.h:96: error: 'GBool' does not name a type
InfoOutputDev.h:97: error: 'GBool' does not name a type
InfoOutputDev.h:98: error: 'GBool' does not name a type
InfoOutputDev.h:99: error: 'GfxState' has not been declared
InfoOutputDev.h:101: error: 'Link' has not been declared
InfoOutputDev.h:101: error: 'Catalog' has not been declared
InfoOutputDev.h:103: error: 'GfxState' has not been declared
InfoOutputDev.h:105: error: 'GBool' does not name a type
InfoOutputDev.h:106: error: 'GfxState' has not been declared
InfoOutputDev.h:107: error: 'GfxState' has not been declared
InfoOutputDev.h:108: error: 'GfxState' has not been declared
InfoOutputDev.h:110: error: 'GfxState' has not been declared
InfoOutputDev.h:111: error: 'GfxState' has not been declared
InfoOutputDev.h:113: error: 'GfxState' has not been declared
InfoOutputDev.h:116: error: 'CharCode' has not been declared
InfoOutputDev.h:116: error: 'Unicode' has not been declared
InfoOutputDev.h:117: error: 'GfxState' has not been declared
InfoOutputDev.h:117: error: 'Object' has not been declared
InfoOutputDev.h:117: error: 'Stream' has not been declared
InfoOutputDev.h:118: error: 'GBool' has not been declared
InfoOutputDev.h:119: error: 'GBool' has not been declared
InfoOutputDev.h:120: error: 'GfxState' has not been declared
InfoOutputDev.h:120: error: 'Object' has not been declared
InfoOutputDev.h:120: error: 'Stream' has not been declared
InfoOutputDev.h:121: error: 'GfxImageColorMap' has not been declared
InfoOutputDev.h:122: error: 'GBool' has not been declared
InfoOutputDev.h:123: error: 'GfxState' has not been declared
InfoOutputDev.h:123: error: 'Object' has not been declared
InfoOutputDev.h:123: error: 'Stream' has not been declared
InfoOutputDev.h:125: error: 'GfxImageColorMap' has not been declared
InfoOutputDev.h:126: error: 'Stream' has not been declared
InfoOutputDev.h:128: error: 'GBool' has not been declared
InfoOutputDev.h:129: error: 'GfxState' has not been declared
InfoOutputDev.h:129: error: 'Object' has not been declared
InfoOutputDev.h:129: error: 'Stream' has not been declared
InfoOutputDev.h:131: error: 'GfxImageColorMap' has not been declared
InfoOutputDev.h:132: error: 'Stream' has not been declared
InfoOutputDev.h:134: error: 'GfxImageColorMap' has not been declared
CommonOutputDev.h:32: error: expected class-name before '{' token
GFXOutputDev.h:33: error: ISO C++ forbids declaration of 'GfxState' with no type
GFXOutputDev.h:33: error: expected ';' before '*' token
GFXOutputDev.h:50: error: 'PDFDoc' has not been declared
GFXOutputDev.h:59: error: 'GfxState' has not been declared
GFXOutputDev.h:66: error: 'GBool' does not name a type
GFXOutputDev.h:69: error: 'GBool' does not name a type
GFXOutputDev.h:71: error: 'GBool' does not name a type
GFXOutputDev.h:76: error: 'Link' has not been declared
GFXOutputDev.h:76: error: 'Catalog' has not been declared
GFXOutputDev.h:79: error: 'GfxState' has not been declared
GFXOutputDev.h:80: error: 'GfxState' has not been declared
GFXOutputDev.h:84: error: 'GfxState' has not been declared
GFXOutputDev.h:85: error: 'GfxState' has not been declared
GFXOutputDev.h:86: error: 'GfxState' has not been declared
GFXOutputDev.h:87: error: 'GfxState' has not been declared
GFXOutputDev.h:88: error: 'GfxState' has not been declared
GFXOutputDev.h:89: error: 'GfxState' has not been declared
GFXOutputDev.h:90: error: 'GfxState' has not been declared
GFXOutputDev.h:91: error: 'GfxState' has not been declared
GFXOutputDev.h:92: error: 'GfxState' has not been declared
GFXOutputDev.h:93: error: 'GfxState' has not been declared
GFXOutputDev.h:94: error: 'GfxState' has not been declared
GFXOutputDev.h:95: error: 'GfxState' has not been declared
GFXOutputDev.h:96: error: 'GfxState' has not been declared
GFXOutputDev.h:98: error: 'GfxState' has not been declared
GFXOutputDev.h:109: error: 'GfxState' has not been declared
GFXOutputDev.h:110: error: 'GfxState' has not been declared
GFXOutputDev.h:111: error: 'GfxState' has not been declared
GFXOutputDev.h:114: error: 'GfxState' has not been declared
GFXOutputDev.h:115: error: 'GfxState' has not been declared
GFXOutputDev.h:116: error: 'GfxState' has not been declared
GFXOutputDev.h:119: error: 'GBool' does not name a type
GFXOutputDev.h:120: error: 'GBool' does not name a type
GFXOutputDev.h:123: error: 'GfxState' has not been declared
GFXOutputDev.h:123: error: 'Object' has not been declared
GFXOutputDev.h:124: error: 'Dict' has not been declared
GFXOutputDev.h:135: error: 'GBool' does not name a type
GFXOutputDev.h:137: error: 'GBool' does not name a type
GFXOutputDev.h:138: error: 'GBool' does not name a type
GFXOutputDev.h:141: error: 'GfxState' has not been declared
GFXOutputDev.h:141: error: 'GString' has not been declared
GFXOutputDev.h:142: error: 'GfxState' has not been declared
GFXOutputDev.h:143: error: 'GfxState' has not been declared
GFXOutputDev.h:144: error: 'GfxState' has not been declared
GFXOutputDev.h:147: error: 'CharCode' has not been declared
GFXOutputDev.h:147: error: 'Unicode' has not been declared
GFXOutputDev.h:150: error: 'GfxState' has not been declared
GFXOutputDev.h:150: error: 'Object' has not been declared
GFXOutputDev.h:150: error: 'Stream' has not been declared
GFXOutputDev.h:151: error: 'GBool' has not been declared
GFXOutputDev.h:152: error: 'GBool' has not been declared
GFXOutputDev.h:153: error: 'GfxState' has not been declared
GFXOutputDev.h:153: error: 'Object' has not been declared
GFXOutputDev.h:153: error: 'Stream' has not been declared
GFXOutputDev.h:154: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:155: error: 'GBool' has not been declared
GFXOutputDev.h:156: error: 'GfxState' has not been declared
GFXOutputDev.h:156: error: 'Object' has not been declared
GFXOutputDev.h:156: error: 'Stream' has not been declared
GFXOutputDev.h:158: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:159: error: 'Stream' has not been declared
GFXOutputDev.h:160: error: 'GBool' has not been declared
GFXOutputDev.h:161: error: 'GfxState' has not been declared
GFXOutputDev.h:161: error: 'Object' has not been declared
GFXOutputDev.h:161: error: 'Stream' has not been declared
GFXOutputDev.h:163: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:164: error: 'Stream' has not been declared
GFXOutputDev.h:166: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:169: error: 'GfxState' has not been declared
GFXOutputDev.h:170: error: 'GfxColorSpace' has not been declared
GFXOutputDev.h:171: error: 'GBool' has not been declared
GFXOutputDev.h:171: error: 'GBool' has not been declared
GFXOutputDev.h:172: error: 'GBool' has not been declared
GFXOutputDev.h:173: error: 'GfxState' has not been declared
GFXOutputDev.h:174: error: 'GfxState' has not been declared
GFXOutputDev.h:175: error: 'GfxState' has not been declared
GFXOutputDev.h:175: error: 'GBool' has not been declared
GFXOutputDev.h:175: error: 'Function' has not been declared
GFXOutputDev.h:175: error: 'GfxColor' has not been declared
GFXOutputDev.h:176: error: 'GfxState' has not been declared
GFXOutputDev.h:179: error: 'GBool' does not name a type
GFXOutputDev.h:180: error: 'GfxState' has not been declared
GFXOutputDev.h:182: error: 'GfxState' has not been declared
GFXOutputDev.h:183: error: 'GfxState' has not been declared
GFXOutputDev.h:187: error: expected ';' before '(' token
GFXOutputDev.h:191: error: 'GBool' does not name a type
GFXOutputDev.h:192: error: 'Ref' has not been declared
GFXOutputDev.h:193: error: 'GBool' does not name a type
GFXOutputDev.h:204: error: expected ';' before '(' token
GFXOutputDev.h:206: error: 'GfxState' has not been declared
GFXOutputDev.h:208: error: 'GfxState' has not been declared
GFXOutputDev.h:208: error: 'Object' has not been declared
GFXOutputDev.h:208: error: 'Stream' has not been declared
GFXOutputDev.h:209: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:209: error: 'GBool' has not been declared
GFXOutputDev.h:210: error: 'GBool' has not been declared
GFXOutputDev.h:211: error: 'Stream' has not been declared
GFXOutputDev.h:211: error: 'GBool' has not been declared
GFXOutputDev.h:211: error: 'GfxImageColorMap' has not been declared
GFXOutputDev.h:213: error: 'GfxState' has not been declared
GFXOutputDev.h:214: error: 'GfxState' has not been declared
GFXOutputDev.h:215: error: 'GfxState' has not been declared
GFXOutputDev.h:217: error: expected ';' before '(' token
GFXOutputDev.h:229: error: 'GBool' does not name a type
GFXOutputDev.h:237: error: ISO C++ forbids declaration of 'PDFDoc' with no type
GFXOutputDev.h:237: error: expected ';' before '*' token
GFXOutputDev.h:238: error: ISO C++ forbids declaration of 'XRef' with no type
GFXOutputDev.h:238: error: expected ';' before '*' token
GFXOutputDev.h:241: error: expected ';' before '(' token
GFXOutputDev.h:242: error: expected ';' before '(' token
GFXOutputDev.h:251: error: ISO C++ forbids declaration of 'GfxState' with no type
GFXOutputDev.h:251: error: expected ';' before '*' token
GFXOutputDev.h:295: error: expected class-name before '{' token
GFXOutputDev.h:299: error: ISO C++ forbids declaration of 'DisplayFontParam' with no type
GFXOutputDev.h:299: error: 'DisplayFontParam' declared as a 'virtual' field
GFXOutputDev.h:299: error: expected ';' before '*' token
GFXOutputDev.cc:195: error: 'GBool' does not name a type
GFXOutputDev.cc: In function 'char* writeOutStdFont(fontentry*)':
GFXOutputDev.cc:250: error: 'mktmpname' was not declared in this scope
GFXOutputDev.cc: In function 'void unlinkfont(char*)':
GFXOutputDev.cc:274: error: 'unlink' was not declared in this scope
GFXOutputDev.cc: In constructor 'GFXGlobalParams::GFXGlobalParams()':
GFXOutputDev.cc:297: error: class 'GFXGlobalParams' does not have any field named 'GlobalParams'
GFXOutputDev.cc: At global scope:
GFXOutputDev.cc:468: error: 'DisplayFontParamKind' does not name a type
GFXOutputDev.cc:477: error: expected constructor, destructor, or type conversion before '*' token
make[1]: *** [GFXOutputDev.o] Error 1
make[1]: Leaving directory `/root/cvs/swftools/lib/pdf'
make: *** [libpdf.a] Error 2


It seems that Pablo Rodríguez posted the same problem on Sat, 24 May 2008 with no resolution. Any ideas why this is happening?

reply via email to

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