Trouble compiling ImagesForLazarus package lazarus / 13-General ---------------------------------------------------------------------- BrainChemistry · 2008-06-22 09:20 Hi there, have the latest SVN revision (15506) and compiled the system successfully. Now compiling package ImagesForLazarus stops immediatly saying: Code: [Select] Compiling ImagesForLazarus.pas Compiling LazPNG.pas LazPNG.pas(33,20) Error: There is no method in an ancestor class to be overridden: "class TPNGImage.GetDefaultFPReader:Class Of TFPCustomImageReader" LazPNG.pas(34,20) Error: There is no method in an ancestor class to be overridden: "class TPNGImage.GetDefaultFPWriter:Class Of TFPCustomImageWriter" LazPNG.pas(43,1) Fatal: There were 2 errors compiling module, stopping TExternalToolList.Run Exception: C:\FPC\lazarus_glscene\components\images\LazPNG.pas(43,1) Fatal: There were 2 errors compiling module, stopping ERROR: tool reported error When I comment out the two overrides in further files the compiler will complain about other overrides. Any hints how to fix this? Thanks. ---------------------------------------------------------------------- Marc · 2008-06-24 10:02 since most if not all formats are supported by lazarus itself, is there a need to use the package ? ---------------------------------------------------------------------- BrainChemistry · 2008-06-27 19:51 Quote from: "Marc"since most if not all formats are supported by lazarus itself, is there a need to use the package ? Yes, since another package uses ImagesForLazarus. Without ImagesForLazarus this package won't be able to install/compile. EDIT: Seems someone fixed the troubles with the ImagesForLazarus package in a later revision. Now anything works quite well. Thanks though.