Proper way to link dynamic libraries?
Proper way to link dynamic libraries?
- Subject: Proper way to link dynamic libraries?
- From: Brian Jones <email@hidden>
- Date: Mon, 4 Aug 2008 18:52:07 -0400
- Importance: Normal
I was wondering if there was a correct way to link dynamic libraries in C++ projects? I'm pretty new to xcode and mac compared to visual studio and windows. I made a program to test out boost::thread. At first I was getting linking errors, but then including a copy of the dylib in the directory that contains the executable solved that problem - the app runs fine . But then when I try to manually execute the app, I get a error "image not found." I've heard/read things about DYLD_LIBRARY_PATH and stuff, but it just does not make sense to me. At least how use it in the xcode IDE. Basically is there a way to link dynamic libraries without having to learn the unix os?
Reveal your inner athlete and share it with friends on Windows Live. Share now!
|
_______________________________________________
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