Forums > Dev

Writing Mach-O externals with flext and XCode

January 20, 2006 | 8:48 pm

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


January 21, 2006 | 8:16 pm

Moving this thread to the Dev forum…


January 22, 2006 | 4:05 pm

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


February 2, 2006 | 4:55 pm

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


Viewing 4 posts - 1 through 4 (of 4 total)