Rust bindings for Chromaprint. Version tracks the Chromaprint version.
Install LLVM or Clang for buildgen
.
On Windows, install manually: https://docs.rs/vcpkg/latest/vcpkg/index.html
Install pkg-config
and chromaprint
through your package manager.
Debian:
sudo apt install pkg-config libchromaprint-dev
Install pkg-config
and chromaprint
:
brew install pkg-config chromaprint
cargo-vcpkg
: cargo install cargo-vcpkg
vcpkg
deps: cargo vcpkg build
vcpkg
bin directory to path (for DLL lookup): $VCPKG_ROOT\installed\x64-windows\bin
cargo run
Note: Static linking does not work on Windows due to issues with static linking ffmpeg
using vcpkg. See: https://github.com/microsoft/vcpkg/issues/9571
If the library is not found on the system, the script will try to build it from source. This requires CMake
to be installed: https://cmake.org/download/