[CLAM] configure-ing CLAM

Xavi Rubio xrubio at iua.upf.es
Fri Sep 26 01:57:23 PDT 2003


> There is lots of stuff like this when trying to compile SMS/Tools:
> 
> In file included from ../../../../src/Defines/DataTypes.hxx:25,
>                  from ../../../../examples/SMS/ForwardDeclarations.hxx:3,
>                  from ../../../../examples/SMS/UserInterface.hxx:9,
>                  from 
> ../../../../examples/SMS/NotGeneratedUserInterface.hxx:1,
>                  from ../../../../examples/SMS/SMSTools.hxx:4,
>                  from ../../../../examples/SMS/mainSMSTools.cxx:22:
> ../../../../src/Defines/CLAM_Math.hxx: In function `int Round(float)':
> ../../../../src/Defines/CLAM_Math.hxx:63: `lrint' undeclared (first use this
>    function)
> ../../../../src/Defines/CLAM_Math.hxx:63: (Each undeclared identifier is
>    reported only once for each function it appears in.)
> ../../../../src/Defines/CLAM_Math.hxx: In function `float log2lin(float)':
> ../../../../src/Defines/CLAM_Math.hxx:113: `exp' undeclared (first use this
>    function)
> 
>

Try also to compile/link this little program:


#include <cmath>

int main( int argc, char** argv )
{

	double x = 30.120290123;
	int ix = 0;

	ix = lrint( x );

	return 0;
}

does it you give any trouble?

Xavi




More information about the clam-users mailing list