[From nobody Tue May 20 04:27:02 2014
Return-Path: &lt;cyrus@iua-mail&gt;
Received: from iua-mail ([unix socket])
	by iua-mail (Cyrus v2.1.15-IPv6-Debian-2.1.15-0woody.1.0) with LMTP;
	Tue, 26 Oct 2004 13:30:13 +0200
X-Sieve: CMU Sieve 2.2
Return-path: &lt;daniboronat@gmail.com&gt;
Received: from wproxy.gmail.com ([64.233.184.202])
	by iua-mail.upf.es with esmtp (Exim 3.35 #1 (Debian))
	id 1CMPWh-0005xg-00
	for &lt;david.garcia@iua.upf.es&gt;; Tue, 26 Oct 2004 13:30:07 +0200
Received: by wproxy.gmail.com with SMTP id 71so231871wri
	for &lt;david.garcia@iua.upf.es&gt;; Tue, 26 Oct 2004 04:29:34 -0700 (PDT)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com;
	h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references;
	b=QiAEfD9JN01NCt0JdfVte+wA1A5/P8rKFwkqhLRzgT49MhNT7t8JqtEZCrAtaggBHkuqZzotZkJmyHvsPFfo5GVCMlf196xVZ0aGO8hhdhL4xNrilaVhUcS76VY+uEum30z8B0rjT6CoITzvojpbg6pTPjbzCdBwdCOaMnfIc5U=
Received: by 10.38.163.76 with SMTP id l76mr382222rne;
	Tue, 26 Oct 2004 04:29:34 -0700 (PDT)
Received: by 10.38.74.40 with HTTP; Tue, 26 Oct 2004 04:29:34 -0700 (PDT)
Message-ID: &lt;e8b7eed0041026042959c63336@mail.gmail.com&gt;
Date: Tue, 26 Oct 2004 13:29:34 +0200
From: Dani Boronat &lt;daniboronat@gmail.com&gt;
Reply-To: Dani Boronat &lt;daniboronat@gmail.com&gt;
To: David Garcia Garzon &lt;david.garcia@iua.upf.es&gt;
Subject: Re: [CLAM] problem whith compilation
In-Reply-To: &lt;200410261229.44244.david.garcia@iua.upf.es&gt;
Mime-Version: 1.0
Content-Type: text/plain;
  charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
References: &lt;e8b7eed00410260219713a86b5@mail.gmail.com&gt;
	&lt;200410261229.44244.david.garcia@iua.upf.es&gt;
X-MTG-MailScanner: Found to be clean
X-MTG-MailScanner-SpamCheck: not spam, SpamAssassin (score=-2.416,
	required 5, autolearn=not spam, BAYES_00 -2.60,
	MAILTO_TO_REMOVE 0.12, RCVD_BY_IP 0.07)

hola tinc la versi=F3 3.4.1 del gcc, i aquest =E9s el codi que he intentat
compilar. =C9s cosa dels includes  #include &quot;Spectrum.hxx&quot;,#include
&quot;SpectrumConfig.hxx&quot;  #include &quot;FFT_rfftw.hxx&quot;        , si compilo un
codi senzill tipo una funci=F3 main que imprimeix hola per pantalla, amb
els includes #include &quot;XMLStorage.hxx&quot;, #include &quot;DataTypes.hxx&quot; i
#include &quot;Err.hxx&quot;  compila perfectament.

Gr=E0cies.           =20

/*
 * Copyright (c) 2001-2002 MUSIC TECHNOLOGY GROUP (MTG)
 *                         UNIVERSITAT POMPEU FABRA
 *
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation; either version 2 of the License, or
 * (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  US=
A
 *
 */

#include &lt;iostream&gt;
#include &quot;Spectrum.hxx&quot;         // imports CLAM::Spectrum declaration
#include &quot;SpectrumConfig.hxx&quot;   // imports CLAM::SpectrumConfig and
CLAM::SpecTypeFlags
                                                                // declarat=
ions
#include &quot;FFT_rfftw.hxx&quot;        // imports CLAM::FFT_rfftw Processing
declaration
#include &quot;XMLStorage.hxx&quot;       // imports CLAM XML interface
#include &quot;DataTypes.hxx&quot;        // imports CLAM-defined types declarations
#include &quot;Err.hxx&quot;              // imports CLAM::Err exception declaration

int main(int argc, char* argv[])
{
        try
        {
                // In CLAM audio signals are modeled as CLAM::Audio
class instances. These
                // 'Audio' objects will contain the actual samples
that conform the signal
                // as well as some useful info about those samples,
such as the sampling rate.
                // On the other hand, frequency domain representations
of audio signals are
                // modeled as CLAM::Spectrum class instances. These
'Spectrum' objects
                // contain both the magnitude and phase of a signal
frequency domain representation
                // in various formats ( cartesian or polar complex
numbers, as a pair of floating-point
                // number arrays, etc. ), as well as useful data such
as the spectral range.
                // One of the various ways of obtaining a frequency
domain representation of
                // an audio signal is applying the Fourier Transform.
This algebraic operation
                // is performed by an algorithm with a computational
cost of O( n =B7 log( n ) ), known
                // as FFT - Fast Fourier Transform. CLAM borrows the
algorithm from FFTW,
                // a library implementing it in a very efficient way.
We have encapsulated
                // the FFTW library implementation of the FFTW
algorithm inside a Processing object,
                // CLAM::FFT_rfftw.
                // So transforming an Audio object into a Spectrum
object brokes down to just:
                // 1) Obtain the signal from wherever it suits
                // 2) Create an instance of CLAM::Spectrum and configure it
                // 3) Configure and start the FFT_rfftw object
                // 4) Execute the FFT_rfftw::Do method on both the
input audio signal and
                //    the output frequency domain representation

                // First of all, let's declare some constants used
throughout the
                // example
                const CLAM::TSize samples=3D1024;      // the number of
samples in the audio signal
                const CLAM::TData sampleRate=3D8000.0; // the sample
rate of the audio signal
                const CLAM::TData sineFreq =3D 400.0;  // frequency of
the audio signal sinusoidal
                                                                     =20
                  // component

                // For this example we will just synthesize the audio signa=
l.
                CLAM::Audio myaudio;

                // We set the number of samples that the signal will have
                myaudio.SetSize(samples);

                // Synthesis loop. We use the following formula:
                // x(n) =3D A0 + A1 * sin( 2*PI*f*(n/sampleRate) )
                // this will yield a signal with exactly one
sinusoidal component
                for ( CLAM::TSize i=3D0; i&lt;samples; i++ )
                      =20
myaudio.GetBuffer()[i]=3D0.625+0.5*sin(2.0*sineFreq*400.0*(((float)i)/sampl=
eRate));

                // We create an instance of CLAM::Spectrum
                CLAM::Spectrum myspectrum;
                // Helper class that defines the spectrum format
                CLAM::SpecTypeFlags specFlags;

                // We want the spectrum to be defined as an array of
cartesian ( a+b=B7i )
                // complex numbers
                specFlags.bComplex=3D1;
                // we disable the representation consisting in a pair of ar=
rays
                // of floating-point numbers ( magnitude and phase )
                specFlags.bMagPhase =3D 0;
                // we apply the desired format on the object
                myspectrum.SetType(specFlags);

                // We set the number of spectral samples. This number
is given by the
                // fact that since we are just interested in the
'real' part of the
                // spectrum, the number of samples will be N/2 ( half
the original signal
                // samples ) plus one: the DC or zero frequency component
                myspectrum.SetSize(samples/2+1);

                // We create the configuration object for the
FFT_rfftw Processing. We just
                // need to specify the size ( in samples of the input signa=
l ).
                CLAM::FFTConfig fconfig;
                fconfig.SetAudioSize(samples);

                // Processing object creation
                CLAM::FFT_rfftw myfft;

                // we configure the object
                myfft.Configure( fconfig );

                // we start it
                myfft.Start();

                std::cout &lt;&lt; &quot;Running object &quot; &lt;&lt; std::endl;
                // we apply the FFT algorithm on 'myaudio' and leave
the result on
                // 'myspectrum'
                myfft.Do( myaudio, myspectrum );

                std::cout &lt;&lt; &quot;Storing spectrum&quot;&lt;&lt; std::endl;

                // To obtain a persistent copy of the myspectrum
object we first instantiate
                // a CLAM::XMLStorage object - this copy will be
encoded as a well-formed XML
                // document
                CLAM::XMLStorage storage;

                // and then we tell it to dump the object, setting the
'root' element name of the
                // resulting XML document to 'FFTResult' on the file
'FFT_example.xml'
                storage.Dump(myspectrum, &quot;FFTResult&quot;, &quot;FFT_example.xml&quot;);

        }
        catch(CLAM::Err&amp; err) // first we check for CLAM internal exception=
s
        {
                err.Print();
                exit(-1);
        }
        catch( std::exception&amp; e ) // and then for standard library excepti=
ons
        {
                std::cerr &lt;&lt; e.what() &lt;&lt; std::endl;
                exit(-1);
        }

        return 0;

}


On Tue, 26 Oct 2004 12:29:44 +0200, David Garcia Garzon
&lt;david.garcia@iua.upf.es&gt; wrote:
&gt; Ens pots dir la versio de gcc (no crec que sigui un 2.9X, pero tot pot se=
r) i
&gt; enviar-nos el contingut del fitxer 'program_using_clam.cxx'. Algunes de l=
es
&gt; raons que s'em pasem pel cap son que potser es que estas fent un include =
dins
&gt; d'un namespace o tens alguna macro definida que te conflictes amb les de
&gt; CLAM, pero una ullada al codi seria mes util.
&gt;=20
&gt; A Dimarts 26 Octubre 2004 11:19, Dani Boronat va escriure:
&gt;=20
&gt;=20
&gt; &gt; hi, finally I can install the clam in my computer. But now I have a
&gt; &gt; problem when I try to compile  the clam example
&gt; &gt; program_using_clam.cxx. I move the folder
&gt; &gt; compiling_against_CLAM_example at the same level as CLAM-0.6.1 folder.
&gt; &gt; I've changed the clam location in the clam-location.cfg file. After
&gt; &gt; that I type make CONFIG=3Drelease to try compile the example and I foun=
d
&gt; &gt; the following error (it's quite long):
&gt; &gt;
&gt; &gt; [dani@dhcppc31 build]$ make CONFIG=3Drelease
&gt; &gt; ../../CLAM-0.6.1//build/Makefile.rules:21: Makefile.vars: No such file
&gt; &gt; or directory
&gt; &gt; ../../CLAM-0.6.1//build/Makefile.rules:22: no hay un nombre de archivo
&gt; &gt; para `include'
&gt; &gt; Generating SOURCES, OBJECTS, DEPENDS and INCLUDES definitions
&gt; &gt; ../../CLAM-0.6.1//build/srcdeps/srcdeps settings.cfg &gt; Makefile.vars
&gt; &gt; settings =3D settings.cfg
&gt; &gt; srcfile =3D (null)
&gt; &gt; verbose =3D false
&gt; &gt; progress =3D true
&gt; &gt;
&gt; &gt; Searching for needed source files:
&gt; &gt; 0 of 1 done     ..//program_using_clam.cxx
&gt; &gt; 1 of 37 done    ../../CLAM-0.6.1//src/Errors/Err.cxx
&gt; &gt; 2 of 37 done    ../../CLAM-0.6.1//src/Defines/Assert.cxx
&gt; &gt; 3 of 37 done    ../../CLAM-0.6.1//src/Errors/ErrOutOfMemory.cxx
&gt; &gt; 4 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/BasicXMLable.cxx
&gt; &gt; 5 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/XMLAdapter.cxx
&gt; &gt; 6 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.c=
xx
&gt; &gt; 7 of 37 done    ../../CLAM-0.6.1//src/Base/DynamicType.cxx
&gt; &gt; 8 of 37 done    ../../CLAM-0.6.1//src/Standard/Complex.cxx
&gt; &gt; 9 of 37 done    ../../CLAM-0.6.1//src/Standard/Polar.cxx
&gt; &gt; 10 of 37 done   ../../CLAM-0.6.1//src/Standard/Enum.cxx
&gt; &gt; 11 of 38 done   ../../CLAM-0.6.1//src/Standard/GlobalEnums.cxx
&gt; &gt; 12 of 38 done   ../../CLAM-0.6.1//src/Standard/Point.cxx
&gt; &gt; 13 of 38 done   ../../CLAM-0.6.1//src/Standard/BPF.cxx
&gt; &gt; 14 of 38 done   ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.cxx
&gt; &gt; 15 of 38 done   ../../CLAM-0.6.1//src/Standard/Flags.cxx
&gt; &gt; 16 of 38 done   ../../CLAM-0.6.1//src/Flow/Controls/InControl.cxx
&gt; &gt; 17 of 38 done   ../../CLAM-0.6.1//src/Flow/Controls/OutControl.cxx
&gt; &gt; 18 of 38 done   ../../CLAM-0.6.1//src/Errors/ErrProcessingObj.cxx
&gt; &gt; 19 of 38 done
&gt; &gt; ../../CLAM-0.6.1//src/Processing/Base/PublishedInControls.cxx 20 of 38 =
done
&gt; &gt;   ../../CLAM-0.6.1//src/Processing/Base/PublishedOutControls.cxx 21 of =
38
&gt; &gt; done   ../../CLAM-0.6.1//src/Processing/Base/PublishedInPorts.cxx 22 of=
 38
&gt; &gt; done   ../../CLAM-0.6.1//src/Processing/Base/PublishedOutPorts.cxx 23 o=
f 38
&gt; &gt; done   ../../CLAM-0.6.1//src/Processing/Base/Processing.cxx 24 of 40 do=
ne
&gt; &gt; ../../CLAM-0.6.1//src/Flow/Ports/Port.cxx
&gt; &gt; 25 of 40 done   ../../CLAM-0.6.1//src/Flow/Ports/InPort.cxx
&gt; &gt; 26 of 40 done   ../../CLAM-0.6.1//src/Flow/Nodes/StreamRegion.cxx
&gt; &gt; 27 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/ReadStreamRegion.cxx
&gt; &gt; 28 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/SourceStreamRegion.cxx
&gt; &gt; 29 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/WriteStreamRegion.cxx
&gt; &gt; 30 of 42 done   ../../CLAM-0.6.1//src/Data/BasicProcessing/Audio.cxx
&gt; &gt; 31 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/Node.cxx
&gt; &gt; 32 of 42 done   ../../CLAM-0.6.1//src/Flow/Ports/OutPort.cxx
&gt; &gt; 33 of 42 done   ../../CLAM-0.6.1//src/Processing/Analysis/FFT_rfftw.cxx
&gt; &gt; 34 of 42 done   ../../CLAM-0.6.1//src/Processing/Analysis/FFT.cxx
&gt; &gt; 35 of 42 done   ../../CLAM-0.6.1//src/Errors/ErrDynamicType.cxx
&gt; &gt; 36 of 42 done   ../../CLAM-0.6.1//src/Storage/XML/XMLStorage.cxx
&gt; &gt; 37 of 42 done   ../../CLAM-0.6.1//src/Standard/Text.cxx
&gt; &gt; 38 of 42 done
&gt; &gt; ../../CLAM-0.6.1//src/Processing/Base/ProcessingComposite.cxx 39 of 42 =
done
&gt; &gt;   ../../CLAM-0.6.1//src/Processing/Base/TopLevelProcessing.cxx 40 of 42
&gt; &gt; done   ../../CLAM-0.6.1//src/Flow/Nodes/DelayStreamRegion.cxx 41 of 42 =
done
&gt; &gt;   ../../CLAM-0.6.1//src/Flow/Nodes/InplaceStreamRegion.cxx =3D=3D compi=
ling
&gt; &gt; ..//program_using_clam.cxx
&gt; &gt; In file included from ../../CLAM-0.6.1//src/Standard/Array.hxx:36,
&gt; &gt;                  from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:25,
&gt; &gt;                  from ..//program_using_clam.cxx:23:
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; In file included from ../../CLAM-0.6.1//src/Base/DynamicTypeMacros.hxx:=
24,
&gt; &gt;                  from ../../CLAM-0.6.1//src/Base/DynamicType.hxx:32,
&gt; &gt;                  from ../../CLAM-0.6.1//src/Standard/Array.hxx:39,
&gt; &gt;                  from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:25,
&gt; &gt;                  from ..//program_using_clam.cxx:23:
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error:
&gt; &gt; namespace-scope anonymous aggregates must be static
&gt; &gt; In file included from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:26,
&gt; &gt;                  from ..//program_using_clam.cxx:23:
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: extra
&gt; &gt; qualification ignored
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; In file included from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:27,
&gt; &gt;                  from ..//program_using_clam.cxx:23:
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: extra qualification
&gt; &gt; ignored ../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; In file included from ../../CLAM-0.6.1//src/Standard/BPF.hxx:28,
&gt; &gt;                  from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:28,
&gt; &gt;                  from ..//program_using_clam.cxx:23:
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: extra qualification
&gt; &gt; ignored ../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: explicit
&gt; &gt; specialization of non-template `CLAM::&lt;anonymous class&gt;'
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: abstract
&gt; &gt; declarator `CLAM::&lt;anonymous class&gt;' used as declaration
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: namespace-scope
&gt; &gt; anonymous aggregates must be static
&gt; &gt; In file included from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/SpecTypeFlags.hxx:4,
&gt; &gt;                  from
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/SpectrumConfig.hxx:5,
&gt; &gt;                  from ..//program_using_clam.cxx:24:
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Flags.hxx: In member function `virtual
&gt; &gt; bool CLAM::Flags&lt;N&gt;::IsSetFlag(unsigned int) const':
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Flags.hxx:304: error: there are no
&gt; &gt; arguments to `test' that depend on a template parameter, so a
&gt; &gt; declaration of `test' must be available
&gt; &gt; ../../CLAM-0.6.1//src/Standard/Flags.hxx:304: error: (if you use
&gt; &gt; `-fpermissive', G++ will accept your code, but allowing the use of an
&gt; &gt; undeclared name is deprecated)
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
&gt; &gt; constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&amp;,
&gt; &gt; const char*, bool) [with T =3D float]':
&gt; &gt; ../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
&gt; &gt; `void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&amp;,
&gt; &gt; AttribType&amp;, char*) const [with AttribType =3D float]'
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:52:
&gt; &gt; instantiated from here
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
&gt; &gt; invalid initialization of reference of type 'CLAM::Component&amp;' from
&gt; &gt; expression of type 'float'
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
&gt; &gt; constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&amp;,
&gt; &gt; const char*, bool) [with T =3D int]':
&gt; &gt; ../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
&gt; &gt; `void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&amp;,
&gt; &gt; AttribType&amp;, char*) const [with AttribType =3D int]'
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:55:
&gt; &gt; instantiated from here
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
&gt; &gt; invalid initialization of reference of type 'CLAM::Component&amp;' from
&gt; &gt; expression of type 'int'
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
&gt; &gt; constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&amp;,
&gt; &gt; const char*, bool) [with T =3D double]':
&gt; &gt; ../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
&gt; &gt; `void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&amp;,
&gt; &gt; AttribType&amp;, char*) const [with AttribType =3D double]'
&gt; &gt; ../../CLAM-0.6.1//src/Data/BasicProcessing/Audio.hxx:53:
&gt; &gt; instantiated from here
&gt; &gt; ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
&gt; &gt; invalid initialization of reference of type 'CLAM::Component&amp;' from
&gt; &gt; expression of type 'double'
&gt; &gt; make: *** [obj/program_using_clam.o] Error 1
&gt; &gt;
&gt; &gt; thanks.
&gt; &gt;
&gt; &gt; _______________________________________________
&gt; &gt; CLAM mailing list
&gt; &gt; CLAM@iua.upf.es
&gt; &gt; http://www.iua.upf.es/mtg/clam
&gt;=20
&gt; --
&gt; David Garc=EDa Garz=F3n &lt;david.garcia@removespam.iua.upf.es&gt;
&gt; Phone: 034 93 542 21 99
&gt; Music Technology Group, Institut Universitari de l'Audiovisual
&gt; Universitat Pompeu Fabra
&gt;


]