[PD] how to build externals in xcode?

Thomas Grill gr at grrrr.org
Fri Jan 11 14:13:15 CET 2008


Hi Andreas,
you can have a look at the xcode projects of my externals in the pd  
cvs (e.g. externals/grill/xsample).
The externals are flext-based but the settings should be quite the same.

gr~~~

Am 11.01.2008 um 11:57 schrieb Andreas Jäger:

> Hi everybody,
>
> I'm trying to build externals (for Mac OS X) in Xcode. Since I
> couldn't find much information on how to do that, it's basically just
> trial and - most of all - error. For the start, I tried to build the
> helloworld-Example from the external-tutorial. There are two main
> problems (probably related):
> 1. When I'm just trying to compile helloworld.c (alternatively main.c
> - which one ist right?), I get 6 or 7 error messages about some
> function calls that I can't determine
> 2. When using the linker flag "-undefined dynamic_lookup" I can
> compile the code without problems (maybe I'm just overriding them?).
> But after copiing the resulting helloworld.pd_darwin (is the name
> right?) pd crashes right after I tried to make a helloworld-Object.
>
> Maybe it'll help if I give you some short explanation of what I did
> at all:
>
> 1. I built an Xcode project from the "standard tool" template
> 2. I copied the helloworld-code into helloworld.c
> 3. I imported m_pd.h into the project
> 4. I added the "-undefined dynamic_lookup" flag
> 5. I set the product name to helloworld.pd_darwin
> 6. I compiled the code and copied the resulting helloworld.pd_darwin
> to/Library/Pd
>
> To complete the list: I'm using pd extended 0.39.3 on Mac OS X Tiger.
>
> Any ideas what's wrong?
>
> Thanks a lot in advance,
>
> Andreas
>
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
>

Thomas Grill
http://grrrr.org






More information about the Pd-list mailing list