[flext] Max 6.1, Mac OS 10.9 and flext externals

Cárthach Ó Nuanáin carthach.onuanain at upf.edu
Mon Oct 13 21:29:20 UTC 2014


Not entirely sure myself to be honest Thomas,

I think when you tell it that it's to be x64 it looks for a dsp64 specfic
processing method (which flext doesn't have yet) and requires a different
type of call to object_method which throws a compilation error.

This is what I gather from here:-
http://cycling74.com/sdk/MaxSDK-6.1.3/html/chapter_appendix_d.html
http://cycling74.com/sdk/MaxSDK-6.1.3/html/chapter_appendix_e.html

I was working on an external that doesn't require any audio so commenting
this line has seemingly allowed me to compile flext and build my non-DSP
centric object.

Cheer,
C

On 13 October 2014 21:34, Thomas Grill <gr at grrrr.org> wrote:

> Hi Cárthach,
> thanks for the tip. It's unclear to me how this can help with compilation
> problems. Can you elaborate on the modification a bit?
> best, Thomas
>
> 2014-10-13 13:27 GMT+03:00 Cárthach Ó Nuanáin <carthach.onuanain at upf.edu>:
>
>> A hack if you don't need MSP: you can comment out line 338 in flbuf.cpp
>>
>> //    object_method((t_object *)p,(t_symbol *)sym_dirty);
>>
>>
>>
>> On 29 September 2014 10:24, Stefano Papetti <stefano.papetti at zhdk.ch>
>> wrote:
>>
>>>  Thank you Thomas.
>>>
>>> Best,
>>> Stefano
>>>
>>>
>>> On 29/09/14 02:05, Thomas Grill wrote:
>>>
>>> Hi Stefano,
>>> I would think that needs some further introspection. I am not totally
>>> sure, but it seems that 64-bit externals have to use the 64-bit DSP API
>>> which flext currently doesn't support. Actually it will be quite hard to
>>> support it.
>>> Let's see.... i can look into it somewhen in late October, but i am very
>>> grateful for others contributing patches.
>>> all the best, Thomas
>>>
>>>  --
>>> Thomas Grill
>>> http://grrrr.org
>>>
>>>
>>>
>>>  Am 28.09.2014 um 20:28 schrieb Stefano Papetti <stefano.papetti at zhdk.ch
>>> >:
>>>
>>>  Dear all,
>>>
>>> can somebody confirm that currently the only way to use flext-based
>>> externals in Max 6.1 on Mac OS 10.9 is to set Max to run in 32-bit mode?
>>> Conversely my externals report the following error:
>>>
>>> external~: unable to load object bundle executable
>>>  2014-09-28 20:06:14.081 Max[20029:707] Error loading /Applications/Max
>>> 6.1/Cycling '74/external~.mxo/Contents/MacOS/external~:
>>> dlopen(/Applications/Max 6.1/Cycling
>>> '74/external~.mxo/Contents/MacOS/external~, 262): no suitable image found.
>>> Did find:
>>>      /Applications/Max 6.1/Cycling
>>> '74/external~.mxo/Contents/MacOS/external~: mach-o, but wrong architecture
>>>
>>> As far as I understand there's no other way, since flext doesn't support
>>> 64-bit Max API (i.e. compilation with ARCH=i386 x86_64 doesn't work).
>>> I don't need any 64-bit features btw, it's just a pity that one has to
>>> limit Max to 32-bit in order to run flext-based externals.
>>>
>>> Thanks,
>>> Stefano
>>>  _______________________________________________
>>> http://grrrr.org/ext/flext
>>>
>>> flext mailing list
>>> flext at grrrr.org
>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> http://grrrr.org/ext/flext
>>>
>>> flext mailing list
>>> flext at grrrr.org
>>> http://grrrr.org/cgi-bin/mailman/listinfo/flext
>>>
>>
>>
>
>
> --
> Thomas Grill
> http://grrrr.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20141013/24c10376/attachment.html>


More information about the flext mailing list