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:
http://puredata.info/docs/developer
.hc
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
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):
- 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:
- I built an Xcode project from the "standard tool" template
- I copied the helloworld-code into helloworld.c
- I imported m_pd.h into the project
- I added the "-undefined dynamic_lookup" flag
- I set the product name to helloworld.pd_darwin
- 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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
Thomas Grill http://grrrr.org
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
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