• 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
Re: Adding external library in cocoa app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Adding external library in cocoa app


  • Subject: Re: Adding external library in cocoa app
  • From: Scott Ribe <email@hidden>
  • Date: Thu, 25 Sep 2008 16:18:32 -0500
  • Thread-topic: Adding external library in cocoa app

> The linker does link in static libraries, but it prefers dynamic
> libraries over static ones, and will always link to a dynamic library
> if one exists with the same name as the desired static one. Since
> there's no way to change this behavior, the only workaround is to add
> an absolute path to the static library as a linker flag in the "other
> linker flags" build settings.

Or put a copy of the static lib into a folder within your project, and drag
that one into the project. (And possibly delete the prior path from lib
paths, if you already dragged in the lib from the default location.)

--
Scott Ribe
email@hidden
http://www.killerbytes.com/
(303) 722-0567 voice


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Adding external library in cocoa app
      • From: Scott Ribe <email@hidden>
References: 
 >Re: Adding external library in cocoa app (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: Autostart item in user profile.
  • Next by Date: Re: Adding external library in cocoa app
  • Previous by thread: Re: Adding external library in cocoa app
  • Next by thread: Re: Adding external library in cocoa app
  • Index(es):
    • Date
    • Thread