swftools-common
[Top][All Lists]
Advanced

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

[Swftools-common] Problem while Building Python


From: sachinchakote
Subject: [Swftools-common] Problem while Building Python
Date: Wed, 30 Sep 2009 15:24:42 +0530

Hi

I have downloaded swftools and tried to install the python  project gfx module. on my suse machine.
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


I have copied Imaging.h and ImPlatform.h which came along with "Imaging-1.1.6"   as the compiler earlier reported Imaging.h not found error.

Any idea what could be wrong during installation ?

sachin

reply via email to

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