XCode 2.1 adding a library path
XCode 2.1 adding a library path
- Subject: XCode 2.1 adding a library path
- From: Michael Hanna <email@hidden>
- Date: Mon, 13 Jun 2005 12:55:06 -0400
Hi all, I'm compiling with libpng, which has been installed in /usr/
local/lib . After turning ZeroLink off(by changing the active
configuration), I get these errors at build time:
/usr/bin/ld: Undefined symbols:
_png_create_info_struct
_png_create_read_struct
_png_destroy_read_struct
_png_get_IHDR
_png_init_io
_png_read_png
_png_set_sig_bytes
_png_sig_cmp
collect2: ld returned 1 exit status
I then tried adding to project get info -> build -> Library Search
Paths -> /usr/local/lib
did a Clean, then Build, but I get the same results. I have #include
<png.h> of course.
How do I get the compiler to find these libraries with XCode? XCode
2.1, 10.4.1
regards,
Michael
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden