From: Sebastian M. <ma...@sm...> - 2012-02-25 21:03:46
|
thijs van severen wrote: > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp:15: error: ISO > C++ forbids declaration of 'PaStreamCallbackTimeInfo' with no type > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp:15: error: > expected ',' or '...' before '*' token > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp: In function > 'int H2Core::portAudioCallback(const void*, void*, long unsigned int, > int)': > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp:20: error: > 'userData' was not declared in this scope > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp: In member > function 'virtual int H2Core::PortAudioDriver::connect()': > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp:86: error: > invalid conversion from 'int (*)(const void*, void*, long unsigned > int, int)' to 'long unsigned int' > /usr/src/hydrogen/src/core/src/IO/portaudio_driver.cpp:86: error: > cannot convert 'H2Core::PortAudioDriver* 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*)' > make[2]: *** > [src/core/CMakeFiles/hydrogen-core-0.9.6.dir/src/IO/portaudio_driver.cpp.o] > Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [src/core/CMakeFiles/hydrogen-core-0.9.6.dir/all] Error 2 > make: *** [all] Error 2 If i'm not completely mistaken this happens because 0.9.6 uses the portaudio 19, whereas Ubuntu ships with portaudio 18. Make sure that you install a portaudio19 package, i think most of the current distributions are supporting both. > > > > > -- package 'oss' not found > > -- Could NOT find OSS (missing: OSS_LIBRARIES) > >>> what libs should i install ? > Something like oss4-dev or oss-dev. Even though i just saw that our > build-system check seems to have problems with newer versions of it. > > > seems like ubuntu no longer supports OSS > installing oss4-dev works (oss-dev > package not found) > > but after installing i still get this : > -- checking for module 'oss' > -- package 'oss' not found > -- Could NOT find OSS (missing: OSS_LIBRARIES) > Can't help here, haven't used/installed OSS for ages. I suppose the BSD guys are the only ones that are using it atm :) - Sebastian |