Problem linking to zlib
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.