Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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




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: http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden
References: 
 >unable to include a .dylib into another BSD Dynamic Library project . (From: Sudheer dantuluri <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.