Skip to content

Build fails because of missing ”av_register_all" function #49

@mundschenk-at

Description

@mundschenk-at

Apparently the previously deprecated symbol av_register_all has been removed upstream, so the build now fails:

/usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang++ -std=gnu++11 -D_GNU_SOURCE -O3 -DNDEBUG -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk -Wl,-search_paths_first -Wl,-headerpad_max_install_names CMakeFiles/loudgain.dir/src/loudgain.c.o CMakeFiles/loudgain.dir/src/printf.c.o CMakeFiles/loudgain.dir/src/scan.c.o CMakeFiles/loudgain.dir/src/tag.cc.o -o loudgain  /usr/local/lib/libebur128.dylib -lavcodec -lavformat -lswresample -lavutil -ltag -lz 
Undefined symbols for architecture x86_64:
  "_av_register_all", referenced from:
      _scan_init in scan.c.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [loudgain] Error 1
make[1]: *** [CMakeFiles/loudgain.dir/all] Error 2
make: *** [all] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions