Hi all,
i'm having problems compiling pd 0.42 on OSX 10.6 (Snow Leopard).
At the first attempt, i got some errors with finding basic header files
like "stdlib.h".
Turned out that the configure script contained a wrong -isysroot flag in
this line:
MORECFLAGS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk
The folder did not exists on my system, so i changed it to
/Developer/SDKs/MacOSX10.6.sdk.
After changing this, the compiler stops with the following error:
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: At top level:
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2125: error: expected
‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before
‘BlockWhileAudioUnitIsRunning’
../portaudio/src/hostapi/coreaudio/pa_mac_core.c: In function ‘StopStream’:
../portaudio/src/hostapi/coreaudio/pa_mac_core.c:2157: warning: implicit
declaration of function ‘BlockWhileAudioUnitIsRunning’
lipo: can't figure out the architecture type of:
/var/folders/KX/KXFfopgIHmmf2rIFIKIJpE+++TI/-Tmp-//ccVrmJvS.out
make: *** [../portaudio/src/hostapi/coreaudio/pa_mac_core.o] Error 1
Seems to be portaudio related, so i checked out the latest svn version
of portaudio and compiled it separately, which works fine.
Has anyone else encountered this issue?
thanks,
-robert
ps:
My compiler version:
gcc --version
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646) (dot 1)