[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:1.9.2.15) 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:
<http://elm.eeng.dcu.ie/~scaifer/pa_wavplay/index.html>
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:
Hi,
I'm trying to build pa_wavplay according to
http://old.nabble.com/pa_wavplay-td10426977.html 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:
c:/octave/3.2.4_gcc-4.4.0/mingw32/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe:
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?
Thanks,
Børge
_______________________________________________
Help-octave mailing list
address@hidden
https://mailman.cae.wisc.edu/listinfo/help-octave
--
== Dr. Ronan Scaife =============== address@hidden ==========
RINCE (Research Inst. for Networks and Communications Engineering),
School of Elec Eng, Dublin City University, Dublin 9, IRELAND.
http://www.eeng.dcu.ie/~scaifer/ phone (office): +353-1-700-5434
phone (lab): +353-1-700-7623 fax: +353-1-700-5508
====================================================================
- Building pa_wavplay, Børge Strand-Bergesen, 2011/04/14
- Re: Building pa_wavplay,
Ronan Scaife <=