I installed the portaudio library to test it out, but instead I got this!

src/VoiceRecorder.cpp:92: error: expected ',' or '...' before '*' token
src/VoiceRecorder.cpp:92: error: ISO C++ forbids declaration of
'PaStreamCallbackTimeInfo' with no type
src/VoiceRecorder.cpp: In function 'int PaSpeexEncodeCallback(const void*,
void*, long unsigned int, int)':
src/VoiceRecorder.cpp:94: error: 'userData' was not declared in this scope
src/VoiceRecorder.cpp: In constructor 'VoiceRecorder::VoiceRecorder()':
src/VoiceRecorder.cpp:382: error: invalid conversion from 'int (*)(const
void*, void*, long unsigned int, int)' to 'long unsigned int'
src/VoiceRecorder.cpp:382: error: cannot convert 'VoiceRecorder* const' to
'int (*)(void*, void*, long unsigned int, PaTimestamp, void*)' for argument
'8' to 'PaError Pa_OpenDefaultStream(PortAudioStream**, int, int,
PaSampleFormat, double, long unsigned int, long unsigned int, int (*)(void*,
void*, long unsigned int, PaTimestamp, void*), void*)'
src/VoiceRecorder.cpp:385: error: 'Pa_SetStreamFinishedCallback' was not
declared in this scope
scons: *** [src/VoiceRecorder.o] Error 1

Anyone know the cause?

Running ubuntu 8.04
_______________________________________________
glob2-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/glob2-devel

Reply via email to