[CLAM] Compilation Error

Hernán Ordiales h at ordia.com.ar
Thu Aug 7 12:51:21 PDT 2008


On Thu, Aug 7, 2008 at 6:09 AM, RAVI GUPTA <dce_ravigupta at yahoo.co.in> wrote:
> Second method had worked for me but when i try to run the file, it gives me
> errors:
>
> ./network FilePlayer.clamnetwork
> Adding TypePlugin N4CLAM5AudioE shown as CLAM::Audio (Buffer) with color
> lightcyan
> Adding TypePlugin f shown as CLAM::Audio (Stream) with color lightblue
> Adding TypePlugin St6vectorIfSaIfEE shown as Floats vector with color silver
> Adding TypePlugin St6vectorISt4pairIffESaIS1_EE shown as Float pairs vector
> with color thistle
> Adding TypePlugin N4CLAM7LPModelE shown as CLAM::LPModel with color orange
> Adding TypePlugin N4CLAM8SpectrumE shown as CLAM::Spectrum with color
> yellowgreen
> Adding TypePlugin N4CLAM17SpectralPeakArrayE shown as
> CLAM::SpectralPeakArray with color lightcoral
> Adding TypePlugin N4CLAM11FundamentalE shown as CLAM::Fundamental with color
> sandybrown
> Adding TypePlugin N4CLAM11MelCepstrumE shown as CLAM::MelCepstrum with color
> palegreen
> Adding TypePlugin N4CLAM11MelSpectrumE shown as CLAM::MelSpectrum with color
> seagreen
> AudioSink::ConcreteConfigure(..) - buffer size: 0
> BackendBufferSize() 1024
> AudioSink::ConcreteConfigure(..) - buffer size: 0
> BackendBufferSize() 512
> NetworkPlayer::Init()
> Start
> Warning: could not start processing for not being Configured:
> 'MonoAudioFileReader_0' of class MonoAudioFileReader
> /usr/bin/jackd: symbol lookup error: /usr/bin/jackd: undefined symbol:
> jack_zero_filled_buffer
> Default API 0
> * OSS (0)
>   ALSA (1)
> -9979
> -9979
> -9979
> -9979
> -9979
> 1
> Portaudio Chosen API: ALSA 1
> PortAudio Error: No free default output device
>
> Also I got same errors when i tried to run "Constructing and playing a
> simple network" example
>
> http://iua-share.upf.es/wikis/clam/index.php/Constructing_and_playing_a_simple_network
>
> Can you tell me whether some pluigins are missing or i have to do some more
> configurations?

Those are errors related with audio backends, could be a problem with
your audio system configuration or because the 'by hand' method is
missing some defines, please try compiling using the scons file (just
copy the attached file to the network.cxx file path and type 'scons')

> Thanks for replying quickly.
>
> Hi!
>
> You should use the scons scripts from here:
> http://iua-share.upf.es/wikis/clam/index.php/Minimal_SConstruct_to_build_with_CLAM_and_Qt4
> Just copy that text into a SConstruct file in the same path of your
> network.cxx file and type 'scons'
>
> or if you still want to compile "by hand": g++ network.cxx
> -lclam_core
> -lclam_audioio -lclam_processing -L$CLAM_LIBRARY_INSTALLATION_PATH/lib
> -I$CLAM_LIBRARY_INSTALLATION_PATH/include -o
>  network
>
> ________________________________
> Unlimited freedom, unlimited storage. Get it now
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://clam.iua.upf.edu
>



-- 
Hernán
http://h.ordia.com.ar
GnuPG: 0xEE8A3FE9
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SConstruct
Type: application/octet-stream
Size: 2146 bytes
Desc: not available
URL: <http://lists.clam-project.org/pipermail/clam-users-clam-project.org/attachments/20080807/50408599/attachment-0005.obj>


More information about the clam-users mailing list