• 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: Miss #include <vector>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Miss #include <vector>


  • Subject: Re: Miss #include <vector>
  • From: Lorenzo <email@hidden>
  • Date: Wed, 22 Mar 2006 19:28:01 +0100

It worked. Thank you.

Best Regards
--
Lorenzo
email: email@hidden

> From: Nick Zitzmann <email@hidden>
> Date: Wed, 22 Mar 2006 07:15:57 -0700
> To: Lorenzo <email@hidden>
> Cc: email@hidden
> Subject: Re: Miss #include <vector>
>
>
> On Mar 22, 2006, at 3:03 AM, Lorenzo wrote:
>
>> Now I get a different error
>>
>>     /usr/bin/ld: Undefined symbols:
>>     GetKTParameter(float*)
>>
>> This (my) routine is in a file FileX.m and it has always worked
>> when the
>> extension of FileA is ".m" and not ".mm". What is going on?
>
> You need to make the compiler treat that function as a C function
> instead of a C++ function. In the header file, try this:
>
> #if defined(__cplusplus)
> extern "C" {
> #endif
> (...prototypes go here...)
> #if defined(__cplusplus)
> }
> #endif
>
> Nick Zitzmann
> <http://www.chronosnet.com/>
>
>

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

This email sent to email@hidden

References: 
 >Re: Miss #include <vector> (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Re: My little file copy/backup program
  • Next by Date: Re: Tables created in code have different row height from those created in IB
  • Previous by thread: Re: Miss #include <vector>
  • Next by thread: NSTreeController selected object changing my model
  • Index(es):
    • Date
    • Thread