[CLAM] Re: Can't find SRCDEPS

Xavier Oliver s0679213 at sms.ed.ac.uk
Mon Mar 5 14:29:40 PST 2007


Hi,

You are including correctly the header directory, but you are not 
linking against the libraries (all the errors are about this, they come 
from ld).

you should do something like:

g++ -I/usr/local/include/CLAM/ -L/usr/local/lib/CLAM -lclam### 
AudioIOExample.cxx

where the ### thing is the clam library names that are required (with 
this example they should core and io, but I'm not sure about the names).

Take into account that this is the _raw_ way, perhaps (any clam-devel 
could point out) there is some Scons file that does that dirty job for 
you in there!

Hope that helped,

Xavier



Quoting Mkk Junz <xljunz at gmail.com>:

> Sorry, I was confused and clicking on the
> "http://clam.iua.upf.edu/doc/ReleaseDocumentation-html/index.html"
> manual, not realizing that it was from CLAM 0.70 and not CLAM 0.98.
>
> I'm still having a bit of confusion, though. When I try to compile any
> of the examples with this:
>
> g++ -I/usr/local/include/CLAM/ AudioIOExample.cxx
>
> I get errors such as these: (very long)
> http://pastebin.ca/382770
>
> What am I doing wrong?
>
> Thanks in advance!
>
> _______________________________________________
> CLAM mailing list
> CLAM at iua.upf.es
> http://www.iua.upf.es/mtg/clam
>







More information about the clam-users mailing list