[PD] how to build externals in xcode?
hans at eds.org
Sat Jan 12 02:32:43 CET 2008
Once you figure this out, it would be very handy to have an Xcode+Pd
howto up on the site. The developer docs section is a wiki (mostly),
so you should be able to create and edit the page:
On Jan 11, 2008, at 8:13 AM, Thomas Grill wrote:
> 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
> 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 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,
>> PD-list at iem.at mailing list
>> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> Thomas Grill
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
Man has survived hitherto because he was too ignorant to know how to
realize his wishes. Now that he can realize them, he must either
change them, or perish. -William Carlos Williams
More information about the Pd-list