On Fri, Feb 03, 2012 at 09:04:46AM +1100, Erik de Castro Lopo wrote:
Alex Norman wrote:
Tim,
I'm wondering how 'libwaveform' is coming along. I am curious to check out
your
work.
Not libwaveform, but Robin Gareus added sndfile-waveform to the
sndfile-tools package. Currently its only in git:
https://github.com/erikd/sndfile-tools
but example output is here:
https://github.com/erikd/sndfile-tools/blob/master/doc/wave-example.png
I'm wondering, too.
My naive attempt to compile (adding various libraries along
the way) got stuck.
(master) ~/build/sndfile-tools $ ./autogen.sh
checking for autoconf... yes
checking for automake... yes
checking for libtool... libtoolize
checking for pkg-config ... yes
I am going to run ./configure with no arguments - if you wish
to pass any to it, please specify them on the ./autogen.sh command line.
Generating configuration files for sndfile-tools, please wait ...
(...)
-=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=-=-
Configuration summary :
Version ....................... 1.04
Enable debugging .............. no
Tools :
Compiler is GCC ............... yes
GCC major version ............. 4
Extra tools required for testing and examples :
Found SNDFILE ................. yes
Found SAMPLERATE .............. yes
Found FFTW .................... yes
Found CAIRO ................... yes
Found JACK .................... yes
Installation directories :
Program directory ............. /usr/local/bin
(master) ~/build/sndfile-tools $ make
CCLD src/sndfile-spectrogram
/usr/bin/ld: warning: libxcb-shm.so.0, needed by /usr/lib/libcairo.so, not found (try
using -rpath or -rpath-link)
[it's here: /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0 ]
/usr/bin/ld: warning: libxcb.so.1, needed by /usr/lib/libcairo.so, not found (try using
-rpath or -rpath-link)
[it's here: /usr/lib/x86_64-linux-gnu/libxcb.so.1 ]
/usr/lib/libcairo.so: undefined reference to `xcb_depth_visuals_iterator'
(...)
collect2: ld returned 1 exit status
make: *** [src/sndfile-spectrogram] Error 1
I tried adding some -rpath or -rpath-link arguments
to the Makefile LD and LDPATH lines, but to no avail.
Thanks.
-joel
Erik
--
Joel Roth