Re: How to call functions of a C dylib on a C++ dylib
Re: How to call functions of a C dylib on a C++ dylib
- Subject: Re: How to call functions of a C dylib on a C++ dylib
- From: Daniel Luis dos Santos <email@hidden>
- Date: Thu, 18 Sep 2008 15:10:13 +0100
Sorry, I forgot to say that I was already doing that. And it does
build, my problem is in the link stage.
On Sep 18, 2008, at 3:00 PM, Negm-Awad Amin wrote:
Am Do,18.09.2008 um 15:55 schrieb Daniel Luis dos Santos:
I am having trouble getting it to compile. From what I understand
there must be an extern "C" before the inclusion of the C lib's
header files.
I still get a link error. Is there anything else to it ?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
You have to include the headers for your source code (compiling) and
the lib itself for linking.
Cheers
Amin Negm-Awad
email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden