• 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: Using static or dynamic lib in Cocoa project.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using static or dynamic lib in Cocoa project.


  • Subject: Re: Using static or dynamic lib in Cocoa project.
  • From: Nick Zitzmann <email@hidden>
  • Date: Thu, 15 Jan 2004 21:56:21 -0800

On Jan 15, 2004, at 9:39 PM, Hire wrote:

I have created c-interface (wrapper) for one of the C++ library
developed using Codewarrior. I developed static as well as dynamic
library wrapper lib in Codewarrior. But I have no idea how to include this
static or dynamic
library in XCodes cocoa project using objective-c++.

At runitime message is displayed the sysmbol not found.
How to link cocoa application with static or dynamic wrapper library?

Try building both projects with the same version of the same compiler. One of the problems with using C++ on OS X is there are several different C++ ABI variations in use, and each one is incompatible with the other, which is the most likely reason why you're getting a "symbol not found" error...

Nick Zitzmann
<http://seiryu.home.comcast.net/>
<http://www.freshlysqueezedsoftware.com/>
S/MIME signature available upon request

UNIX: Where /sbin/init is Job #1.
_______________________________________________
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.

  • Follow-Ups:
    • RE: Using static or dynamic lib in Cocoa project.
      • From: "Hire" <email@hidden>
References: 
 >Using static or dynamic lib in Cocoa project. (From: "Hire" <email@hidden>)

  • Prev by Date: Re: NSTextView data binding delay
  • Next by Date: RE: Using static or dynamic lib in Cocoa project.
  • Previous by thread: Using static or dynamic lib in Cocoa project.
  • Next by thread: RE: Using static or dynamic lib in Cocoa project.
  • Index(es):
    • Date
    • Thread