I get the following error when trying to compile Mixxx 1.9.0 (release-1.9.x~bzr2720):
%> scons shoutcast=0
[previous output omitted]
g++ -o lin32_build/soundmanager.o -c -pipe -Wall -Wextra -g -O3 -fomit-frame-pointer -ffast-math -funroll-loops -DQT_GUI_LIB -Di686 -D__LINUX__ -D__UNIX__ -DSETTINGS_PATH=\".mixxx/\" -DBPMSCHEME_FILE=\"mixxxbpmscheme.xml\" -DSETTINGS_FILE=\"mixxx.cfg\" -DTRACK_FILE=\"mixxxtrack.xml\" -DUNIX_SHARE_PATH=\"/usr/local/share/mixxx\" -D__PORTAUDIO__ -DQT_TABLET_SUPPORT -DQT_SHARED -D__SNDFILE__ -D__MIDISCRIPT__ -D__VINYLCONTROL__ -I/usr/share/qt4/include -Ilin32_build -Isrc -Ilib/soundtouch-1.4.1 -Ilib/kissfft -Ilib/replaygain -I/usr/include/qt4 -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtScript -I/usr/include/qt4/QtXmlPatterns -I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtWebKit -I/usr/share/qt4/include/QtCore -I/usr/share/qt4/include/QtGui -I/usr/share/qt4/include/QtXml -I/usr/share/qt4/include/QtNetwork -I/usr/share/qt4/include/QtSql -I/usr/share/qt4/include/QtOpenGL -I/usr/share/qt4/include/QtWebKit -I/usr/share/qt4/include/Qt -Ilib/fidlib-0.9.9 -I/usr/include/taglib -I/usr/share/qt4/include/QtScript -Ilib/xwax -Ilib/scratchlib src/soundmanager.cpp
In file included from src/soundmanager.cpp:24:
src/sounddeviceportaudio.h:50: error: ‘PaDeviceIndex’ does not name a type
src/sounddeviceportaudio.h:58: error: ‘PaStreamParameters’ does not name a type
src/sounddeviceportaudio.h:60: error: ‘PaStreamParameters’ does not name a type
src/sounddeviceportaudio.h:71: error: ISO C++ forbids declaration of ‘PaStreamCallbackTimeInfo’ with no type
src/sounddeviceportaudio.h:71: error: expected ‘,’ or ‘...’ before ‘*’ token
src/soundmanager.cpp: In constructor ‘SoundManager::SoundManager(ConfigObject<ConfigValue>*, EngineMaster*)’:
src/soundmanager.cpp:56: warning: unused variable ‘pControlObjectVinylControlSignalQuality1’
src/soundmanager.cpp:57: warning: unused variable ‘pControlObjectVinylControlSignalQuality2’
src/soundmanager.cpp:58: warning: unused variable ‘pControlObjectVinylControlInputStrengthL1’
src/soundmanager.cpp:59: warning: unused variable ‘pControlObjectVinylControlInputStrengthR1’
src/soundmanager.cpp:60: warning: unused variable ‘pControlObjectVinylControlInputStrengthL2’
src/soundmanager.cpp:61: warning: unused variable ‘pControlObjectVinylControlInputStrengthR2’
src/soundmanager.cpp: In member function ‘QList<QString> SoundManager::getHostAPIList() const’:
src/soundmanager.cpp:177: error: ‘PaHostApiIndex’ was not declared in this scope
src/soundmanager.cpp:177: error: expected ‘;’ before ‘i’
src/soundmanager.cpp:177: error: ‘i’ was not declared in this scope
src/soundmanager.cpp:177: error: ‘Pa_GetHostApiCount’ was not declared in this scope
src/soundmanager.cpp:179: error: expected initializer before ‘*’ token
src/soundmanager.cpp:180: error: ‘api’ was not declared in this scope
src/soundmanager.cpp: In member function ‘void SoundManager::queryDevices()’:
src/soundmanager.cpp:311: error: ‘Pa_GetDeviceCount’ was not declared in this scope
src/soundmanager.cpp:338: error: ‘const struct PaDeviceInfo’ has no member named ‘hostApi’
src/soundmanager.cpp:338: error: ‘Pa_GetHostApiInfo’ was not declared in this scope
src/soundmanager.cpp:340: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultSampleRate’
scons: *** [lin32_build/soundmanager.o] Error 1
scons: building terminated because of errors.
Operating system: GNU/Linux (Debian Squeeze 6.0.1)
CPU architecture: Intel(R) Pentium(R) M processor 1.73GHz
Video card: ATI Technologies Inc Radeon Mobility X700 (PCIE)
Audio card: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) HDA Controller
Hi damores,
Are you following the guide on our wiki? mixxx.org/ wiki/doku. php/compiling_ on_linux
http://
<http:// mixxx.org/ wiki/doku. php/compiling_ on_linux>It looks from your
compiler output that you're missing the PortAudio development headers. You
can install these by doing:
sudo apt-get install portaudio19-dev
Cheers,
RJ Ryan
On Mon, Mar 28, 2011 at 2:09 PM, damores <email address hidden> wrote:
> Public bug reported: 1.9.x~bzr2720) : soundmanager. o -c -pipe -Wall -Wextra -g -O3 frame-pointer -ffast-math -funroll-loops -DQT_GUI_LIB -Di686 PATH=\" .mixxx/ \" FILE=\" mixxxbpmscheme. xml\" -DSETTINGS_ FILE=\" mixxx.cfg\ " FILE=\" mixxxtrack. xml\" -DUNIX_ SHARE_PATH= \"/usr/ local/share/ mixxx\" share/qt4/ include -Ilin32_build h-1.4.1 -Ilib/kissfft -Ilib/replaygain include/ qt4/QtCore -I/usr/ include/ qt4/QtGui include/ qt4/QtOpenGL -I/usr/ include/ qt4/QtXml include/ qt4/QtSvg -I/usr/ include/ qt4/QtSql include/ qt4/QtScript -I/usr/ include/ qt4/QtXmlPatter ns include/ qt4/QtNetwork -I/usr/ include/ qt4/QtWebKit share/qt4/ include/ QtCore -I/usr/ share/qt4/ include/ QtGui share/qt4/ include/ QtXml -I/usr/ share/qt4/ include/ QtNetwork share/qt4/ include/ QtSql -I/usr/ share/qt4/ include/ QtOpenGL share/qt4/ include/ QtWebKit -I/usr/ share/qt4/ include/ Qt include/ taglib -I/usr/ share/qt4/ include/ QtScript r.cpp r.cpp:24: portaudio. h:50: error: ‘PaDeviceIndex’ does not name a type portaudio. h:58: error: ‘PaStreamParame ters’ does not name a portaudio. h:60: error: ‘PaStreamParame ters’ does not name a portaudio. h:71: error: ISO C++ forbids declaration of ckTimeInfo’ with no type portaudio. h:71: error: expected ‘,’ or ‘...’ before ‘*’ r.cpp: In constructor :SoundManager( ConfigObject< ConfigValue> *, EngineMaster*)’: r.cpp:56: warning: unused variable VinylControlSig nalQuality1’ r.cpp:57: warning: unused variable VinylControlSig nalQuality2’ r.cpp:58: warning: unused variable VinylControlInp utStrengthL1’ r.cpp:59: warning: unused variable VinylControlInp utStrengthR1’ r.cpp:60: warning: unused variable VinylControlInp utStrengthL2’ r.cpp:61: warning: unused variable VinylControlInp utStrengthR2’ r.cpp: In member function ‘QList<QString> :getHostAPIList () const’: r.cpp:177: error: ‘PaHostApiIndex’ was not declared in this
>
> I get the following error when trying to compile Mixxx 1.9.0
> (release-
>
> %> scons shoutcast=0
> [previous output omitted]
> g++ -o lin32_build/
> -fomit-
> -D__LINUX__ -D__UNIX__ -DSETTINGS_
> -DBPMSCHEME_
> -DTRACK_
> -D__PORTAUDIO__ -DQT_TABLET_SUPPORT -DQT_SHARED -D__SNDFILE__
> -D__MIDISCRIPT__ -D__VINYLCONTROL__ -I/usr/
> -Isrc -Ilib/soundtouc
> -I/usr/include/qt4 -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -I/usr/
> -Ilib/fidlib-0.9.9 -I/usr/
> -Ilib/xwax -Ilib/scratchlib src/soundmanage
> In file included from src/soundmanage
> src/sounddevice
> src/sounddevice
> type
> src/sounddevice
> type
> src/sounddevice
> ‘PaStreamCallba
> src/sounddevice
> token
> src/soundmanage
> ‘SoundManager:
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> ‘pControlObject
> src/soundmanage
> SoundManager:
> src/soundmanage
> scope
> src/soundm...