• 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
Proper way to link dynamic libraries?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Proper way to link dynamic libraries?
      • From: Dave Carrigan <email@hidden>
  • Prev by Date: Re: Can anyone confirm this IB Bug?
  • Next by Date: Re: Xcode 3.1 alert
  • Previous by thread: Re: Xcode-users Digest, Vol 5, Issue 519
  • Next by thread: Re: Proper way to link dynamic libraries?
  • Index(es):
    • Date
    • Thread