[CLAM] CLAM/AudioFile.hxx Problem

David García Garzón david.garcia at barcelonamedia.org
Fri Apr 23 08:11:52 PDT 2010

If you use scons we provide a tool to compile with clam (and qt)

If you use other build method you can still use pkg-config on the usual way 
which provides all the needed flags.

to get the compile options:
pkg-config clam-core clam-processing clam-audioio --cflags
to get the link options
pkg-config clam-core clam-processing clam-audioio --libs

So if you are compiling with g++, you can use backticks to complete the 
g++ `pkg-config clam-core clam-processing clam-audioio --cflags` ....

On Friday 23 April 2010 15:07:09 Daniela Fontes wrote:
> Hey,
> I'm facing some difficulties regarding the compilation with #include
> <CLAM/AudioFile.hxx>. I keep getting this error:
> /usr/include/CLAM/AudioFileFormats.hxx:26:2: error: #error USE_SNDFILE was
> not set to 1 in your settings.cfg file, but you are including files that
> require this. Please fix your settings.cfg
> With some research I found that there was already a case similar to mine in
> the mailling list (
> http://www.mail-archive.com/clam-devel@llistes.projectes.lafarga.org/msg02
> 561.html ), but I installed Clam from the "Packman" for OpenSUSE, so I
> don't have any clue how to solve this problem.
> Thanks in advance,
> Daniela Fontes

More information about the clam-users mailing list