jiixyj/libebur128 — Issue #5: Won't build without taglib
Author: uklauer
Created: 2011-10-14 03:09:09+00:00
State: open

Since the download tarballs somehow went away, I settled to compiling from current git instead. Works in principle; cmake doesn't find taglib, but that's apparently meant to be optional. Subsequently however, the linker fails:

Linking C executable ../loudness
CMakeFiles/loudness.dir/scanner-tag.c.o: In function `tag_file':
scanner-tag.c:(.text+0x48c): undefined reference to `set_rg_info'
collect2: ld returned 1 exit status

That's because scanner/CMakeLists.txt excludes rgtag.cpp from the list of files to be compiled, but scanner-tag.c still uses the functions defined in it.

As a workaround (since I didn't want to tag anyway, just scan), I could make it work by excluding scanner-tag.c also and removing the calls to loudness_tag_parse() and loudness_tag() from scanner.c.