glob2-devel
[Top][All Lists]
Advanced

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

[glob2-devel] portaudio error


From: Jon Neal
Subject: [glob2-devel] portaudio error
Date: Fri, 24 Oct 2008 19:30:58 -0400

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

reply via email to

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