arkq / bluez-alsa

Bluetooth Audio ALSA Backend
MIT License
864 stars 189 forks source link

build/install: LC3Plus libraries?? #684

Closed iconoclasthero closed 8 months ago

iconoclasthero commented 8 months ago

Please read the troubleshooting guide before raising a new issue.

Problem

can't figure out how to get LC3Plus support to work...

Reproduction steps

$ sudo cp $HOME/bin/gits/LC3plus/src/floating_point/lc3plus.h /usr/local/include ../configure --enable-lc3plus ... ⋮ checking for lc3plus.h... yes checking for lc3plus_version, lc3plus_enc_set_frame_dms in -lLC3plus... no configure: error: LC3plus library not found

From the looks of it, the LC3plus library support is support for your libraries. How do I make these work together? I already installed the google/liblc3.

arkq commented 8 months ago

How do I make these work together? I already installed the google/liblc3.

For LC3plus support you need to install Fraunhofer liblc3plus library (not google's one, bluez-alsa does not support LC3plus with liblc3, not yet). Please follow the guideline in https://github.com/arkq/bluez-alsa/wiki/Installation-from-source#additional-dependencies (or go directly to https://github.com/arkq/bluez-alsa/issues/479#issuecomment-1618857445)

EDIT: Maybe the comment about building/installing liblc3plus is not clear enough... after running make libLC3plus.so you need also "install" the header file and the library on your system, e.g.:

sudo install $HOME/bin/gits/LC3plus/src/floating_point/lc3plus.h /usr/local/include
sudo install -s $HOME/bin/gits/LC3plus/src/floating_point/libLC3plus.so /usr/local/lib
iconoclasthero commented 8 months ago

Thanks