glob2-devel
[Top][All Lists]
Advanced

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

Re: [glob2-devel] portaudio error


From: Kieran P
Subject: Re: [glob2-devel] portaudio error
Date: Mon, 27 Oct 2008 17:42:38 +1300

You might try running

scons -c

then

rm -rf .scon* config*

then

scons

That'll remove compiled files, clear scons cache, and rebuild from scratch. I find it the most effective way to fix build related errors. If it still exists after that, make a bug ticket at https://savannah.nongnu.org/bugs/?group=glob2 .

Regards
Kieran


On Sat, Oct 25, 2008 at 12:30 PM, Jon Neal <address@hidden> wrote:
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
address@hidden
http://lists.nongnu.org/mailman/listinfo/glob2-devel



reply via email to

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