Writing Mach-O externals with flext and XCode

Jan 20, 2006 at 8:48pm

Writing Mach-O externals with flext and XCode

Hi, is it possible to create Mach-O externals in C++ for Max/MSP 4.5 or
higher using flext and XCode?
Has anybody done this?

On the flext documentation only Pd Mach-O externals are mentioned.
Max/MSP externals are done using CodeWarrior, not XCode and for the old mac
binary format.

Thanks

Rodrigo F. Cadiz
rcadiz@gmail.com

#24014
Jan 21, 2006 at 8:16pm

Moving this thread to the Dev forum…

#68843
Jan 22, 2006 at 4:05pm

On Jan 20, 2006, at 12:48 PM, Rodrigo Cadiz wrote:

> Hi, is it possible to create Mach-O externals in C++ for Max/MSP
> 4.5 or higher using flext and XCode?
> Has anybody done this?

Did you try searching the webstie for xcode?

best,
Tim

#68844
Feb 2, 2006 at 4:55pm

Hi Rodrigo,
sorry for replying late, but the mass of mails on the Max list lets me
only read them in filtered bunches once a month. So everyone, for
flext-related question please either write to the flext mailing list, or
CC me in your mail to this list.

> Hi, is it possible to create Mach-O externals in C++ for Max/MSP 4.5
> or higher using flext and XCode?
> Has anybody done this?

First, i’d like to say that it’s easiest to build your externals using
the flext build system… see build.txt in the flext distribution.
Otherwise you can easily use Xcode – it’s very straightforward.

1) build flext and install libraries and headers (sh build.sh max gcc
/ sudo sh build.sh max gcc install )
2) in your xcode project, specify an additional include directory so
that the flext header files are found (normally in /usr/local/flext) and
make a reference to the flavor of flext library you want to use
(static/dynamic, deployment/debug) or specify it directly as a linker
option (-lflext-max).

The next flext release will probably build to a framework.

best greetings,
Thomas


Thomas Grill

http://grrrr.org

#68845

You must be logged in to reply to this topic.