[PD] building on OSX

ronald kuivila rkuivila at wesleyan.edu
Wed Mar 9 11:35:40 CET 2011


Hi all,

I am new to Pd.  I downloaded the basic MSP release and tried to  
compile under OSX, but I get a complaint from lipo.
The problem seems to be I have the 10.5 SDK, so altering the -i flag  
to  /Developer/SDKs/MacOSX10.5.sdk solved the problem:

	cc -g -O2 -DPD  -Wall -W -Wstrict-prototypes -Wno-unused -Wno- 
parentheses -Wno-switch -DDL_OPEN -DMACOSX -DUNISTD
  -I/usr/X11R6/include         -I../portaudio/include -I../portaudio/ 
src/common         -I../portaudio/src/os/mac_osx/         -I../ 
portmidi/pm_common -I../portmidi/pm_mac         -I../portmidi/ 
porttime         -DUSEAPI_PORTAUDIO -DPA19 -DPA_USE_COREAUDIO - 
DNEWBUFFER
-isysroot /Developer/SDKs/MacOSX10.4u.sdk             -arch i386 -arch  
ppc -Wno-error -O2  -o ../bin/pd-watchdog s_watchdog.c


Is there some way to automate this choice in the makefile?

Cheers,

RJK



More information about the Pd-list mailing list