• 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
Loading a static library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Loading a static library


  • Subject: Loading a static library
  • From: "JonathanF" <email@hidden>
  • Date: Fri, 23 Jul 2010 18:33:10 +0000

Can someone help me with a newbie linker question?

How do I tell XCode (I'm running XCode 3.2.2) to use the static version of a particular library?  I added the file libboost_thread-mt.a under "Link Binary With Libraries", but I still get the following error message:

Running…
dyld: Library not loaded: libboost_thread-mt.dylib
  Referenced from: /Users/jonathan/Dwelfen/World/Development/Xcode/EpModel/EpModelCo/build/Debug/EpModelCo.app/Contents/MacOS/EpModelCo
  Reason: image not found

I've looked around the XCode forum, and I've found various postings about how to tell XCode to prefer a static library to the corresponding dynamic version, but I've not found anything about the scenario where the loader tries to load the dynamic version even when it doesn't exist.


Also, is there some way to tell, either by looking at the build configuration files or with diagnostic output from the loader, exactly which files the loader is trying to load?

Thanks,
Jonathan
 _______________________________________________
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: Loading a static library
      • From: Rush Manbert <email@hidden>
  • Prev by Date: Re: Creating app file with my binary files
  • Next by Date: Re: Creating app file with my binary files
  • Previous by thread: Re: Re: Older iPhone SDK's and Xcode 3.2.3
  • Next by thread: Re: Loading a static library
  • Index(es):
    • Date
    • Thread