• 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
Re: unable to include a .dylib into another BSD Dynamic Library project .
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: unable to include a .dylib into another BSD Dynamic Library project .


  • Subject: Re: unable to include a .dylib into another BSD Dynamic Library project .
  • From: Sudheer dantuluri <email@hidden>
  • Date: Fri, 1 Sep 2006 16:47:20 +0530

Hi Peter ,

Thanks for your reply .
The problem is that the Library Search Paths and User Header Search Path are not set properly .
After setting them to /usr/llocal/lib and usr/local/include  , it worked out fine .

By the way , what are the advantages that we get placing libraries in usr/local/lib instead of usr/lib ?

Thanks
Sudheer.


On 30-Aug-06, at 6:21 PM, Peter O'Gorman wrote:


On Aug 30, 2006, at 3:10 PM, Sudheer dantuluri wrote:

Hi All,

I'm creating a BSD Dynamic library project .
Here I'm including an already created .dylib and using the functions defined in that .dylib.
I'm getting an error that the header file that i included doesn't exists (error : no such file or directory ).
I've placed the header files in the /usr/include and also placed the .dylib in /usr/lib .

It's working fine if i include the .dylib in a Cocoa Application . I'm able to use the functions defined in the .dylib in coca applications .

Can anyone help me out in this issue .

Are you using an SDK when it says "no such file or directory"? If so, you probably want copies of your libary & headers in the SDK too. I'd advise against putting libraries in /usr/lib though, try /usr/local instead.

Peter






 _______________________________________________
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: unable to include a .dylib into another BSD Dynamic Library project .
      • From: "Peter O'Gorman" <email@hidden>
  • Prev by Date: Re: Symbol export issue
  • Next by Date: Any experience on XCode 2.3's "Dedicated Network Builds" features ?
  • Previous by thread: Re: Symbol export issue
  • Next by thread: Re: unable to include a .dylib into another BSD Dynamic Library project .
  • Index(es):
    • Date
    • Thread