• 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
On Building and Using DYLIB (Xcode 3, Leopard)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

On Building and Using DYLIB (Xcode 3, Leopard)


  • Subject: On Building and Using DYLIB (Xcode 3, Leopard)
  • From: Phil Hystad <email@hidden>
  • Date: Fri, 2 Nov 2007 20:25:27 -0700

OK, I am stumped.

I have two projects. One builds a dynamic link library and the other uses that dynamic link library.

Earlier today I deployed the dynamic link library to /usr/local/lib and that was OK. But, later today I had to rebuild the library and decided to reference the library directly from its project file location rather then /usr/local/lib.

So, I put the dynamic link library in my other project (the one that uses it) by moving it from one project window to the another. This seamed to work fine as I checked the references and they were correct, pointing to the proper location for the "debug" build of my dynamic link library which is the one I want to use.

But, now when I run my test program, the second project that uses the DYLIB, it fails because it can't find the library in /usr/local/lib. However, all my references point to the library project and also the search paths in the build settings are pointing to my other dynamic library project as they should.

So, is there a reason why I cannot reference a dynamic link library from a project file. Does it have to be deployed to /usr/local/lib. And, if this is the case, what do you guys do to get over the permissions problem without having to run under root or mess up the permissions on /usr/local/lib.

Thanks for the help.

phil

_______________________________________________
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: On Building and Using DYLIB (Xcode 3, Leopard)
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Xcode 3 SCM Preference Pane Documentation
  • Next by Date: Re: moving through bookmarks
  • Previous by thread: Re: Watching an opaque struct member?
  • Next by thread: Re: On Building and Using DYLIB (Xcode 3, Leopard)
  • Index(es):
    • Date
    • Thread