Skip to Content

Error: Dependency is not satisfiable: libasound2

14 replies [Last post]
butt-head
Offline
Joined: 04/17/2010

Hi everybody!

When I try to install Hydrogen 0.9.4beta3 with my package installer (gdebi-gtk 0.3.8) on my Ubuntu 8.04 LTS, I get this error that disables the install button in the package installer:

"Error: Dependency is not satisfiable: libasound2"

libasound2 (1.0.15-3ubuntu4) is properly installed on my system (that's what Synaptic says at least),and libasound2-dev, libasound2-plugins too.

Could someone help me, please??.

Thanks in advance! ;)

Pyro96
Pyro96's picture
Offline
Joined: 04/17/2010

I think (I might be wrong) hydrogen requires a newer version of libasound2 that is not in the Ubuntu 8.04 LTS repository.

mauser
Offline
Joined: 03/30/2010

Hi, this is an package which is built for Ubuntu 8.10. You can compile it from source and build your own deb package within some minutes: http://trac.assembla.com/hydrogen/wiki/development%3Aqt4compile

butt-head
Offline
Joined: 04/17/2010

Ok!.

Thanks a lot!.

I'm gonna follow those instructions and I'll try to build my own debian package.

See ya!

butt-head
Offline
Joined: 04/17/2010

Hello again!.

I'm following this guide for build my own debian package, but actually I'm stucked in this step:

scons

I mean, the second command in the fourth build step.

I entered in the console the following command line, for using lash and portaudio:

scons "lash=1", "portaudio=1"

Then, the compile process started right, but after a minute stopped because this error:

In file included from libs/hydrogen/src/IO/PortAudioDriver.h:37,
from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
/usr/include/portaudio.h:325: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:325: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:326: error: expected primary-expression before ?inputDevice?
/usr/include/portaudio.h:327: error: expected primary-expression before ?int?
/usr/include/portaudio.h:328: error: expected primary-expression before ?inputSampleFormat?
/usr/include/portaudio.h:329: error: expected primary-expression before ?void?
/usr/include/portaudio.h:330: error: expected primary-expression before ?outputDevice?
/usr/include/portaudio.h:331: error: expected primary-expression before ?int?
/usr/include/portaudio.h:332: error: expected primary-expression before ?outputSampleFormat?
/usr/include/portaudio.h:333: error: expected primary-expression before ?void?
/usr/include/portaudio.h:334: error: expected primary-expression before ?double?
/usr/include/portaudio.h:335: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:336: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:337: error: expected primary-expression before ?streamFlags?
/usr/include/portaudio.h:338: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:338: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:339: error: expected primary-expression before ?void?
/usr/include/portaudio.h:339: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:355: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:355: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:356: error: expected primary-expression before ?int?
/usr/include/portaudio.h:357: error: expected primary-expression before ?int?
/usr/include/portaudio.h:358: error: expected primary-expression before ?sampleFormat?
/usr/include/portaudio.h:359: error: expected primary-expression before ?double?
/usr/include/portaudio.h:360: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:361: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:362: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:362: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:363: error: expected primary-expression before ?void?
/usr/include/portaudio.h:363: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:370: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:370: error: expected primary-expression before ?)? token
/usr/include/portaudio.h:380: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:380: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?stream? no se declar? en este ?mbito
In file included from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: ISO C++ proh?be la declaraci?n de ?PortAudioStream? sin tipo
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: expected ?;? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:16: error: expected ?,? or ?...? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:19: error: ISO C++ proh?be la declaraci?n de ?PaStreamCallbackTimeInfo? sin tipo
libs/hydrogen/src/IO/portaudio_driver.cpp: In function ?int H2Core::portAudioCallback(const void*, void*, long unsigned int, int)?:
libs/hydrogen/src/IO/portaudio_driver.cpp:21: error: ?userData? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual int H2Core::PortAudioDriver::connect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:86: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:94: error: no se puede usar ?Pa_OpenDefaultStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:102: error: no se puede usar ?Pa_StartStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual void H2Core::PortAudioDriver::disconnect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: no se puede usar ?Pa_StopStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:121: error: no se puede usar ?Pa_CloseStream? como una funci?n
scons: *** [libs/hydrogen/src/IO/portaudio_driver.o] Error 1
scons: building terminated because of errors.

I hope somebody could help me with this. Is there any problem with the PortAudioDriver header and cpp file??.

Thank you!

yeri
Offline
Joined: 04/17/2010

Hi.. what if you try to compile without any extra ? (i.e. without lash, portaudio ).
It is not actually a solution but might be useful to trace the problem.

Good luck,

Gerard.

wolke
wolke's picture
Offline
Joined: 03/30/2010

you need libportaudio-dev package installed on your computer.

see your error messages
> /usr/include/portaudio.h:325: error: ?PortAudioStream? no se declar? en este ?mbito

your posted errors brake the compile because missing libportaudio headers, but maybe it's possible that you need liblash-dev, too. so install also liblash-dev.

wolke

butt-head
Offline
Joined: 04/17/2010

Hi wolke!

I'm afraid that libportaudio-dev and liblash-dev are both installed. So I think that the problem is in the sources ... The error is about some wrong declaration context.

I'll try the yeri's solution ... and I'll tell ya.

Thanks.

wolke
wolke's picture
Offline
Joined: 03/30/2010

hmm?
i just compiled hydrogen with 'scons -j2 "lash=1" "portaudio=1" "portmidi=1"'.
it works without any errors on my system.

i use debian ustable (sid). in debian i can chose between portaudio 18 or 19. i can compile OK with every version. so in moment i have no ideas what happens on your system.
i compile trunk svn rev. 864.

this version infos i found on the portaudio downloade site.
* pa_stable_v19_20071207.tar.gz is current V19 posted December 7, 2007
* pa_stable_v19_061121.tar.gz is previous V19 posted November 21, 2006
* portaudio_v18_1.zip is old V18 posted 6/30/03

mauser
Offline
Joined: 03/30/2010

Hi,

have you applied the portaudio patches as described in the wiki article ?

butt-head
Offline
Joined: 04/17/2010

Hi everybody!!
I've tried the yeri's solution ... I mean ... compiling without extras, but this is the result:

scons: Reading SConscript files ...
Checking for C header file sndfile.h... (cached) yes
Checking for C header file portaudio.h... (cached) yes
Checking for C header file portmidi.h... (cached) yes
Checking for C header file alsa/asoundlib.h... (cached) yes
Checking for C header file jack/jack.h... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C header file libtar.h... (cached) yes
Checking for C header file lrdf.h... (cached) yes
Checking for C header file FLAC/all.h... (cached) yes

=================================================================
Hydrogen build script

Revision: 864M
Platform: linux2
Release build
Prefix: /usr/local
Destdir:
=================================================================
Feature Overview:

lash: enabled
oss: enabled
alsa: enabled
jack: enabled
libarchive: disabled
portaudio: enabled
portmidi: enabled

=================================================================

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect
scons: done reading SConscript files.
scons: Building targets ...
g++ -o libs/hydrogen/src/IO/portaudio_driver.o -c -pthread -O3 -fomit-frame-pointer -funroll-loops -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLASH_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui libs/hydrogen/src/IO/portaudio_driver.cpp
In file included from libs/hydrogen/src/IO/PortAudioDriver.h:37,
from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
/usr/include/portaudio.h:325: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:325: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:326: error: expected primary-expression before ?inputDevice?
/usr/include/portaudio.h:327: error: expected primary-expression before ?int?
/usr/include/portaudio.h:328: error: expected primary-expression before ?inputSampleFormat?
/usr/include/portaudio.h:329: error: expected primary-expression before ?void?
/usr/include/portaudio.h:330: error: expected primary-expression before ?outputDevice?
/usr/include/portaudio.h:331: error: expected primary-expression before ?int?
/usr/include/portaudio.h:332: error: expected primary-expression before ?outputSampleFormat?
/usr/include/portaudio.h:333: error: expected primary-expression before ?void?
/usr/include/portaudio.h:334: error: expected primary-expression before ?double?
/usr/include/portaudio.h:335: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:336: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:337: error: expected primary-expression before ?streamFlags?
/usr/include/portaudio.h:338: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:338: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:339: error: expected primary-expression before ?void?
/usr/include/portaudio.h:339: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:355: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:355: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:356: error: expected primary-expression before ?int?
/usr/include/portaudio.h:357: error: expected primary-expression before ?int?
/usr/include/portaudio.h:358: error: expected primary-expression before ?sampleFormat?
/usr/include/portaudio.h:359: error: expected primary-expression before ?double?
/usr/include/portaudio.h:360: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:361: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:362: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:362: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:363: error: expected primary-expression before ?void?
/usr/include/portaudio.h:363: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:370: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:370: error: expected primary-expression before ?)? token
/usr/include/portaudio.h:380: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:380: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?stream? no se declar? en este ?mbito
In file included from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: ISO C++ proh?be la declaraci?n de ?PortAudioStream? sin tipo
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: expected ?;? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:16: error: expected ?,? or ?...? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:19: error: ISO C++ proh?be la declaraci?n de ?PaStreamCallbackTimeInfo? sin tipo
libs/hydrogen/src/IO/portaudio_driver.cpp: In function ?int H2Core::portAudioCallback(const void*, void*, long unsigned int, int)?:
libs/hydrogen/src/IO/portaudio_driver.cpp:21: error: ?userData? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual int H2Core::PortAudioDriver::connect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:86: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:94: error: no se puede usar ?Pa_OpenDefaultStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:102: error: no se puede usar ?Pa_StartStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual void H2Core::PortAudioDriver::disconnect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: no se puede usar ?Pa_StopStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:121: error: no se puede usar ?Pa_CloseStream? como una funci?n
scons: *** [libs/hydrogen/src/IO/portaudio_driver.o] Error 1
scons: building terminated because of errors.

butt-head
Offline
Joined: 04/17/2010

Also I've tried to compile hydrogen as wolke said, I mean ... entering in the console:

scons -j2 "lash=1" "portaudio=1" "portmidi=1"

but I get:

scons: Reading SConscript files ...
Checking for C header file sndfile.h... (cached) yes
Checking for C header file portaudio.h... (cached) yes
Checking for C header file portmidi.h... (cached) yes
Checking for C header file alsa/asoundlib.h... (cached) yes
Checking for C header file jack/jack.h... (cached) yes
Checking for C header file zlib.h... (cached) yes
Checking for C header file libtar.h... (cached) yes
Checking for C header file lrdf.h... (cached) yes
Checking for C header file FLAC/all.h... (cached) yes

=================================================================
Hydrogen build script

Revision: 864M
Platform: linux2
Release build
Prefix: /usr/local
Destdir:
=================================================================
Feature Overview:

lash: enabled
oss: enabled
alsa: enabled
jack: enabled
libarchive: disabled
portaudio: enabled
portmidi: enabled

=================================================================

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect
scons: done reading SConscript files.
scons: Building targets ...
g++ -o libs/hydrogen/src/IO/portaudio_driver.o -c -pthread -O3 -fomit-frame-pointer -funroll-loops -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLASH_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui libs/hydrogen/src/IO/portaudio_driver.cpp
g++ -o libs/hydrogen/src/midiMap.o -c -pthread -O3 -fomit-frame-pointer -funroll-loops -DOSS_SUPPORT -DALSA_SUPPORT -DJACK_SUPPORT -DLASH_SUPPORT -DLRDF_SUPPORT -DPORTAUDIO_SUPPORT -DPORTMIDI_SUPPORT -DFLAC_SUPPORT -DLADSPA_SUPPORT -DQT_CORE_LIB -DQT_GUI_LIB -DQT_SHARED -I. -Igui/src -I3rdparty/install/include -Ilibs/hydrogen/include -I/usr/include/lash-1.0 -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui libs/hydrogen/src/midiMap.cpp
In file included from libs/hydrogen/src/IO/PortAudioDriver.h:37,
from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
/usr/include/portaudio.h:325: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:325: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:326: error: expected primary-expression before ?inputDevice?
/usr/include/portaudio.h:327: error: expected primary-expression before ?int?
/usr/include/portaudio.h:328: error: expected primary-expression before ?inputSampleFormat?
/usr/include/portaudio.h:329: error: expected primary-expression before ?void?
/usr/include/portaudio.h:330: error: expected primary-expression before ?outputDevice?
/usr/include/portaudio.h:331: error: expected primary-expression before ?int?
/usr/include/portaudio.h:332: error: expected primary-expression before ?outputSampleFormat?
/usr/include/portaudio.h:333: error: expected primary-expression before ?void?
/usr/include/portaudio.h:334: error: expected primary-expression before ?double?
/usr/include/portaudio.h:335: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:336: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:337: error: expected primary-expression before ?streamFlags?
/usr/include/portaudio.h:338: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:338: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:339: error: expected primary-expression before ?void?
/usr/include/portaudio.h:339: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:355: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:355: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:356: error: expected primary-expression before ?int?
/usr/include/portaudio.h:357: error: expected primary-expression before ?int?
/usr/include/portaudio.h:358: error: expected primary-expression before ?sampleFormat?
/usr/include/portaudio.h:359: error: expected primary-expression before ?double?
/usr/include/portaudio.h:360: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:361: error: expected primary-expression before ?unsigned?
/usr/include/portaudio.h:362: error: expected primary-expression before ?*? token
/usr/include/portaudio.h:362: error: ?callback? no se declar? en este ?mbito
/usr/include/portaudio.h:363: error: expected primary-expression before ?void?
/usr/include/portaudio.h:363: error: se trata la lista de expresiones initializer como una expresi?n compuesta
/usr/include/portaudio.h:370: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:370: error: expected primary-expression before ?)? token
/usr/include/portaudio.h:380: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:380: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:382: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:384: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:397: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:406: error: ?stream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?PortAudioStream? no se declar? en este ?mbito
/usr/include/portaudio.h:419: error: ?stream? no se declar? en este ?mbito
In file included from libs/hydrogen/src/IO/portaudio_driver.cpp:2:
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: ISO C++ proh?be la declaraci?n de ?PortAudioStream? sin tipo
libs/hydrogen/src/IO/PortAudioDriver.h:70: error: expected ?;? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:16: error: expected ?,? or ?...? before ?*? token
libs/hydrogen/src/IO/portaudio_driver.cpp:19: error: ISO C++ proh?be la declaraci?n de ?PaStreamCallbackTimeInfo? sin tipo
libs/hydrogen/src/IO/portaudio_driver.cpp: In function ?int H2Core::portAudioCallback(const void*, void*, long unsigned int, int)?:
libs/hydrogen/src/IO/portaudio_driver.cpp:21: error: ?userData? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual int H2Core::PortAudioDriver::connect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:86: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:94: error: no se puede usar ?Pa_OpenDefaultStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:102: error: no se puede usar ?Pa_StartStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp: In member function ?virtual void H2Core::PortAudioDriver::disconnect()?:
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: ?m_pStream? no se declar? en este ?mbito
libs/hydrogen/src/IO/portaudio_driver.cpp:114: error: no se puede usar ?Pa_StopStream? como una funci?n
libs/hydrogen/src/IO/portaudio_driver.cpp:121: error: no se puede usar ?Pa_CloseStream? como una funci?n
scons: *** [libs/hydrogen/src/IO/portaudio_driver.o] Error 1
scons: building terminated because of errors.

Please ... I really need some help :(

I hope your answers :)

Thanks.

mauser
Offline
Joined: 03/30/2010

Hi,

as i already said above, you have to apply the portaudio/portmidi patches as stated here (or compile it without portaudio/portmidi):

http://trac.assembla.com/hydrogen/wiki/development%3Aqt4compile

- Sebastian

butt-head
Offline
Joined: 04/17/2010

And as I posted above, I've tried it in both ways:

Compiling without extras and Compiling with prepatched extras. In both cases I get the same error, so the problem is not about the extras.

As you can see, in both ways there's a scons's warning about a variable that is not defined; the QTDIR variable. What's this variable for?? Is it maybe the cause of this error?. I'm talking about this:

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect

scons: warning: QTDIR variable is not defined, using moc executable as a hint (QTDIR=/usr)
File "/usr/src/hydrogen/qt4.py", line 207, in _detect

I suspect of a pair of things too:

In the Hydrogen build script, I see that 'Destdir' has no value:

Hydrogen build script

Revision: 864M
Platform: linux2
Release build
Prefix: /usr/local
Destdir:

Is this normal??

And in the Feature Overview, libarchive is disabled:

Feature Overview:

lash: enabled
oss: enabled
alsa: enabled
jack: enabled
libarchive: disabled
portaudio: enabled
portmidi: enabled

What about this??. Is it right or not??

I hope your answers, thanks again..

mauser
Offline
Joined: 03/30/2010

Hi!

1. The error messages you have noted are not relevant.
2.You have not compiled it without "extras". Maybe you supplied the wrong scons command? If you don't want to use portaudio, turn it off:

scons -j2 portaudio=0 portmidi=0 and you won't get any portaudio related errors.

The error says that PortAudioStream is not declared. This error gets fixed by the portaudio patch.