Hi all,
  Anyone have any ideas?

Dominique

Dominique Louis wrote:
My uses clause is as follows

uses
  Zlib,  // To avoid linking to objects
  Sysutils,
  Classes;

This works fine on Mac OS X, but on Win32 I get the error mentioned.

Yes I'm using the zlib that ships with FPC.


Dominique.

Graeme Geldenhuys wrote:
Are you using/linking a external (.dll or .so) or are you using the
zlib unit  (implementation in object pascal) included with FPC?

Regards,
  - Graeme -


On 30/01/2008, Dominique Louis <[EMAIL PROTECTED]> wrote:
Hi all,
   I've just been trying to compile some code that makes use of Zlib and
when I try to compile it from within Lazarus I get the following error

Error: Import library not found for libz

at the linking stage. It's the only thing stopping it from linking.

Is this a bug in FPC 2.2.1 or am I missing the libz.o file?

I'm using the snapshot from 27th of Jan 2008, if that makes any difference.

Thanks,


Dominique.

_________________________________________________________________
    To unsubscribe: mail [EMAIL PROTECTED] with
               "unsubscribe" as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to