using deimos.portaudio

2012-05-18 Thread Samuele Carcagno
Hi, I'm try to use the deimos portaudio bindings https://github.com/D-Programming-Deimos/portaudio I've managed to compile and run the test demo provided with the module. It seems to work fine. However, when I add this statement: PaStreamParameters outputParameters; that I need to specify t

Re: using deimos.portaudio

2012-05-18 Thread 1100110
On Fri, 18 May 2012 21:31:57 -0500, Samuele Carcagno wrote: Pa_OpenStream Does the result of calling Pa_GetVersionText() closely match the version of the library installed on your computer? I use Debian as well, and it's not exactly known for speedy updates... If your version is too old

Re: using deimos.portaudio

2012-05-18 Thread Samuele Carcagno
On Saturday, 19 May 2012 at 02:54:22 UTC, 1100110 wrote: On Fri, 18 May 2012 21:31:57 -0500, Samuele Carcagno wrote: Pa_OpenStream Does the result of calling Pa_GetVersionText() closely match the version of the library installed on your computer? I use Debian as well, and it's not exactl

Re: using deimos.portaudio

2012-05-18 Thread Samuele Carcagno
I get the same error on debian wheezy where the portaudio version is: PortAudio V19-devel (built Dec 7 2011 23:15:44) dmd pa_test2.d -L-lportaudio pa_test2.o: In function `_Dmain': pa_test2.d:(.text._Dmain+0x22): undefined reference to `_D6deimos9portaudio18PaStreamParameters6__initZ' collect

Re: using deimos.portaudio

2012-05-18 Thread Johannes Pfau
Am Sat, 19 May 2012 04:31:57 +0200 schrieb "Samuele Carcagno" : > Hi, > > I'm try to use the deimos portaudio bindings > > https://github.com/D-Programming-Deimos/portaudio > > I've managed to compile and run the test demo provided with the > module. > It seems to work fine. However, when I ad

Re: using deimos.portaudio

2012-05-19 Thread Samuele Carcagno
The missing symbol is a D symbol. You probably have to compile in 'deimos/portaudio.di', so in your 'dmd yourprogram.d' compile command add the full path to the di file: 'dmd yourprogram.d ../path/to/deimos/portaudio.di' Thanks, that was in fact the problem!