• 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: How to properly add libraries
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to properly add libraries


  • Subject: Re: How to properly add libraries
  • From: Andreas Grosam <email@hidden>
  • Date: Sat, 10 Dec 2011 10:09:34 +0100

Forgot one thing:

You certainly don't *install* boost libraries into the download folder. So, in addition Jonny Yu is probably right, too: the dynamic linker didn't find the libraries in the well know places or at a location which has been specified within the application's image when it has been linked.

So, when you link against *dynamic libraries* you need to know some additional things, which is best explained here:
<http://developer.apple.com/library/mac/#documentation/DeveloperTools/Conceptual/DynamicLibraries/>

Especially: "Installing Dependent Libraries" and "Using Dependent Libraries"


Since the process might seem complex for boost libraries, you might use a package tool (e.g. MacPorts, or HomeBrew) to do the install job for you. Then, linking against it should be easy.


Andreas

 _______________________________________________
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

References: 
 >How to properly add libraries (From: Kelvin Chung <email@hidden>)
 >Re: How to properly add libraries (From: Andreas Grosam <email@hidden>)

  • Prev by Date: Re: How to properly add libraries
  • Next by Date: XCode Printing Problem.
  • Previous by thread: Re: How to properly add libraries
  • Next by thread: XCode Printing Problem.
  • Index(es):
    • Date
    • Thread