| Hi,
Now I've compiled portaudio v18 successfully (aparently), but when attempting
to build csound5 with port audio, I get the following at the end:
gcc -DCSOUND_WITH_API -g -O2 -DHAVE_IO_H -DHAVE_FCNTL_H -DHAVE_UNISTD_H -
DHAVE_MALLOC_H -DHAVE_SYS_TIME_H -DHAVE_STRING_H -DHAVE_STRINGS_H -
DHAVE_DIRENT_H -DHAVE_ITOA -g -O2 -Wall -D_WIN32 -DWIN32 -DHAVE_STRING_H -
DPIPES -DOS_IS_WIN32 -DRTAUDIO -DBETA -IC:\Dev-Cpp\include -IC:\Dev-
Cpp\libsndfile-1.0.10pre4\src -IC:\Python233\include -IC:\msys\1.0\include -
IC:\Dev-Cpp\portaudio_v18_1\pa_common -IC:\Dev-Cpp\boost_1_31_0 -IC:\Dev-
Cpp\boost_1_31_oost -I. -IH -ISDIF -I\usr\local\include -I\usr\include -c -o
InOut\rtpa.o InOut\rtpa.c
In file included from H/cs.h:34,
from InOut/rtpa.c:9:
H/csoundCore.h:764:1: warning: "__cdecl" redefined
InOut/rtpa.c:1:1: warning: this is the location of the previous definition
InOut/rtpa.c: In function `recopen_':
InOut/rtpa.c:59: storage size of `paStreamParameters_' isn't known
InOut/rtpa.c:80: warning: passing arg 5 of `Pa_OpenStream' makes pointer from
integer without a cast
InOut/rtpa.c:80: too few arguments to function `Pa_OpenStream'
InOut/rtpa.c:59: warning: unused variable `paStreamParameters_'
InOut/rtpa.c: In function `listPortAudioDevices':
InOut/rtpa.c:90: `PaDeviceIndex' undeclared (first use in this function)
InOut/rtpa.c:90: (Each undeclared identifier is reported only once
InOut/rtpa.c:90: for each function it appears in.)
InOut/rtpa.c:90: parse error before "deviceIndex"
InOut/rtpa.c:94: `deviceCount' undeclared (first use in this function)
InOut/rtpa.c:94: warning: implicit declaration of function `Pa_GetDeviceCount'
InOut/rtpa.c:96: `deviceIndex' undeclared (first use in this function)
InOut/rtpa.c:97: warning: assignment discards qualifiers from pointer target
type
InOut/rtpa.c:105: structure has no member named `defaultSampleRate'
InOut/rtpa.c: In function `playopen_':
InOut/rtpa.c:113: storage size of `paStreamParameters_' isn't known
InOut/rtpa.c:145: warning: passing arg 5 of `Pa_OpenStream' makes pointer from
integer without a cast
InOut/rtpa.c:145: too few arguments to function `Pa_OpenStream'
InOut/rtpa.c:113: warning: unused variable `paStreamParameters_'
InOut/rtpa.c: In function `rtrecord_':
InOut/rtpa.c:170: warning: implicit declaration of function `Pa_ReadStream'
InOut/rtpa.c: In function `rtplay_':
InOut/rtpa.c:198: warning: implicit declaration of function `Pa_WriteStream'
scons: building terminated because of errors.
scons: *** [InOut\rtpa.o] Error 1
Do I need to use version 19 of portaudio? It's not clear in the docs, and from
what I see v19 is still beta.
Thanks,
Andres |