C++ externals

Jan 25, 2009 at 6:08pm

C++ externals

I have been learning how to write max/msp externals. I noted that they have to be in C

Can we write them using C++? Is there any tutorial how to write them in C++?

#41933
Jan 25, 2009 at 6:20pm

I am very much interested in this, for several reasons:

1. CUDA ‘C’ API for NVIDIA

2. For Mac OS X: XCode C++

3. For Windows: C++

Is there someone at C74 listening that can answer this.

-r

On Jan 25, 2009, at 1:08 PM, janaka wrote:

>
> I have been learning how to write max/msp externals. I noted that
> they have to be in C
>
> Can we write them using C++? Is there any tutorial how to write them
> in C++?
>
>

#149751
Jan 25, 2009 at 6:31pm

You can certainly write max/jitter objects in C++, but the interface
to Maxland has to be C-like. For an example that may be a bit
intimidating if you’re not too familiar with templates, see

http://www.mat.ucsb.edu/~wakefield/maxcpp.htm

wes

On Sun, Jan 25, 2009 at 10:20 AM, Robert Thompson
wrote:
> I am very much interested in this, for several reasons:
>
> 1. CUDA ‘C’ API for NVIDIA
>
> 2. For Mac OS X: XCode C++
>
> 3. For Windows: C++
>
> Is there someone at C74 listening that can answer this.
>
> -r
>
>
> On Jan 25, 2009, at 1:08 PM, janaka wrote:
>
>>
>> I have been learning how to write max/msp externals. I noted that they
>> have to be in C
>>
>> Can we write them using C++? Is there any tutorial how to write them in
>> C++?
>>
>>
>
>
>
>

#149752

You must be logged in to reply to this topic.