RE: Using static or dynamic lib in Cocoa project.
RE: Using static or dynamic lib in Cocoa project.
- Subject: RE: Using static or dynamic lib in Cocoa project.
- From: "Hire" <email@hidden>
- Date: Fri, 16 Jan 2004 15:06:51 +0900
Hello Nick Zitzmann
Thanks for your reply.
For me it is not possible to recomiled and build c++ library.
But I have created C-interface to C++ library. So Objective-c++
program should able to link and run with thess C funtion.
Regards
Shashikant Hire
-----Original Message-----
From: Nick Zitzmann [
mailto:email@hidden]
Sent: Friday, January 16, 2004 2:56 PM
To: email@hidden
Cc: email@hidden
Subject: Re: Using static or dynamic lib in Cocoa project.
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.