Csound Csound-dev Csound-tekno Search About

[Cs-dev] Develop branch build failure

Date2014-04-03 11:18
FromAnders Genell
Subject[Cs-dev] Develop branch build failure
AttachmentsNone  None  
It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.

I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:


Linking C shared module ../librtjack.so
[ 63%] Built target rtjack
[ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
/home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
/home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
/home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
/home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
/home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
/home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
/home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
/home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
/home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
/home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
/home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
/home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
/home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
/home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
/home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
/home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
/home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
/home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
/home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
/home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
/home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: declared here
/home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
/home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
/home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
/home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
/home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
/home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
/home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
/home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: declared here
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
/home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
/usr/include/portaudio.h:325:9: note: declared here
make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
make: *** [all] Error 2

Regards,
/Anders


Date2014-04-03 11:25
FromVictor Lazzarini
SubjectRe: [Cs-dev] Develop branch build failure
It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 11:18, Anders Genell  wrote:

> It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> 
> I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> 
> 
> Linking C shared module ../librtjack.so
> [ 63%] Built target rtjack
> [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> make: *** [all] Error 2
> 
> Regards,
> /Anders
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-03 12:22
FromAnders Genell
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  
Thank you, Victor!
It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.

Regards,
Anders


On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:

> It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
>
> I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
>
>
> Linking C shared module ../librtjack.so
> [ 63%] Built target rtjack
> [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> /usr/include/portaudio.h:325:9: note: declared here
> make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> make: *** [all] Error 2
>
> Regards,
> /Anders
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-04-03 12:56
FromVictor Lazzarini
SubjectRe: [Cs-dev] Develop branch build failure
Maybe the stock portaudio is version 18 instead of 19.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 12:22, Anders Genell  wrote:

> Thank you, Victor!
> It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> 
> Regards,
> Anders
> 
> 
> On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini  wrote:
> It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 3 Apr 2014, at 11:18, Anders Genell  wrote:
> 
> > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> >
> > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> >
> >
> > Linking C shared module ../librtjack.so
> > [ 63%] Built target rtjack
> > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Regards,
> > /Anders
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-03 13:05
FromAnders Genell
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  


On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
Maybe the stock portaudio is version 18 instead of 19.

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 12:22, Anders Genell <anders.genell@gmail.com> wrote:

> Thank you, Victor!
> It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
>
> Regards,
> Anders
>
>
> On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:
>
> > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> >
> > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> >
> >
> > Linking C shared module ../librtjack.so
> > [ 63%] Built target rtjack
> > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > /usr/include/portaudio.h:325:9: note: declared here
> > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > make: *** [all] Error 2
> >
> > Regards,
> > /Anders
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-04-03 13:13
FromVictor Lazzarini
SubjectRe: [Cs-dev] Develop branch build failure
yes, the correct package is this

http://packages.ubuntu.com/precise/portaudio19-dev

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 13:05, Anders Genell  wrote:

> So it seems
> http://packages.ubuntu.com/raring/libportaudio-dev
> 
> 
> On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini  wrote:
> Maybe the stock portaudio is version 18 instead of 19.
> 
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
> 
> 
> 
> 
> On 3 Apr 2014, at 12:22, Anders Genell  wrote:
> 
> > Thank you, Victor!
> > It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> > I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> >
> > Regards,
> > Anders
> >
> >
> > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini  wrote:
> > It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> > ========================
> > Dr Victor Lazzarini
> > Senior Lecturer
> > NUI Maynooth, Ireland
> > victor dot lazzarini at nuim dot ie
> >
> >
> >
> >
> > On 3 Apr 2014, at 11:18, Anders Genell  wrote:
> >
> > > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> > >
> > > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> > >
> > >
> > > Linking C shared module ../librtjack.so
> > > [ 63%] Built target rtjack
> > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > Regards,
> > > /Anders
> > >
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
> 
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2014-04-03 13:18
FromAnders Genell
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  
Ah! It's obviously not in the raring repos...
I'll see if there is a ppa or other additional repo that has it.

Thanks,
/Anders


On Thu, Apr 3, 2014 at 2:13 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, the correct package is this

http://packages.ubuntu.com/precise/portaudio19-dev

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 13:05, Anders Genell <anders.genell@gmail.com> wrote:

> So it seems
> http://packages.ubuntu.com/raring/libportaudio-dev
>
>
> On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Maybe the stock portaudio is version 18 instead of 19.
>
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 3 Apr 2014, at 12:22, Anders Genell <anders.genell@gmail.com> wrote:
>
> > Thank you, Victor!
> > It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> > I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> >
> > Regards,
> > Anders
> >
> >
> > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> > ========================
> > Dr Victor Lazzarini
> > Senior Lecturer
> > NUI Maynooth, Ireland
> > victor dot lazzarini at nuim dot ie
> >
> >
> >
> >
> > On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:
> >
> > > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> > >
> > > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> > >
> > >
> > > Linking C shared module ../librtjack.so
> > > [ 63%] Built target rtjack
> > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > Regards,
> > > /Anders
> > >
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-04-03 13:19
FromAnders Genell
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  
Sorry, my bad, itIS in the repos, I was looking for libportaudio19-dev, but portaudio19-dev is there.
Weird to have a different naming scheme like that...

Sorry for the noise,

/Anders


On Thu, Apr 3, 2014 at 2:18 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah! It's obviously not in the raring repos...
I'll see if there is a ppa or other additional repo that has it.

Thanks,
/Anders


On Thu, Apr 3, 2014 at 2:13 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, the correct package is this

http://packages.ubuntu.com/precise/portaudio19-dev

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 13:05, Anders Genell <anders.genell@gmail.com> wrote:

> So it seems
> http://packages.ubuntu.com/raring/libportaudio-dev
>
>
> On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Maybe the stock portaudio is version 18 instead of 19.
>
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 3 Apr 2014, at 12:22, Anders Genell <anders.genell@gmail.com> wrote:
>
> > Thank you, Victor!
> > It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> > I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> >
> > Regards,
> > Anders
> >
> >
> > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> > ========================
> > Dr Victor Lazzarini
> > Senior Lecturer
> > NUI Maynooth, Ireland
> > victor dot lazzarini at nuim dot ie
> >
> >
> >
> >
> > On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:
> >
> > > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> > >
> > > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> > >
> > >
> > > Linking C shared module ../librtjack.so
> > > [ 63%] Built target rtjack
> > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > Regards,
> > > /Anders
> > >
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2014-04-03 13:30
FromSteven Yi
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  

Perhaps we need to add version detection for the Portaudio dependency check. Could you add an issue at http://github.com/csound/csound/issues for this?

Thanks,
Steven

On Apr 3, 2014 8:20 AM, "Anders Genell" <anders.genell@gmail.com> wrote:
Sorry, my bad, itIS in the repos, I was looking for libportaudio19-dev, but portaudio19-dev is there.
Weird to have a different naming scheme like that...

Sorry for the noise,

/Anders


On Thu, Apr 3, 2014 at 2:18 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah! It's obviously not in the raring repos...
I'll see if there is a ppa or other additional repo that has it.

Thanks,
/Anders


On Thu, Apr 3, 2014 at 2:13 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, the correct package is this

http://packages.ubuntu.com/precise/portaudio19-dev

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 13:05, Anders Genell <anders.genell@gmail.com> wrote:

> So it seems
> http://packages.ubuntu.com/raring/libportaudio-dev
>
>
> On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Maybe the stock portaudio is version 18 instead of 19.
>
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 3 Apr 2014, at 12:22, Anders Genell <anders.genell@gmail.com> wrote:
>
> > Thank you, Victor!
> > It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> > I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> >
> > Regards,
> > Anders
> >
> >
> > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> > ========================
> > Dr Victor Lazzarini
> > Senior Lecturer
> > NUI Maynooth, Ireland
> > victor dot lazzarini at nuim dot ie
> >
> >
> >
> >
> > On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:
> >
> > > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> > >
> > > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> > >
> > >
> > > Linking C shared module ../librtjack.so
> > > [ 63%] Built target rtjack
> > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > Regards,
> > > /Anders
> > >
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


Date2014-04-03 13:50
FromAnders Genell
SubjectRe: [Cs-dev] Develop branch build failure
AttachmentsNone  None  
I think I just did

Thanks,
Anders


On Thu, Apr 3, 2014 at 2:30 PM, Steven Yi <stevenyi@gmail.com> wrote:

Perhaps we need to add version detection for the Portaudio dependency check. Could you add an issue at http://github.com/csound/csound/issues for this?

Thanks,
Steven

On Apr 3, 2014 8:20 AM, "Anders Genell" <anders.genell@gmail.com> wrote:
Sorry, my bad, itIS in the repos, I was looking for libportaudio19-dev, but portaudio19-dev is there.
Weird to have a different naming scheme like that...

Sorry for the noise,

/Anders


On Thu, Apr 3, 2014 at 2:18 PM, Anders Genell <anders.genell@gmail.com> wrote:
Ah! It's obviously not in the raring repos...
I'll see if there is a ppa or other additional repo that has it.

Thanks,
/Anders


On Thu, Apr 3, 2014 at 2:13 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
yes, the correct package is this

http://packages.ubuntu.com/precise/portaudio19-dev

========================
Dr Victor Lazzarini
Senior Lecturer
NUI Maynooth, Ireland
victor dot lazzarini at nuim dot ie




On 3 Apr 2014, at 13:05, Anders Genell <anders.genell@gmail.com> wrote:

> So it seems
> http://packages.ubuntu.com/raring/libportaudio-dev
>
>
> On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> Maybe the stock portaudio is version 18 instead of 19.
>
> ========================
> Dr Victor Lazzarini
> Senior Lecturer
> NUI Maynooth, Ireland
> victor dot lazzarini at nuim dot ie
>
>
>
>
> On 3 Apr 2014, at 12:22, Anders Genell <anders.genell@gmail.com> wrote:
>
> > Thank you, Victor!
> > It was indeed portaudio. I did have the stock libportaudio-dev from the raring repos, but it did not work. I just built portaudio from the latest stable tarball and Bob is now the brother of my father.
> > I guess this could be mentioned somwhere along some hints or build instructions if anyone else stumbles upon the same issue.
> >
> > Regards,
> > Anders
> >
> >
> > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini <Victor.Lazzarini@nuim.ie> wrote:
> > It’s a portaudio issue, maybe you don’t have it installed. You can switch it off in the cmake configuration.
> > ========================
> > Dr Victor Lazzarini
> > Senior Lecturer
> > NUI Maynooth, Ireland
> > victor dot lazzarini at nuim dot ie
> >
> >
> >
> >
> > On 3 Apr 2014, at 11:18, Anders Genell <anders.genell@gmail.com> wrote:
> >
> > > It might very well be me missing some dependencies, but on the off chance I don't, I thought I'd report here.
> > >
> > > I just now pulled (for the first time from github) from develop branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the following error:
> > >
> > >
> > > Linking C shared module ../librtjack.so
> > > [ 63%] Built target rtjack
> > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown type name ‘PaHostApiTypeId’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘initPortAudio’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘listDevices’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each undeclared identifier is reported only once for each function it appears in
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘selectPortAudioDevice’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected ‘)’ before ‘i’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected ‘)’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error: ‘PaDeviceInfo’ has no member named ‘defaultSampleRate’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘paBlockingReadWriteOpen’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected expression before ‘)’ token
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error: ‘paBlockingReadWriteStreamCallback’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown type name ‘PaStreamCallbackTimeInfo’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown type name ‘PaStreamCallbackFlags’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function ‘set_device_params’:
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown type name ‘PaStreamParameters’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error: ‘PaStreamParameters’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: ‘paALSA’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error: ‘paUseHostApiSpecificDeviceSpecification’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request for member ‘hostApiSpecificStreamInfo’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request for member ‘device’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error: ‘PaDeviceIndex’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected ‘;’ before ‘devNum’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request for member ‘channelCount’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request for member ‘sampleFormat’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request for member ‘suggestedLatency’ in something not a structure or union
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: ‘PaTime’ undeclared (first use in this function)
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 2 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaDeviceID’ but argument is of type ‘int *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 3 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 5 of ‘Pa_OpenStream’ makes pointer from integer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘void *’ but argument is of type ‘long unsigned int’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 7 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘int’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning: passing argument 8 of ‘Pa_OpenStream’ makes integer from pointer without a cast [enabled by default]
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: expected ‘PaSampleFormat’ but argument is of type ‘void *’
> > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few arguments to function ‘Pa_OpenStream’
> > > In file included from /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
> > > /usr/include/portaudio.h:325:9: note: declared here
> > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
> > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
> > > make: *** [all] Error 2
> > >
> > > Regards,
> > > /Anders
> > >
> > > ------------------------------------------------------------------------------
> > > _______________________________________________
> > > Csound-devel mailing list
> > > Csound-devel@lists.sourceforge.net
> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
> >
> > ------------------------------------------------------------------------------
> > _______________________________________________
> > Csound-devel mailing list
> > Csound-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>
> ------------------------------------------------------------------------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel


------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



Date2014-04-03 13:53
FromSteven Yi
SubjectRe: [Cs-dev] Develop branch build failure
I see the ticket, thanks!

On Thu, Apr 3, 2014 at 8:50 AM, Anders Genell  wrote:
> I think I just did
>
> Thanks,
> Anders
>
>
> On Thu, Apr 3, 2014 at 2:30 PM, Steven Yi  wrote:
>>
>> Perhaps we need to add version detection for the Portaudio dependency
>> check. Could you add an issue at http://github.com/csound/csound/issues for
>> this?
>>
>> Thanks,
>> Steven
>>
>> On Apr 3, 2014 8:20 AM, "Anders Genell"  wrote:
>>>
>>> Sorry, my bad, itIS in the repos, I was looking for libportaudio19-dev,
>>> but portaudio19-dev is there.
>>> Weird to have a different naming scheme like that...
>>>
>>> Sorry for the noise,
>>>
>>> /Anders
>>>
>>>
>>> On Thu, Apr 3, 2014 at 2:18 PM, Anders Genell 
>>> wrote:
>>>>
>>>> Ah! It's obviously not in the raring repos...
>>>> I'll see if there is a ppa or other additional repo that has it.
>>>>
>>>> Thanks,
>>>>
>>>> /Anders
>>>>
>>>>
>>>>
>>>> On Thu, Apr 3, 2014 at 2:13 PM, Victor Lazzarini
>>>>  wrote:
>>>>>
>>>>> yes, the correct package is this
>>>>>
>>>>> http://packages.ubuntu.com/precise/portaudio19-dev
>>>>>
>>>>> ========================
>>>>> Dr Victor Lazzarini
>>>>> Senior Lecturer
>>>>> NUI Maynooth, Ireland
>>>>> victor dot lazzarini at nuim dot ie
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On 3 Apr 2014, at 13:05, Anders Genell  wrote:
>>>>>
>>>>> > So it seems
>>>>> > http://packages.ubuntu.com/raring/libportaudio-dev
>>>>> >
>>>>> >
>>>>> > On Thu, Apr 3, 2014 at 1:56 PM, Victor Lazzarini
>>>>> >  wrote:
>>>>> > Maybe the stock portaudio is version 18 instead of 19.
>>>>> >
>>>>> > ========================
>>>>> > Dr Victor Lazzarini
>>>>> > Senior Lecturer
>>>>> > NUI Maynooth, Ireland
>>>>> > victor dot lazzarini at nuim dot ie
>>>>> >
>>>>> >
>>>>> >
>>>>> >
>>>>> > On 3 Apr 2014, at 12:22, Anders Genell 
>>>>> > wrote:
>>>>> >
>>>>> > > Thank you, Victor!
>>>>> > > It was indeed portaudio. I did have the stock libportaudio-dev from
>>>>> > > the raring repos, but it did not work. I just built portaudio from the
>>>>> > > latest stable tarball and Bob is now the brother of my father.
>>>>> > > I guess this could be mentioned somwhere along some hints or build
>>>>> > > instructions if anyone else stumbles upon the same issue.
>>>>> > >
>>>>> > > Regards,
>>>>> > > Anders
>>>>> > >
>>>>> > >
>>>>> > > On Thu, Apr 3, 2014 at 12:25 PM, Victor Lazzarini
>>>>> > >  wrote:
>>>>> > > It's a portaudio issue, maybe you don't have it installed. You can
>>>>> > > switch it off in the cmake configuration.
>>>>> > > ========================
>>>>> > > Dr Victor Lazzarini
>>>>> > > Senior Lecturer
>>>>> > > NUI Maynooth, Ireland
>>>>> > > victor dot lazzarini at nuim dot ie
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > On 3 Apr 2014, at 11:18, Anders Genell 
>>>>> > > wrote:
>>>>> > >
>>>>> > > > It might very well be me missing some dependencies, but on the
>>>>> > > > off chance I don't, I thought I'd report here.
>>>>> > > >
>>>>> > > > I just now pulled (for the first time from github) from develop
>>>>> > > > branch and tried to build on my 64-bit Ubuntu 13.04 machine and had the
>>>>> > > > following error:
>>>>> > > >
>>>>> > > >
>>>>> > > > Linking C shared module ../librtjack.so
>>>>> > > > [ 63%] Built target rtjack
>>>>> > > > [ 63%] Building C object InOut/CMakeFiles/rtpa.dir/rtpa.c.o
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:37:5: error: unknown
>>>>> > > > type name 'PaHostApiTypeId'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:63:5: error: unknown
>>>>> > > > type name 'PaStreamParameters'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:64:5: error: unknown
>>>>> > > > type name 'PaStreamParameters'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function
>>>>> > > > 'initPortAudio':
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:96:16: warning: cast to
>>>>> > > > pointer from integer of different size [-Wint-to-pointer-cast]
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function
>>>>> > > > 'listDevices':
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: error:
>>>>> > > > 'PaDeviceIndex' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:52: note: each
>>>>> > > > undeclared identifier is reported only once for each function it appears in
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:116:67: error: expected
>>>>> > > > ')' before 'i'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:124:67: error: expected
>>>>> > > > ')' before 'i'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function
>>>>> > > > 'selectPortAudioDevice':
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:54: error:
>>>>> > > > 'PaDeviceIndex' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:187:69: error: expected
>>>>> > > > ')' before 'i'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:197:65: error: expected
>>>>> > > > ')' before 'devNum'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:206:49: error:
>>>>> > > > 'PaDeviceInfo' has no member named 'defaultSampleRate'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:212:51: error: unknown
>>>>> > > > type name 'PaStreamParameters'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:238:47: error: unknown
>>>>> > > > type name 'PaStreamCallbackTimeInfo'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:239:47: error: unknown
>>>>> > > > type name 'PaStreamCallbackFlags'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function
>>>>> > > > 'paBlockingReadWriteOpen':
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:265:59: error: request
>>>>> > > > for member 'channelCount' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:278:61: error: request
>>>>> > > > for member 'channelCount' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:319:48: error: request
>>>>> > > > for member 'suggestedLatency' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:320:52: error: request
>>>>> > > > for member 'suggestedLatency' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:321:48: error: request
>>>>> > > > for member 'suggestedLatency' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:322:49: error: request
>>>>> > > > for member 'suggestedLatency' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:46: error:
>>>>> > > > 'PaStreamParameters' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:331:65: error: expected
>>>>> > > > expression before ')' token
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:341:25: error:
>>>>> > > > 'paBlockingReadWriteStreamCallback' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning:
>>>>> > > > passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'void *' but
>>>>> > > > argument is of type 'long unsigned int'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: warning:
>>>>> > > > passing argument 8 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'PaSampleFormat'
>>>>> > > > but argument is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:342:25: error: too few
>>>>> > > > arguments to function 'Pa_OpenStream'
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: declared here
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: At top level:
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:379:50: error: unknown
>>>>> > > > type name 'PaStreamCallbackTimeInfo'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:380:46: error: unknown
>>>>> > > > type name 'PaStreamCallbackFlags'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c: In function
>>>>> > > > 'set_device_params':
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:623:5: error: unknown
>>>>> > > > type name 'PaStreamParameters'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:629:37: error:
>>>>> > > > 'PaStreamParameters' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:630:17: error: request
>>>>> > > > for member 'hostApiSpecificStreamInfo' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:641:26: error: 'paALSA'
>>>>> > > > undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:19: error: request
>>>>> > > > for member 'device' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:644:29: error:
>>>>> > > > 'paUseHostApiSpecificDeviceSpecification' undeclared (first use in this
>>>>> > > > function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:645:19: error: request
>>>>> > > > for member 'hostApiSpecificStreamInfo' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:19: error: request
>>>>> > > > for member 'device' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:30: error:
>>>>> > > > 'PaDeviceIndex' undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:652:45: error: expected
>>>>> > > > ';' before 'devNum'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:654:17: error: request
>>>>> > > > for member 'channelCount' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:655:17: error: request
>>>>> > > > for member 'sampleFormat' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:17: error: request
>>>>> > > > for member 'suggestedLatency' in something not a structure or union
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:656:38: error: 'PaTime'
>>>>> > > > undeclared (first use in this function)
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning:
>>>>> > > > passing argument 2 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'PaDeviceID' but
>>>>> > > > argument is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning:
>>>>> > > > passing argument 3 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'int' but argument
>>>>> > > > is of type 'int *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning:
>>>>> > > > passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'void *' but
>>>>> > > > argument is of type 'long unsigned int'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning:
>>>>> > > > passing argument 7 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'int' but argument
>>>>> > > > is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: warning:
>>>>> > > > passing argument 8 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'PaSampleFormat'
>>>>> > > > but argument is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:665:33: error: too few
>>>>> > > > arguments to function 'Pa_OpenStream'
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: declared here
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning:
>>>>> > > > passing argument 2 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'PaDeviceID' but
>>>>> > > > argument is of type 'int *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning:
>>>>> > > > passing argument 3 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'int' but argument
>>>>> > > > is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning:
>>>>> > > > passing argument 5 of 'Pa_OpenStream' makes pointer from integer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'void *' but
>>>>> > > > argument is of type 'long unsigned int'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning:
>>>>> > > > passing argument 7 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'int' but argument
>>>>> > > > is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: warning:
>>>>> > > > passing argument 8 of 'Pa_OpenStream' makes integer from pointer without a
>>>>> > > > cast [enabled by default]
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: expected 'PaSampleFormat'
>>>>> > > > but argument is of type 'void *'
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:671:33: error: too few
>>>>> > > > arguments to function 'Pa_OpenStream'
>>>>> > > > In file included from
>>>>> > > > /home/anders/Src/csound6-git/InOut/rtpa.c:31:0:
>>>>> > > > /usr/include/portaudio.h:325:9: note: declared here
>>>>> > > > make[2]: *** [InOut/CMakeFiles/rtpa.dir/rtpa.c.o] Error 1
>>>>> > > > make[1]: *** [InOut/CMakeFiles/rtpa.dir/all] Error 2
>>>>> > > > make: *** [all] Error 2
>>>>> > > >
>>>>> > > > Regards,
>>>>> > > > /Anders
>>>>> > > >
>>>>> > > >
>>>>> > > > ------------------------------------------------------------------------------
>>>>> > > > _______________________________________________
>>>>> > > > Csound-devel mailing list
>>>>> > > > Csound-devel@lists.sourceforge.net
>>>>> > > > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> > >
>>>>> > >
>>>>> > >
>>>>> > > ------------------------------------------------------------------------------
>>>>> > > _______________________________________________
>>>>> > > Csound-devel mailing list
>>>>> > > Csound-devel@lists.sourceforge.net
>>>>> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> > >
>>>>> > >
>>>>> > > ------------------------------------------------------------------------------
>>>>> > > _______________________________________________
>>>>> > > Csound-devel mailing list
>>>>> > > Csound-devel@lists.sourceforge.net
>>>>> > > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >
>>>>> >
>>>>> >
>>>>> > ------------------------------------------------------------------------------
>>>>> > _______________________________________________
>>>>> > Csound-devel mailing list
>>>>> > Csound-devel@lists.sourceforge.net
>>>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>> >
>>>>> >
>>>>> > ------------------------------------------------------------------------------
>>>>> > _______________________________________________
>>>>> > Csound-devel mailing list
>>>>> > Csound-devel@lists.sourceforge.net
>>>>> > https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>>
>>>>>
>>>>>
>>>>> ------------------------------------------------------------------------------
>>>>> _______________________________________________
>>>>> Csound-devel mailing list
>>>>> Csound-devel@lists.sourceforge.net
>>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>>
>>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Csound-devel mailing list
>>> Csound-devel@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>>
>>
>>
>> ------------------------------------------------------------------------------
>>
>> _______________________________________________
>> Csound-devel mailing list
>> Csound-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/csound-devel
>>
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Csound-devel mailing list
> Csound-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel
>

------------------------------------------------------------------------------
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net