[sndtools] sndpeek build fails on linux

Orm Finnendahl orm.finnendahl at selma.hfmdk-frankfurt.de
Wed Mar 4 13:25:59 EST 2015


Hi,

 compiling sndpeek on linux fails in version 1.4:

gcc -D__LINUX_JACK__ -D__LITTLE_ENDIAN__ -I../marsyas/ -O3 -c ../marsyas/LPC.cpp
../marsyas/LPC.cpp: In member function ‘virtual void LPC::process(fvec&, fvec&)’:
../marsyas/LPC.cpp:120:40: error: ‘abs’ was not declared in this scope
   rmat_(i-1,j-1) = corr_(abs((int)(i-j)));
                                        ^
makefile.jack:26: recipe for target 'LPC.o' failed
make[1]: *** [LPC.o] Error 1
make[1]: Leaving directory '/home/orm/work/install/sndpeek-1.4/src/sndpeek'
makefile:17: recipe for target 'linux-jack' failed
make: [linux-jack] Error 2 (ignored)

It seems some math libs aren't included.

--
Orm


More information about the sndtools mailing list