Author Topic: SV 1.5 compilation does not recognize pulseaudio and portaudio  (Read 6168 times)

mark_orion

  • Newbie
  • *
  • Posts: 13
    • View Profile
I am trying to build version 1.5 from source. The compilation works fine, but the resulting Sonic-Visualizer build has only Jack support. Both pulseaudio and portaudio support is missing although the libraries and the headers are installed. The system is Ubuntu 8.04 "Hardy Heron" with the following libraries:
libpulse / libpulse-dev 0.9.10
libportaudio / libportaudio-dev 18.1
thanks for any help.

davidf

  • Newbie
  • *
  • Posts: 10
    • View Profile
Re: SV 1.5 compilation does not recognize pulseaudio and portaudio
« Reply #1 on: May 01, 2009, 00:58:03 »
If   you are sure you have all the libraries and dev packages needed then the only thing to ask is what command did you use when you ran ./configure? If you could show us that, it would help to clarify what exactly has happpened. As well, the exact compiler error you are getting.

cheerrs,
davidf

mark_orion

  • Newbie
  • *
  • Posts: 13
    • View Profile
Re: SV 1.5 compilation does not recognize pulseaudio and portaudio
« Reply #2 on: May 06, 2009, 15:27:11 »
If   you are sure you have all the libraries and dev packages needed then the only thing to ask is what command did you use when you ran ./configure? If you could show us that, it would help to clarify what exactly has happpened. As well, the exact compiler error you are getting.

cheerrs,
davidf

Hi Davidf,
I am not aware of any "./configure" file. I just run "qmake" as described in the INSTALL file and then "make" to build the application from the Makefile. There are no visible compiler errors, the application builds fine. But it only lists "JACK audio connection kit" as the one and only choice in the preferences and no word of pulseaudio or portaudio in the "About" dialog.

thanks for your help, Mark

cannam

  • Administrator
  • Sr. Member
  • *****
  • Posts: 273
    • View Profile
Re: SV 1.5 compilation does not recognize pulseaudio and portaudio
« Reply #3 on: May 14, 2009, 14:49:36 »
Mark,

When you run qmake and then make, you should see, among all of the other output, a series of lines starting "Project MESSAGE:" and printing out some details of packages that have been found (or not found).  These are printed every time the top-level Makefile generates a Makefile for one of Sonic Visualiser's sub-projects.  The exact set of packages mentioned will depend on the sub-project (e.g. the audioio directory sub-project will call for a lot of audio I/O packages).

Anyway, at some point, and probably at several points, you should see a line saying either

Project MESSAGE: Including PulseAudio support for audio playback

or

Project MESSAGE: WARNING: PulseAudio audio playback support will not be included

If you are seeing the latter, that suggests that the PulseAudio pkg-config definition could not be found.  What do you get if you run

Code: [Select]
$ pkg-config --modversion libpulse

from the command line?


Chris


Chris