• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problem linking to zlib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem linking to zlib


  • Subject: Problem linking to zlib
  • From: Alex Fuller <email@hidden>
  • Date: Thu, 11 Apr 2002 23:38:24 +0100

I'm trying to link to zlib1.1.3 (which is supplied as part of the OS X
installation) from my Cocoa program. I've referred to the library with a
#include "zlib.h" at the top of my source file, which appears to be picking
up /usr/include/zlib.h successfully. However as soon as I call the
compress() function, ProjectBuilder gives me the following compile error:

illegal reference to symbol: _compress defined in indirectly referenced
dynamic library /usr/lib/libz.1.1.3.dylib

Any suggestions?

Alex
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Problem linking to zlib
      • From: Matt Majka <email@hidden>
  • Prev by Date: [ANN] Some new Mulle stuff
  • Next by Date: Re: Really stupid c question
  • Previous by thread: [ANN] Some new Mulle stuff
  • Next by thread: Re: Problem linking to zlib
  • Index(es):
    • Date
    • Thread