forgive me if this topic has come up before, a search returned no hits. i'm wondering if anyone's managed to build pd or pd-extended in the haiku operating system yet? on the whole, it seems a system built from the ground up for dataflow programming, and with the way media is handled on the system, pd would be just perfect. i've only started running haiku, myself, and am still figuring out the system, so i haven't tried it yet (so many things to try, still), so i figured i'd ask here.
-
Compiling in haiku?
-
no dice in either gcc2 or gcc4. config runs fine, make spits out "s_main.c:367:50: error: 'API_DEFSTRING' undeclared here (not in a function)", then quits. good times.
-
maybe this will help http://lists.puredata.info/pipermail/pd-dev/2003-11/001747.html however in the source I have (0.44) that should get defined as "dummy audio" (if nothing else) in s_stuff.h.
I see it was actually changed since 43.4, you're probably using that. Basically it's a matter of telling pd what audio API to use. You might have to hack at the makefile/src quite a bit; good luck -
thanks, i've been able to make some progress as a result, however i've hit a new error divergent from the linked freebsd attempt:
s_inter.c:219:35: error: unknown type name 'sig_t'
no clue what to do with that.
-
make sure you include the directory with signal.h
edit: sorry actually sig_t might not be defined in your signal.h. This part might be tricky without knowing c, but maybe you can replace it by studying older pd source code, I think it used to use something that Haiku can (sighandler_t instead of sig_t)
http://comments.gmane.org/gmane.comp.multimedia.puredata.devel/7419