[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building pa_wavplay

From: Ronan Scaife
Subject: Re: Building pa_wavplay
Date: Fri, 15 Apr 2011 16:47:31 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv: Gecko/20110303 Thunderbird/3.1.9

Dear Børge and others,

3 years ago, I ported pa_wavplay to *Scilab*, which has its own utilities for
building mex extensions (like those in Octave). All sources for my port
are available at:


In the downloadable sources available from the above page, I think that most if not all
of the changes are in pawavplaySW.cpp.

AFAICR, I did NOT build a separate portaudio dll, but just included some of the PortAudio source files in my own front end. Only a few (5 or 6) files from the portaudio distro
are needed for pa_wavplay.

You end up with just a single dll: sci_pawavplayw.dll.

It would have been nice to use mingw32 to build the dll, but I was in a hurry, so I used
the MS tools, like in the original pa_wavplay.

Best Wishes,

On 14/04/2011 20:56, Børge Strand-Bergesen wrote:

I'm trying to build pa_wavplay according to and pa_tut_pc.html in
the Portaudio documentation.

Has anybody done this successfully on Octave 3.2.4 for mingw32 Windows?

The place where it stops for me is:
mkoctfile -I../portaudio_v18_1/pa_common -lportaudio --mex -o
pawavplaya.mex pawavplay.cpp
I run this from inside Octave with the -I (capital i) added to the
command at old nabble.

The error message reads:
cannot find -lportaudio
collect2: ld returned 1 exit status

I have searched my computer for portaudio.* without finding anything
resembling a library file. Is this something I have to compile from
source? I've got Visual C++ 2010 Express installed, something which is
hardly covered by the tutorial. Or should I use mingw32 to compile a
portaudio library file?


Help-octave mailing list

== Dr. Ronan Scaife =============== address@hidden ==========
RINCE (Research Inst. for Networks and Communications Engineering),
School of Elec Eng, Dublin City University, Dublin 9,  IRELAND. phone (office): +353-1-700-5434
phone (lab): +353-1-700-7623 fax: +353-1-700-5508

reply via email to

[Prev in Thread] Current Thread [Next in Thread]