Mon 27 Oct 2008 11:15:17 PM UTC, original submission:
Compile error with libportaudio-dev installed. (whatever is in the ubuntu repos).
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
scons: building terminated because of errors.
|