• 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
how to make c++ calls from cocoa to a dynamic library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to make c++ calls from cocoa to a dynamic library


  • Subject: how to make c++ calls from cocoa to a dynamic library
  • From: William Irving Zumwalt <email@hidden>
  • Date: Sat, 14 Jan 2006 20:33:30 -0600

I'm trying to add a dynamic lib that I built in a separate project. It
was built as a 'BSD Dynamic Library' and I now have a file called
libmine.dylib. I'm running xcode 2.2

I want to add it to my cocoa project so I did an 'Add existing file'
from the resources group and I now see a libmine.dylib under my
resources group. Then I get this error when trying to build my app.

JamToolExecution MyProject (1 error)
        Command /Developer/Private/jam faild with exit code 1
Linking /Users/me/Projects/MyProject/build/Development/MyProj.app
        can't locate file for: -lmine
Build failed (1 error)

Anyone tell me if I've added this library to my project correctly, or
how to make my project see the dynlib?

Any help/links/advice much appreciated.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: how to make c++ calls from cocoa to a dynamic library
      • From: Pascal Pochet <email@hidden>
  • Prev by Date: Re: NSControl's not updating
  • Next by Date: Having trouble with NSTimer and runModalForWindow
  • Previous by thread: Re: Seemingly bizzare calling of method
  • Next by thread: Re: how to make c++ calls from cocoa to a dynamic library
  • Index(es):
    • Date
    • Thread