b2科目四模拟试题多少题驾考考爆了怎么补救
b2科目四模拟试题多少题 驾考考爆了怎么补救

将树莓派打造成音乐播放服务器(5)

电脑杂谈  发布时间:2019-04-26 14:10:23  来源:网络整理

幸运的是,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

这样好多了。

现在编译并安装源码:

树莓派moodeaudio_微雪树莓派电机扩展板_红树莓

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

相关阅读
    发表评论  请自觉遵守互联网相关的政策法规,严禁发布、暴力、反动的言论

    • 李杨
      李杨

      这样躲避战乱的的女青年便有了和中国光棍们相知相恋组成家庭的机会

    • 杨深
      杨深

      正常

    热点图片
    拼命载入中...