On Thu, 14 Jul 2016 00:07:45 +0200 Bo Berglund <[email protected]> wrote:
> On Wed, 13 Jul 2016 11:18:17 +0200, Mattias Gaertner > <[email protected]> wrote: >[...] > I am using the Synopse PasZip unit to add zipping functionality to my > program. When I moved it into Lazarus on an RPi3 I get the following > error message: > > PasZip.pas(60,3) Fatal: Cannot find LibC used by PasZip of the Project > Inspector. LibC was an ancient unit for Linux only. It vanished from FPC many years ago. Its functions are now in units like Unix, BaseUnix, etc to support more platforms than Linux. > This is the PasZip code that it complains about: > > uses > {$ifdef MSWINDOWS} > Windows, > {$else} > LibC, <== Error here > Types, > {$endif} > SysUtils; > > When I google this it seems like there has been some problems earlier > with LibC and Lazarus, but I did not find a working solution. > > What to do? Search the functions in FPC and use the new units. Mattias -- _______________________________________________ Lazarus mailing list [email protected] http://lists.lazarus-ide.org/listinfo/lazarus
