Re: [PD] Compiling pd svn on OSX 10.6

2009-11-19 Thread Hans-Christoph Steiner


Yes, recently, check the list archives.  Basically, you need to update  
portaudio or use the pd-gui-rewrite branch.


.hc

On Nov 19, 2009, at 4:55 PM, Robert Gründler wrote:


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)




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list






As we enjoy great advantages from inventions of others, we should be  
glad of an opportunity to serve others by any invention of ours; and  
this we should do freely and generously. - Benjamin Franklin




___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list


[PD] Compiling pd svn on OSX 10.6

2009-11-19 Thread Robert Gründler

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)



___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list