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

Thomas Grill gr at grrrr.org
Wed Nov 12 14:03:56 UTC 2014


Thanks Arshia, i'll see what i can do! best, Thomas

--
Thomas Grill
http://grrrr.org



Am 26.10.2014 um 09:57 schrieb Arshia Cont <Arshia.Cont at ircam.fr>:

> I believe that Carthach is implementing an object calling to Buffers.. That’s why uncommenting the dirty method is useful for him.
> 
> That said, for non-DSP objects that use specific Buffer paradigms of Max 6.1+, you can still get around them in Flext by using FLEXT_SYS pre-processors and writing Max-specific and Pd-specific codes. Buffer handling has significantly changed since Max 6.1.4+. Though some basic functionalities are still backward compatible, I believe everyone should consider using the new ones!
> 
> For x64 objects and Max, unfortunately we couldn’t find any workaround especially if you want to make FAT objects. We had to rewrite the object API completely for Max. Or maybe I’m wrong.. It’s good to know if some one has achieved this without removing Flext… .
> 
> 
> 
> 
> On 13 Oct 2014, at 23:29, Cárthach Ó Nuanáin <carthach.onuanain at upf.edu> wrote:
> 
>> 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
>> 
>> _______________________________________________
>> 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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://grrrr.org/pipermail/flext/attachments/20141112/4ae39411/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://grrrr.org/pipermail/flext/attachments/20141112/4ae39411/attachment-0001.sig>


More information about the flext mailing list