Csound Csound-dev Csound-tekno Search About

[CSOUND-DEV:4565] RE: OT: Building libportaudio

Date2004-05-04 14:53
From"gogins@pipeline.com"
Subject[CSOUND-DEV:4565] RE: OT: Building libportaudio
You need to run the PortAudio configure script. For me the only option that
works is:

./configure --with_win_api=winmme (see the ./configure --help output for
the precise wording).

Then you can run 'make' and 'make install'. I tried the directx api and it
didn't compile, but I have a feeling it can be made to work and it would
certainly produce better latency.

I will add this info to the csound.pdf file.

Original Message:
-----------------
From:  acabrera@teleset.com.co
Date: Mon,  3 May 2004 21:13:03 -0500
To: csound-dev@eartha.mills.edu
Subject: [CSOUND-DEV:4562] OT: Building libportaudio


Hi,
I've been trying unsuccesfully to build libportaudio for v19. The included 
makefile doesn't do the trick out of the box like it did for v18.
I get:

$ make -f makefile.in
c:\dev-cpp\bin\make.exe: *** No rule to make target 
`lib/pa_common/pa_allocation.o', needed by `lib/libportaudio.a'.  Stop.

both on msys and normal DOS box. I haven't found any clue in the portaudio 
list, so I turn here because some of you may have had the same problem.
I've also tried (after changing CC= i586-mingw32msvc-gcc to CC=gcc) :

$ make -f makefile.mingw all
gcc -c -I./pa_common pa_common/pa_lib.c -o pa_common/pa_lib.o
In file included from pa_common/pa_lib.c:54:
pa_common/pa_host.h:85: parse error before "PaDeviceID"
pa_common/pa_host.h:85: warning: no semicolon at end of struct or union
pa_common/pa_host.h:86: warning: data definition has no type or storage
class
pa_common/pa_host.h:92: parse error before '*' token
pa_common/pa_host.h:92: warning: data definition has no type or storage
class
and a long list of errors follows...

Anyone can help?

Thanks,
Andres


--------------------------------------------------------------------
mail2web - Check your email from the web at
http://mail2web.com/ .

Date2004-05-04 23:36
Fromacabrera@teleset.com.co
Subject[CSOUND-DEV:4566] RE: OT: Building libportaudio
Thanks Michael and John,
I used configure like you suggested, and it creates a new makefile, however, 
the new makefile also produces:

$ make -f makefile all
c:\dev-cpp\bin\make.exe: *** No rule to make target 
`lib/pa_common/pa_allocation.o', needed by `lib/libportaudio.a'.  Stop

I must be something really simple, but I'm new to this so please bear with 
me...
Thanks
Andres