[CSOUND-DEV:4567] RE: OT: Building libportaudio
Date | 2004-05-05 02:14 |
From | "Michael Gogins" |
Subject | [CSOUND-DEV:4567] RE: OT: Building libportaudio |
Are you using dev-c++? This is not supported. The mingw used for building Csound5 is in the msys shell, which you can download from the mingw home page. Have you read the build instructions in csound.pdf? If you are new this could be a lot of stuff to work through, but I will keep answering questions. ----- Original Message ----- From: |
Date | 2004-05-05 03:58 |
From | acabrera@teleset.com.co |
Subject | [CSOUND-DEV:4568] RE: OT: Building libportaudio |
Thanks for your offering Michael. You (and the rest of the list) will be getting questions from me fairly often...=) I have dev-cpp installed, and the mingw binaries are located in the dev- cpp/bin directory (thus the path you see). But I'm not using dev-cpp to compile portaudio, I'm using msys. I have compiled csound5 without portaudio already so I'm not sure if that's the problem. I'll try installing a fresh mingw in it's own directory. Then msys. But that'll have to be tomorrow night. You'll surely hear from me then.... Thanks again, Andres |
Date | 2004-05-06 03:57 |
From | acabrera@teleset.com.co |
Subject | [CSOUND-DEV:4569] RE: OT: Building libportaudio |
Hi, Obviously the problem was on my end. I did a clean CVS of portaudio 19, and using configure and then make, libportaudio was succesfully built(witn wmme for now). However, when I try to build csound5 with portaudio, I get the following errors: gcc -DCSOUND_WITH_API -g -O2 -mthreads -DHAVE_IO_H -DHAVE_FCNTL_H - DHAVE_UNISTD_ H -DHAVE_MALLOC_H -DHAVE_SYS_TIME_H -DHAVE_STRING_H - DHAVE_STRINGS_H -DHAVE_DIRE NT_H -DHAVE_ITOA -g -O2 -Wall -D_WIN32 - DWIN32 -DHAVE_STRING_H -DPIPES -DOS_IS_W IN32 -DRTAUDIO -DBETA - IC:\mingw\include -IC:\tools\libsndfile-1.0.10pre4\src -I C:\Python233 \include -IC:\msys\1.0\include -IC:\tools\portaudio\pa_common -IC:\t ools\boost_1_31_0 -I. -IH -ISDIF -I\usr\local\include -I\usr\include -c -o InOut \rtpa.o InOut\rtpa.c In file included from H/cs.h:34, from InOut/rtpa.c:9: H/csoundCore.h:770:1: warning: "__cdecl" redefined InOut/rtpa.c:1:1: warning: this is the location of the previous definition InOut/rtpa.c: In function `recopen_': InOut/rtpa.c:59: storage size of `paStreamParameters_' isn't known InOut/rtpa.c:80: warning: passing arg 5 of `Pa_OpenStream' makes pointer from in teger without a cast InOut/rtpa.c:80: too few arguments to function `Pa_OpenStream' InOut/rtpa.c:59: warning: unused variable `paStreamParameters_' InOut/rtpa.c: In function `listPortAudioDevices': InOut/rtpa.c:90: `PaDeviceIndex' undeclared (first use in this function) InOut/rtpa.c:90: (Each undeclared identifier is reported only once InOut/rtpa.c:90: for each function it appears in.) InOut/rtpa.c:90: parse error before "deviceIndex" InOut/rtpa.c:94: `deviceCount' undeclared (first use in this function) InOut/rtpa.c:94: warning: implicit declaration of function `Pa_GetDeviceCount' InOut/rtpa.c:96: `deviceIndex' undeclared (first use in this function) InOut/rtpa.c:97: warning: assignment discards qualifiers from pointer target typ e InOut/rtpa.c:105: structure has no member named `defaultSampleRate' InOut/rtpa.c: In function `playopen_': InOut/rtpa.c:113: storage size of `paStreamParameters_' isn't known InOut/rtpa.c:145: warning: passing arg 5 of `Pa_OpenStream' makes pointer from i nteger without a cast InOut/rtpa.c:145: too few arguments to function `Pa_OpenStream' InOut/rtpa.c:113: warning: unused variable `paStreamParameters_' InOut/rtpa.c: In function `rtrecord_': InOut/rtpa.c:170: warning: implicit declaration of function `Pa_ReadStream' InOut/rtpa.c: In function `rtplay_': InOut/rtpa.c:198: warning: implicit declaration of function `Pa_WriteStream' scons: building terminated because of errors. scons: *** [InOut\rtpa.o] Error 1 If I comment out the portaudio paths in configure.py, Csound5 builds succesfully.Any ideas? Thanks as usual! Andres |