[PD] OSX compile problem
chris clepper
cclepper at artic.edu
Sat Sep 28 00:16:39 CEST 2002
open m_pd.h in the /src dir. scroll down to the bottom of the file
and you will see this:
#ifdef MACOSX
#define cabs() smerdyakov(void)
#endif
comment or delete it.
cgc
>Hello, all! After a bit of a dormant period, I'm trying to get pd
>to compile on my OSX box (10.2, all recent updates as far as I
>know). I get this problem when I try to compile:
>
>cc -DPD -DUNIX -Wall -W -Wstrict-prototypes -Werror -Wno-unused
>-Wno-parentheses -Wno-switch -O2 -DMACOSX -I/usr/X11R6/include
>-I../portaudio/pa_common -I../portaudio/pablio
>-I../portaudio/portmidi-macosx -Wno-error
>-DINSTALL_PREFIX=\"/usr/local\" -I. -c -o ../obj/g_text.o g_text.c
>/usr/include/architecture/ppc/math.h:440: too many args (1) to macro
>'cabs' (0 expected)
>cpp-precomp: warning: errors during smart preprocessing, retrying in
>basic mode
>make: *** [g_text.o] Error 1
>
>I'm totally baffled about that header file - the complex abs macro
>'cabs' _does_ take an argument:
>
>[lasa:~/runtemp/pd-0.35-0/src] josh% grep cabs
>/usr/include/architecture/ppc/math.h
>extern double cabs ( _complex z );
>
>Is there something else that's wrong? The only caveat I can find
>for OSX is that I need to have Tcl installed - I have it in two
>different places. :) Anybody have a suggestion?
>
>Thanks!!
>--
>Joshua McFadden
>http://mindsound.org/
>
>
>_______________________________________________
>PD-list mailing list
>PD-list at iem.kug.ac.at
>http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20020927/7f31e4df/attachment.htm>
More information about the Pd-list
mailing list