• 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[2]: linking problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: linking problem


  • Subject: Re[2]: linking problem
  • From: Peter Mulholland <email@hidden>
  • Date: Thu, 5 Jul 2007 12:58:08 +0100

Hello Chris,

Thursday, July 5, 2007, 6:23:27 AM, you wrote:


> Are these functions and symbols being exported defined in C or C++
> code, and are you using them from C or C++ code?  What are the actual
> error lines you're getting from the linker?

> I suspect, given what you've said so far, that the symbols are defined
> in C++ code and are being used from C++ code.  This means that in
> your exported-symbols file (which typically has the extension ".exp"
> rather than ".txt"), you'll need to use the C++-mangled name of the
> symbol, rather than the non-mangled name.

Or, if they don't belong in classes and don't make use of C++ features
such as default parameters, you can wrap them in an extern "C" {}. I
would recommend that anyway.

--
Best regards,
 Peter                            mailto:email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >linking problem (From: mark <email@hidden>)
 >Re: linking problem (From: Chris Hanson <email@hidden>)
 >Re: linking problem (From: mark <email@hidden>)
 >Re: linking problem (From: Chris Hanson <email@hidden>)
 >Re: linking problem (From: mark <email@hidden>)
 >Re: linking problem (From: Chris Hanson <email@hidden>)
 >Re: linking problem (From: mark <email@hidden>)
 >Re: linking problem (From: Chris Hanson <email@hidden>)

  • Prev by Date: Re: xcode editor: go to matching brace?
  • Next by Date: Re: C# on OSX?
  • Previous by thread: Re: linking problem
  • Next by thread: Re: linking problem
  • Index(es):
    • Date
    • Thread