Le 20 sept. 06 à 18:56, Fatih Aşıcı a écrit :

20 Eyl 2006 Çar 19:42 tarihinde, Nicolas Lécureuil şunları yazmıştı:
Hi, just try to build Wengophone and i have a compilation error:



I have the same problem. CMake finds the installed stable version of portaudio
(18.1) and gives these error messages:

[ 11%] Building CXX object
libs/sound/CMakeFiles/owsound.dir/src/portaudio/AudioDeviceManager.o
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp: In
function `int getNbDevices()':
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:34:
error: `Pa_GetDeviceCount' was not declared in this scope
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp: In
static member function `static std::list<AudioDevice,
std::allocator<AudioDevice> > AudioDeviceManager::getInputDeviceList ()': /mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:64:
error: 'const struct PaDeviceInfo' has no member named 'hostApi'
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:64:
error: `Pa_GetHostApiInfo' was not declared in this scope
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:69:
error: 'const struct PaDeviceInfo' has no member named 'hostApi'
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:69:
error: `Pa_GetHostApiInfo' was not declared in this scope
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp: In
static member function `static std::list<AudioDevice,
std::allocator<AudioDevice> > AudioDeviceManager::getOutputDeviceList()': /mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:105:
error: 'const struct PaDeviceInfo' has no member named 'hostApi'
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:105:
error: `Pa_GetHostApiInfo' was not declared in this scope
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:110:
error: 'const struct PaDeviceInfo' has no member named 'hostApi'
/mnt/data/svn/wengo/trunk/libs/sound/src/portaudio/ AudioDeviceManager.cpp:110:
error: `Pa_GetHostApiInfo' was not declared in this scope
make[2]: ***
[libs/sound/CMakeFiles/owsound.dir/src/portaudio/ AudioDeviceManager.o] Hata 1
make[1]: *** [libs/sound/CMakeFiles/owsound.dir/all] Hata 2
make: *** [all] Hata 2
_______________________________________________

It seems to be a versioning problem. WengoPhone uses PortAudio v19 (which is still in development stage). Which version is installed on your system?

--
Philippe BERNERY <[EMAIL PROTECTED]>
http://dev.openwengo.org

_______________________________________________
Wengophone-devel mailing list
[email protected]
http://dev.openwengo.com/mailman/listinfo/wengophone-devel

Reply via email to