• 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: How to call functions of a C dylib on a C++ dylib
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to call functions of a C dylib on a C++ dylib (From: Daniel Luis dos Santos <email@hidden>)

  • Prev by Date: How to call functions of a C dylib on a C++ dylib
  • Next by Date: Re: Modal dialog without NSApplication
  • Previous by thread: How to call functions of a C dylib on a C++ dylib
  • Next by thread: Re: How to call functions of a C dylib on a C++ dylib
  • Index(es):
    • Date
    • Thread