[CLAM] problem whith compilation

Dani Boronat daniboronat at gmail.com
Tue Oct 26 02:19:52 PDT 2004


hi, finally I can install the clam in my computer. But now I have a
problem when I try to compile  the clam example  
program_using_clam.cxx. I move the folder
compiling_against_CLAM_example at the same level as CLAM-0.6.1 folder.
I've changed the clam location in the clam-location.cfg file. After
that I type make CONFIG=release to try compile the example and I found
the following error (it's quite long):

[dani at dhcppc31 build]$ make CONFIG=release
../../CLAM-0.6.1//build/Makefile.rules:21: Makefile.vars: No such file
or directory
../../CLAM-0.6.1//build/Makefile.rules:22: no hay un nombre de archivo
para `include'
Generating SOURCES, OBJECTS, DEPENDS and INCLUDES definitions
../../CLAM-0.6.1//build/srcdeps/srcdeps settings.cfg > Makefile.vars
settings = settings.cfg
srcfile = (null)
verbose = false
progress = true

Searching for needed source files:
0 of 1 done     ..//program_using_clam.cxx
1 of 37 done    ../../CLAM-0.6.1//src/Errors/Err.cxx
2 of 37 done    ../../CLAM-0.6.1//src/Defines/Assert.cxx
3 of 37 done    ../../CLAM-0.6.1//src/Errors/ErrOutOfMemory.cxx
4 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/BasicXMLable.cxx
5 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/XMLAdapter.cxx
6 of 37 done    ../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.cxx
7 of 37 done    ../../CLAM-0.6.1//src/Base/DynamicType.cxx
8 of 37 done    ../../CLAM-0.6.1//src/Standard/Complex.cxx
9 of 37 done    ../../CLAM-0.6.1//src/Standard/Polar.cxx
10 of 37 done   ../../CLAM-0.6.1//src/Standard/Enum.cxx
11 of 38 done   ../../CLAM-0.6.1//src/Standard/GlobalEnums.cxx
12 of 38 done   ../../CLAM-0.6.1//src/Standard/Point.cxx
13 of 38 done   ../../CLAM-0.6.1//src/Standard/BPF.cxx
14 of 38 done   ../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.cxx
15 of 38 done   ../../CLAM-0.6.1//src/Standard/Flags.cxx
16 of 38 done   ../../CLAM-0.6.1//src/Flow/Controls/InControl.cxx
17 of 38 done   ../../CLAM-0.6.1//src/Flow/Controls/OutControl.cxx
18 of 38 done   ../../CLAM-0.6.1//src/Errors/ErrProcessingObj.cxx
19 of 38 done   ../../CLAM-0.6.1//src/Processing/Base/PublishedInControls.cxx
20 of 38 done   ../../CLAM-0.6.1//src/Processing/Base/PublishedOutControls.cxx
21 of 38 done   ../../CLAM-0.6.1//src/Processing/Base/PublishedInPorts.cxx
22 of 38 done   ../../CLAM-0.6.1//src/Processing/Base/PublishedOutPorts.cxx
23 of 38 done   ../../CLAM-0.6.1//src/Processing/Base/Processing.cxx
24 of 40 done   ../../CLAM-0.6.1//src/Flow/Ports/Port.cxx
25 of 40 done   ../../CLAM-0.6.1//src/Flow/Ports/InPort.cxx
26 of 40 done   ../../CLAM-0.6.1//src/Flow/Nodes/StreamRegion.cxx
27 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/ReadStreamRegion.cxx
28 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/SourceStreamRegion.cxx
29 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/WriteStreamRegion.cxx
30 of 42 done   ../../CLAM-0.6.1//src/Data/BasicProcessing/Audio.cxx
31 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/Node.cxx
32 of 42 done   ../../CLAM-0.6.1//src/Flow/Ports/OutPort.cxx
33 of 42 done   ../../CLAM-0.6.1//src/Processing/Analysis/FFT_rfftw.cxx
34 of 42 done   ../../CLAM-0.6.1//src/Processing/Analysis/FFT.cxx
35 of 42 done   ../../CLAM-0.6.1//src/Errors/ErrDynamicType.cxx
36 of 42 done   ../../CLAM-0.6.1//src/Storage/XML/XMLStorage.cxx
37 of 42 done   ../../CLAM-0.6.1//src/Standard/Text.cxx
38 of 42 done   ../../CLAM-0.6.1//src/Processing/Base/ProcessingComposite.cxx
39 of 42 done   ../../CLAM-0.6.1//src/Processing/Base/TopLevelProcessing.cxx
40 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/DelayStreamRegion.cxx
41 of 42 done   ../../CLAM-0.6.1//src/Flow/Nodes/InplaceStreamRegion.cxx
== compiling ..//program_using_clam.cxx
In file included from ../../CLAM-0.6.1//src/Standard/Array.hxx:36,
                 from
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:25,
                 from ..//program_using_clam.cxx:23:
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:61: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:62: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:63: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:64: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:65: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:66: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:67: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:68: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:69: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:70: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:71: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:72: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:74: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:75: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:76: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:77: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:78: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:79: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:80: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:81: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:82: error: namespace-scope
anonymous aggregates must be static
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfo.hxx:83: error: namespace-scope
anonymous aggregates must be static
In file included from ../../CLAM-0.6.1//src/Base/DynamicTypeMacros.hxx:24,
                 from ../../CLAM-0.6.1//src/Base/DynamicType.hxx:32,
                 from ../../CLAM-0.6.1//src/Standard/Array.hxx:39,
                 from
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:25,
                 from ..//program_using_clam.cxx:23:
../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: extra
qualification ignored
../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Defines/TypeInfoStd.hxx:33: error:
namespace-scope anonymous aggregates must be static
In file included from
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:26,
                 from ..//program_using_clam.cxx:23:
../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: extra
qualification ignored
../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Standard/Complex.hxx:34: error: namespace-scope
anonymous aggregates must be static
In file included from
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:27,
                 from ..//program_using_clam.cxx:23:
../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: extra qualification ignored
../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Standard/Polar.hxx:34: error: namespace-scope
anonymous aggregates must be static
In file included from ../../CLAM-0.6.1//src/Standard/BPF.hxx:28,
                 from
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:28,
                 from ..//program_using_clam.cxx:23:
../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: extra qualification ignored
../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: explicit
specialization of non-template `CLAM::<anonymous class>'
../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: abstract
declarator `CLAM::<anonymous class>' used as declaration
../../CLAM-0.6.1//src/Standard/Point.hxx:34: error: namespace-scope
anonymous aggregates must be static
In file included from
../../CLAM-0.6.1//src/Data/BasicProcessing/SpecTypeFlags.hxx:4,
                 from
../../CLAM-0.6.1//src/Data/BasicProcessing/SpectrumConfig.hxx:5,
                 from ..//program_using_clam.cxx:24:
../../CLAM-0.6.1//src/Standard/Flags.hxx: In member function `virtual
bool CLAM::Flags<N>::IsSetFlag(unsigned int) const':
../../CLAM-0.6.1//src/Standard/Flags.hxx:304: error: there are no
arguments to `test' that depend on a template parameter, so a
declaration of `test' must be available
../../CLAM-0.6.1//src/Standard/Flags.hxx:304: error: (if you use
`-fpermissive', G++ will accept your code, but allowing the use of an
undeclared name is deprecated)
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&,
const char*, bool) [with T = float]':
../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
`void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&,
AttribType&, char*) const [with AttribType = float]'
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:52:  
instantiated from here
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
invalid initialization of reference of type 'CLAM::Component&' from
expression of type 'float'
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&,
const char*, bool) [with T = int]':
../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
`void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&,
AttribType&, char*) const [with AttribType = int]'
../../CLAM-0.6.1//src/Data/BasicProcessing/Spectrum.hxx:55:  
instantiated from here
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
invalid initialization of reference of type 'CLAM::Component&' from
expression of type 'int'
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx: In
constructor `CLAM::XMLComponentAdapter::XMLComponentAdapter(const T&,
const char*, bool) [with T = double]':
../../CLAM-0.6.1//src/Base/DynamicType.hxx:319:   instantiated from
`void CLAM::DynamicType::StoreAttribute(StaticFalse*, CLAM::Storage&,
AttribType&, char*) const [with AttribType = double]'
../../CLAM-0.6.1//src/Data/BasicProcessing/Audio.hxx:53:  
instantiated from here
../../CLAM-0.6.1//src/Storage/XML/XMLComponentAdapter.hxx:94: error:
invalid initialization of reference of type 'CLAM::Component&' from
expression of type 'double'
make: *** [obj/program_using_clam.o] Error 1

thanks.




More information about the clam-users mailing list