[PD] Install object on OSX

Olaf Matthes olaf.matthes at gmx.de
Thu Jan 30 12:30:15 CET 2003


Hi Alex,

try to delete the line "#include <math.h>" from timebang.c. This include is
not needed for timebang....
You also have to type "make darwin" (instead of just "make") otherwise the
system would attempt to build the Linux version.

Olaf

Alex from Idoia schrieb:

> Hello,
> I have downloaded the Developer Tools from apple in order to install
> external object using make command line.
> After installing the package I tried to install the timebang object and
> I got the following:
>
> Last login: Thu Jan 30 11:00:57 on ttyp1
> Welcome to Darwin!
> [Alexs-Computer:~] alex% cd /usr/local/pd/extra/timebang
> [Alexs-Computer:pd/extra/timebang] alex% make clean
> rm -f *.o *.pd_* so_locations
> [Alexs-Computer:pd/extra/timebang] alex% make
> cc -O2 -Wall -DPD -fPIC -DPD -DUNIX -O2 -funroll-loops
> -fomit-frame-pointer -Wall -W -Wshadow -Wstrict-prototypes -Werror
> -Wno-unused -Wno-parentheses -Wno-switch -I../../src  -c timebang.c
> cc1: warnings being treated as errors
> In file included from /usr/include/math.h:24,
>                   from timebang.c:27:
> /usr/include/architecture/ppc/math.h:228: warning: declaration of `exp'
> shadows a global declaration
> /usr/include/architecture/ppc/math.h:214: warning: shadowed declaration
> is here
> /usr/include/architecture/ppc/math.h:229: warning: declaration of `exp'
> shadows a global declaration
> /usr/include/architecture/ppc/math.h:214: warning: shadowed declaration
> is here
> make: *** [timebang.pd_linux] Error 1
> [Alexs-Computer:pd/extra/timebang] alex% make install
> cp help-*.pd ../../doc/5.reference
> cp: help-*.pd: No such file or directory
> make: *** [install] Error 1
> [Alexs-Computer:pd/extra/timebang] alex%
>
> Can somebody explain why I got those problems ?
>
> _______________________________________________
> PD-list mailing list
> PD-list at iem.kug.ac.at
> http://iem.kug.ac.at/cgi-bin/mailman/listinfo/pd-list





More information about the Pd-list mailing list