• 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
XCode 2.1 adding a library path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: XCode 2.1 adding a library path
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Moving from CodeWarrior to XCode
  • Next by Date: Re: Moving from CodeWarrior to XCode
  • Previous by thread: Re: Moving from CodeWarrior to XCode
  • Next by thread: Re: XCode 2.1 adding a library path
  • Index(es):
    • Date
    • Thread