Closed mixxxbot closed 2 years ago
Commented by: bkgood Date: 2012-01-01T21:50:44Z
libportaudio-dev is portaudio v18 but mixxx requires v19 which is why you're getting all those undefined types, try portaudio19-dev.
On Sun, Jan 1, 2012 at 11:39 AM, Daniel Preussker
<email address hidden> wrote:
> Public bug reported:
>
> OS: Debian Squeeze amd64
> pkgs installed for compilation:
> * apt-get install bzr scons libqt4-dev libqt4-sql-sqlite libportmidi-dev libshout-dev libtag1-dev libfaad-dev libmp4v2-dev libmad0-dev libsndfile-dev libid3tag-dev libid3tag0-dev libportaudio-dev
> Repositories: Debian-Multimedia.org, ftp.debian.org
>
> Invoked with: scons -j 2
>
> Config:
> scons: Reading SConscript files ...
> INFO:root:Target Platform: linux
> INFO:root:Target Machine: x86_64
> INFO:root:Build: debug
> INFO:root:Toolchain: gnu
> INFO:root:Crosscompile: NO
> INFO:root:Qt path: /usr/share/qt4
> Loading qt4 tool...
> Configuring MixxxCore|
> Checking for pkg-config (at least version 0.15.0)... (cached) yes
> Configuring SoundTouch
> Configuring ReplayGain
> Configuring PortAudio
> Checking for C library portaudio... (cached) yes
> Configuring PortMIDI
> Checking for C library porttime... (cached) yes
> Checking for C library portmidi... (cached) yes
> Configuring Qt
> Checking for QtCore (4.6 or higher)... (cached) yes
> Configuring FidLib
> Configuring SndFile
> Checking for C library sndfile... (cached) yes
> Configuring FLAC
> Checking for C header file FLAC/stream_decoder.h... (cached) yes
> Checking for C library libFLAC... (cached) yes
> Configuring OggVorbis
> Checking for C library libvorbisfile... (cached) yes
> Checking for C library libvorbis... (cached) yes
> Checking for C library libogg... (cached) yes
> Configuring OpenGL
> Checking for C library GL... (cached) yes
> Checking for C library GLU... (cached) yes
> Configuring TagLib
> Checking for C library tag... (cached) yes
> Configuring HifiEq
> Configuring MIDIScript
> Configuring Mad
> Checking for C library libmad... (cached) yes
> Checking for C library libid3tag... (cached) yes
> Configuring CoreAudio
> Configuring MediaFoundation
> Configuring HSS1394
> Configuring VinylControl
> Configuring Shoutcast
> Checking for C library libshout... (cached) yes
> Checking for C library vorbisenc... (cached) yes
> Configuring Profiling
> Configuring Tuned
> Configuring QDebug
> Configuring Verbose
> Configuring Optimize
> Configuring FAAD
> Configuring WavPack
> Configuring TestSuite
> Configuring LADSPA
> Configuring MSVCDebug
> Configuring MSVSHacks
> Configuring PerfTools
> Configuring AsmLib
> Configuring Tonal
> Configuring IPod
> Configuring FFMPEG
>
> Features Summary:
> ================
> Mixxx Core Features... Enabled
> High quality EQs... Enabled
> MIDI Scripting... Enabled
> MAD MP3 Decoder... Enabled
> CoreAudio MP3/AAC Decoder... Disabled
> Media Foundation AAC Decoder Plugin... Disabled
> HSS1394 MIDI device support... Disabled
> Vinyl Control... Enabled
> Shoutcast Broadcasting (OGG/MP3)... Enabled
> gprof/Saturn profiling support... Disabled
> Optimizing for this CPU... Disabled
> Debugging message output... Enabled
> Verbose compilation output... Enabled
> Optimization and Tuning... Enabled -- Basic Optimizations (-03)
> FAAD AAC audio file decoder plugin... Disabled
> WavPack audio file support plugin... Disabled
> Mixxx Test Suite... Disabled
> Experimental LADSPA Support... Disabled
> MSVC Debugging... Disabled
> MSVS 2005 hacks... Disabled
> Google PerfTools... Disabled
> Agner Fog's ASMLIB... Disabled
> NOT-WORKING Tonal Audio Detection... Disabled
> NOT-WORKING iPod Support... Disabled
> NOT-WORKING FFMPEG support... Disabled
> ================
> Building with flags: hifieq mad midiscript optimize qdebug shoutcast verbose vinylcontrol
> Building with CC: gcc
> Building with CXX: g++
> Building with CCFLAGS: -pipe -Wall -Wextra -g -O3 -fomit-frame-pointer -ffast-math -funroll-loops
> Building with CPPDEFINES: -Dx86_64 -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__MAD__ -D__VINYLCONTROL__ -D__SHOUTCAST__
> Building with CXXFLAGS:
> Building with LINKFLAGS: $__RPATH -Wl,-rpath,$QTDIR/lib
> Building with LIBS: portaudio porttime portmidi QtOpenGL QtXml QtSvg QtSql QtScript QtXmlPatterns QtWebKit QtGui QtNetwork QtCore QtXml QtGui QtCore QtNetwork QtOpenGL QtWebKit QtScript sndfile libFLAC libvorbisfile libvorbis libogg GL GLU tag QtScript libmad libid3tag libshout vorbisenc
> ================
>
> Error:
> In file included from src/soundmanager.cpp:27:
> 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 member function ‘QList<QString> SoundManager::getHostAPIList() const’:
> src/soundmanager.cpp:197: error: ‘PaHostApiIndex’ was not declared in this scope
> src/soundmanager.cpp:197: error: expected ‘;’ before ‘i’
> src/soundmanager.cpp:197: error: ‘i’ was not declared in this scope
> src/soundmanager.cpp:197: error: ‘Pa_GetHostApiCount’ was not declared in this scope
> src/soundmanager.cpp:199: error: expected initializer before ‘*’ token
> src/soundmanager.cpp:200: error: ‘api’ was not declared in this scope
> src/soundmanager.cpp: In member function ‘void SoundManager::queryDevices()’:
> src/soundmanager.cpp:326: error: ‘Pa_GetDeviceCount’ was not declared in this scope
> src/soundmanager.cpp:353: error: ‘const struct PaDeviceInfo’ has no member named ‘hostApi’
> src/soundmanager.cpp:353: error: ‘Pa_GetHostApiInfo’ was not declared in this scope
> src/soundmanager.cpp:355: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultSampleRate’
> src/soundmanager.cpp: At global scope:
> src/soundmanager.cpp:514: warning: unused parameter ‘streamTime’
> g++ -o lin64_build/soundmanagerconfig.o -c -pipe -Wall -Wextra -g -O3 -fomit-frame-pointer -ffast-math -funroll-loops -DQT_GUI_LIB -Dx86_64 -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__MAD__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -I/usr/share/qt4/include -Ilin64_build -Isrc -Ilib/soundtouch-1.6.0 -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.10 -I/usr/include/taglib -I/usr/share/qt4/include/QtScript -Ilib/xwax -Ilib/scratchlib src/soundmanagerconfig.cpp
> scons: *** [lin64_build/soundmanager.o] Error 1
> scons: building terminated because of errors.
>
> ** Affects: mixxx
> Importance: Undecided
> Status: New
>
> --
> You received this bug notification because you are a member of Mixxx
> Development Team, which is subscribed to Mixxx.
> https://bugs.launchpad.net/bugs/910594
>
> Title:
> compiling stops at lin64_build/soundmanager.o
>
> Status in Mixxx:
> New
>
> Bug description:
> OS: Debian Squeeze amd64
> pkgs installed for compilation:
> * apt-get install bzr scons libqt4-dev libqt4-sql-sqlite libportmidi-dev libshout-dev libtag1-dev libfaad-dev libmp4v2-dev libmad0-dev libsndfile-dev libid3tag-dev libid3tag0-dev libportaudio-dev
> Repositories: Debian-Multimedia.org, ftp.debian.org
>
> Invoked with: scons -j 2
>
> Config:
> scons: Reading SConscript files ...
> INFO:root:Target Platform: linux
> INFO:root:Target Machine: x86_64
> INFO:root:Build: debug
> INFO:root:Toolchain: gnu
> INFO:root:Crosscompile: NO
> INFO:root:Qt path: /usr/share/qt4
> Loading qt4 tool...
> Configuring MixxxCore|
> Checking for pkg-config (at least version 0.15.0)... (cached) yes
> Configuring SoundTouch
> Configuring ReplayGain
> Configuring PortAudio
> Checking for C library portaudio... (cached) yes
> Configuring PortMIDI
> Checking for C library porttime... (cached) yes
> Checking for C library portmidi... (cached) yes
> Configuring Qt
> Checking for QtCore (4.6 or higher)... (cached) yes
> Configuring FidLib
> Configuring SndFile
> Checking for C library sndfile... (cached) yes
> Configuring FLAC
> Checking for C header file FLAC/stream_decoder.h... (cached) yes
> Checking for C library libFLAC... (cached) yes
> Configuring OggVorbis
> Checking for C library libvorbisfile... (cached) yes
> Checking for C library libvorbis... (cached) yes
> Checking for C library libogg... (cached) yes
> Configuring OpenGL
> Checking for C library GL... (cached) yes
> Checking for C library GLU... (cached) yes
> Configuring TagLib
> Checking for C library tag... (cached) yes
> Configuring HifiEq
> Configuring MIDIScript
> Configuring Mad
> Checking for C library libmad... (cached) yes
> Checking for C library libid3tag... (cached) yes
> Configuring CoreAudio
> Configuring MediaFoundation
> Configuring HSS1394
> Configuring VinylControl
> Configuring Shoutcast
> Checking for C library libshout... (cached) yes
> Checking for C library vorbisenc... (cached) yes
> Configuring Profiling
> Configuring Tuned
> Configuring QDebug
> Configuring Verbose
> Configuring Optimize
> Configuring FAAD
> Configuring WavPack
> Configuring TestSuite
> Configuring LADSPA
> Configuring MSVCDebug
> Configuring MSVSHacks
> Configuring PerfTools
> Configuring AsmLib
> Configuring Tonal
> Configuring IPod
> Configuring FFMPEG
>
> Features Summary:
> ================
> Mixxx Core Features... Enabled
> High quality EQs... Enabled
> MIDI Scripting... Enabled
> MAD MP3 Decoder... Enabled
> CoreAudio MP3/AAC Decoder... Disabled
> Media Foundation AAC Decoder Plugin... Disabled
> HSS1394 MIDI device support... Disabled
> Vinyl Control... Enabled
> Shoutcast Broadcasting (OGG/MP3)... Enabled
> gprof/Saturn profiling support... Disabled
> Optimizing for this CPU... Disabled
> Debugging message output... Enabled
> Verbose compilation output... Enabled
> Optimization and Tuning... Enabled -- Basic Optimizations (-03)
> FAAD AAC audio file decoder plugin... Disabled
> WavPack audio file support plugin... Disabled
> Mixxx Test Suite... Disabled
> Experimental LADSPA Support... Disabled
> MSVC Debugging... Disabled
> MSVS 2005 hacks... Disabled
> Google PerfTools... Disabled
> Agner Fog's ASMLIB... Disabled
> NOT-WORKING Tonal Audio Detection... Disabled
> NOT-WORKING iPod Support... Disabled
> NOT-WORKING FFMPEG support... Disabled
> ================
> Building with flags: hifieq mad midiscript optimize qdebug shoutcast verbose vinylcontrol
> Building with CC: gcc
> Building with CXX: g++
> Building with CCFLAGS: -pipe -Wall -Wextra -g -O3 -fomit-frame-pointer -ffast-math -funroll-loops
> Building with CPPDEFINES: -Dx86_64 -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__MAD__ -D__VINYLCONTROL__ -D__SHOUTCAST__
> Building with CXXFLAGS:
> Building with LINKFLAGS: $__RPATH -Wl,-rpath,$QTDIR/lib
> Building with LIBS: portaudio porttime portmidi QtOpenGL QtXml QtSvg QtSql QtScript QtXmlPatterns QtWebKit QtGui QtNetwork QtCore QtXml QtGui QtCore QtNetwork QtOpenGL QtWebKit QtScript sndfile libFLAC libvorbisfile libvorbis libogg GL GLU tag QtScript libmad libid3tag libshout vorbisenc
> ================
>
> Error:
> In file included from src/soundmanager.cpp:27:
> 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 member function ‘QList<QString> SoundManager::getHostAPIList() const’:
> src/soundmanager.cpp:197: error: ‘PaHostApiIndex’ was not declared in this scope
> src/soundmanager.cpp:197: error: expected ‘;’ before ‘i’
> src/soundmanager.cpp:197: error: ‘i’ was not declared in this scope
> src/soundmanager.cpp:197: error: ‘Pa_GetHostApiCount’ was not declared in this scope
> src/soundmanager.cpp:199: error: expected initializer before ‘*’ token
> src/soundmanager.cpp:200: error: ‘api’ was not declared in this scope
> src/soundmanager.cpp: In member function ‘void SoundManager::queryDevices()’:
> src/soundmanager.cpp:326: error: ‘Pa_GetDeviceCount’ was not declared in this scope
> src/soundmanager.cpp:353: error: ‘const struct PaDeviceInfo’ has no member named ‘hostApi’
> src/soundmanager.cpp:353: error: ‘Pa_GetHostApiInfo’ was not declared in this scope
> src/soundmanager.cpp:355: error: ‘const struct PaDeviceInfo’ has no member named ‘defaultSampleRate’
> src/soundmanager.cpp: At global scope:
> src/soundmanager.cpp:514: warning: unused parameter ‘streamTime’
> g++ -o lin64_build/soundmanagerconfig.o -c -pipe -Wall -Wextra -g -O3 -fomit-frame-pointer -ffast-math -funroll-loops -DQT_GUI_LIB -Dx86_64 -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__MAD__ -D__VINYLCONTROL__ -D__SHOUTCAST__ -I/usr/share/qt4/include -Ilin64_build -Isrc -Ilib/soundtouch-1.6.0 -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.10 -I/usr/include/taglib -I/usr/share/qt4/include/QtScript -Ilib/xwax -Ilib/scratchlib src/soundmanagerconfig.cpp
> scons: *** [lin64_build/soundmanager.o] Error 1
> scons: building terminated because of errors.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/mixxx/+bug/910594/+subscriptions
Commented by: dpreussker Date: 2012-01-02T07:52:29Z
Hi,
Thanks, installing portaudio19-dev and removing libportaudio-dev solved the compiling error.
will now finally enjoy Mixxx on my Debian ;)
Commented by: dpreussker Date: 2012-01-02T08:02:19Z
I'm afraid of reopening it...
compiling went through fine but I cant access my SL-1 Hardware. when selecting the input from "Sound Hardware" it freezes, here is the console-output:
Debug: [Main]: SoundManager::setupDevices()
Debug: [Main]: Building timecode lookup tables for "Serato CV02 Vinyl, Side B" with speed "33.3 RPM"
Debug: [Main]: Starting vinyl control xwax thread
Debug: [Main]: SoundDevicePortAudio::open() "3, SL-1: USB Audio mixxxdj/mixxx#4910 (hw:1,1)"
Debug: [Main]: framesPerBuffer: 1024
Debug: [Main]: Requested sample rate: 48000 Hz, latency: 21.3333 ms
Debug: [Main]: Output channels: 2 | Input channels: 2
Debug: [Main]: Opening stream with id 3
Expression 'SetApproximateSampleRate( pcm, hwParams, sr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1293
Expression 'PaAlsaStreamComponent_InitialConfigure( &self->capture, inParams, self->primeBuffers, hwParamsCapture, &realSr )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1864
Expression 'PaAlsaStream_Configure( stream, inputParameters, outputParameters, sampleRate, framesPerBuffer, &inputLatency, &outputLatency, &hostBufferSizeMode )' failed in 'src/hostapi/alsa/pa_linux_alsa.c', line: 1988
Warning: [Main]: Error opening stream: Invalid sample rate
Commented by: dpreussker Date: 2012-01-02T08:29:34Z
nevermind, problem is solved!
didn't know that mixxx needed to know the samplerate of the SL-1 box, thought it would use some presets...
Thanks a lot!
Issue closed with status Invalid.
Reported by: dpreussker Date: 2012-01-01T17:39:30Z Status: Invalid Importance: Undecided Launchpad Issue: lp910594
OS: Debian Squeeze amd64 pkgs installed for compilation:
Invoked with: scons -j 2