幸运的是,chromaprint已经在软件仓库里面了:
sudo apt-get install libchromaprint-dev
下一步我们编译最简单的一个,libebur128.
cd git clone https://github.com/jiixyj/libebur128 cd libebur128 mkdir build cd build cmake .. -DCMAKE_BUILD_TYPE=Debug
矮油,好像我们缺少了一些依赖软件:
– checking for module ’speexdsp’ – package ’speexdsp’ not found 最好安装这个: 重新试试那一行配置行: cmake .. -DCMAKE_BUILD_TYPE=Debug
– checking for module ’speexdsp’ – found speexdsp, version 1.2rc1 – speexdsp library dirs: – speexdsp cflags: – speexdsp include dirs: – speexdsp libraries: speexdsp – speexdsp ldflags: – status found / disabled – – queue.h: yes using system copy of queue.h – speexdsp: yes no – not building tests, set ENABLE_TESTS to ON to enable – Configuring done – Generating done – Build files have been written to: /home/pi/libebur128/build
这样好多了。
现在编译并安装源码:

make sudo make install
[ 50%] Built target ebur128 [100%] Built target ebur128_static Install the project… – Install configuration: ”Debug” – Up-to-date: /usr/local/include/ebur128.h – Installing: /usr/local/lib/arm-linux-gnueabihf/libebur128.so.1.0.1 – Installing: /usr/local/lib/arm-linux-gnueabihf/libebur128.so.1 – Installing: /usr/local/lib/arm-linux-gnueabihf/libebur128.so – Installing: /usr/local/lib/arm-linux-gnueabihf/libebur128.a
由于Debian cmake包中的一个bug,它把库文件放在/usr/local/lib/arm-linux-gnueabihf/
我们来改一下:
sudo mv /usr/local/lib/arm-linux-gnueabihf/* /usr/local/lib/ sudo rmdir /usr/local/lib/arm-linux-gnueabihf sudo ldconfig
本文来自电脑杂谈,转载请注明本文网址:
http://www.pc-fly.com/a/bofangqi/article-94267-5.html
正常
这样躲避战乱的的女青年便有了和中国光棍们相知相恋组成家庭的机会