Re: Miss #include <vector>
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