On Wed, Sep 30, 2009 at 10:54 AM, sachinchakote <sachinchak...@gmail.com> wrote: > Hi > > I have downloaded swftools and tried to install the python project gfx > module. on my suse machine.
What version of swftools? > I installed python2.6 from source and also installed jpg and true type > dependencies. > > but i am getting following error when compiling the code. > > > > > > In file included from lib/pdf/GFXOutputDev.cc:45: > lib/pdf/xpdf/gfile.h:134: error: ISO C++ forbids declaration of ‘DIR’ with > no type > lib/pdf/xpdf/gfile.h:134: error: expected ‘;’ before ‘*’ token > lib/pdf/GFXOutputDev.cc: In destructor ‘virtual > GFXGlobalParams::~GFXGlobalParams()’: > lib/pdf/GFXOutputDev.cc:327: warning: comparison between signed and unsigned > integer expressions > lib/pdf/GFXOutputDev.cc: In member function ‘virtual DisplayFontParam* > GFXGlobalParams::getDisplayFont(GString*)’: > lib/pdf/GFXOutputDev.cc:515: warning: comparison between signed and unsigned > integer expressions > lib/pdf/GFXOutputDev.cc: In function ‘void showFontError(GfxFont*, int)’: > lib/pdf/GFXOutputDev.cc:694: warning: comparison between signed and unsigned > integer expressions > lib/pdf/GFXOutputDev.cc: In function ‘void dumpFontInfo(const char*, > GfxFont*)’: > lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontType1COT’ not > handled in switch > lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontTrueTypeOT’ not > handled in switch > lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontCIDType0COT’ > not handled in switch > lib/pdf/GFXOutputDev.cc:719: warning: enumeration value ‘fontCIDType2OT’ not > handled in switch > lib/pdf/GFXOutputDev.cc: In member function ‘virtual void > GFXOutputDev::drawChar(GfxState*, double, double, double, double, double, > double, CharCode, int, Unicode*, int)’: > lib/pdf/GFXOutputDev.cc:1385: warning: comparison between signed and > unsigned integer expressions > lib/pdf/GFXOutputDev.cc: In member function ‘virtual GBool > GFXOutputDev::beginType3Char(GfxState*, double, double, double, double, > CharCode, Unicode*, int)’: > lib/pdf/GFXOutputDev.cc:1514: warning: comparison between signed and > unsigned integer expressions > error: command 'gcc' failed with exit status 1 > Is this the full gcc output? Can you provide your config.log Ricardo