• 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: Include arbitrary dylib in project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Include arbitrary dylib in project


  • Subject: Re: Include arbitrary dylib in project
  • From: Jeff Disher <email@hidden>
  • Date: Wed, 30 Apr 2003 13:05:36 -0400

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>)

  • Prev by Date: Re: Displaying images in an outline view
  • Next by Date: Re: [ANN] poof image Apple sample code
  • Previous by thread: Include arbitrary dylib in project
  • Next by thread: Nib loading question with an Document based app...
  • Index(es):
    • Date
    • Thread