[SIP-devel] animal compile error
Advanced image processing toolbox for Scilab on Unix/Linux/Mac OS
Status: Beta
Brought to you by:
ricardofabbri
From: Angus E. <aer...@vi...> - 2006-02-17 21:52:55
|
Hi, While trying to compile SIP on my 'new' computer I ran into a compile error in animal verison 14.3 . In file included from img.c:41: img_g.c_incl: In function 'imread_ascii': img_g.c_incl:532: warning: format '%d' expects type 'int *', but argument 3 has type 'puint8 *' img.c: In function 'imread': img.c:150: error: invalid storage class for function 'RGBMagick2GrayIMG' img.c:151: error: invalid storage class for function 'PSEUDOMagick2GrayIMG' img.c:197: warning: implicit declaration of function 'RGBMagick2GrayIMG' img.c:202: warning: implicit declaration of function 'PSEUDOMagick2GrayIMG' make[2]: *** [img.lo] Error 1 After commenting out lines 150 and 151 of img.c animal seemed to compile fine with no errors. SIP has also compiled with no problems and I have run all the demos in scilab with no errors. I think the problem may be because I am using gcc 4.0.2 . Is anyone else using this version of gcc and if so have they had similar problems? Thanks, Angus |