Loading a static library
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