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: Include arbitrary dylib in project



I think that you can do this just be adding it as you would a framework. Make sure that it does show up in the link phase in your build settings.

Also, linking in a dylib is not always the best idea since it will require whoever else is running the app to have the library, as well. You may want to try using the .a static library which fink would have likely built, as well. Just know that PB will try to find the dylib first if the .a is there, too.

What is the actual problem you are having? I think that just adding it like a framework is all that must be done but I haven't had to do this in a few months so I may be missing something.

Hope that helps,
Jeff.


On Tuesday, April 29, 2003, at 04:02 PM, ROSE,ROBERT W (HP-Corvallis,ex1) wrote:

Hi all, this is really more of a gcc question than it is a Cocoa question...

I'm trying to link my project against an arbitrary dylib. There are symbols
defined in that library that I would like to use. I can't figure out how to
get gcc or PB to include that dylib in the linking process, I keep getting
"symbol undefined" errors.

For the curious, I'm experimenting with linking against dylib files
outputted from fink.

Any clues?
-robert
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


Jeff Disher
President and Lead Developer of Spectral Class
Spectral Class: Shedding Light on Innovation
http://www.spectralclass.com/
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Include arbitrary dylib in project (From: "ROSE,ROBERT W (HP-Corvallis,ex1)" <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.