You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to build on Raspberry Pi Zero W, having followed the instructions here, I receive this error when making libgroove:
Scanning dependencies of target libgroove_shared
[ 2%] Building C object CMakeFiles/libgroove_shared.dir/src/buffer.c.o
[ 5%] Building C object CMakeFiles/libgroove_shared.dir/src/file.c.o
/home/pi/libgroove/src/file.c: In function‘groove_file_open_custom’:
/home/pi/libgroove/src/file.c:126:12: error: ‘AVIOContext {aka struct AVIOContext}’ has no member named ‘direct’
f->avio->direct = AVIO_FLAG_DIRECT;
^~
/home/pi/libgroove/src/file.c:126:23: error: ‘AVIO_FLAG_DIRECT’ undeclared (first use in this function)
f->avio->direct = AVIO_FLAG_DIRECT;
^~~~~~~~~~~~~~~~
/home/pi/libgroove/src/file.c:126:23: note: each undeclared identifier is reported only once foreach function it appearsin
/home/pi/libgroove/src/file.c:184:33: error: implicit declaration of function‘av_get_default_channel_layout’ [-Werror=implicit-function-declaration]
avctx->channel_layout = av_get_default_channel_layout(avctx->channels);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
CMakeFiles/libgroove_shared.dir/build.make:86: recipe for target 'CMakeFiles/libgroove_shared.dir/src/file.c.o' failed
make[2]: *** [CMakeFiles/libgroove_shared.dir/src/file.c.o] Error 1
CMakeFiles/Makefile2:289: recipe for target 'CMakeFiles/libgroove_shared.dir/all' failed
make[1]: *** [CMakeFiles/libgroove_shared.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Any idea what's gone wrong here?
The text was updated successfully, but these errors were encountered:
Hey @EwanRoycroft I've got the exact same issue. I'm trying to build from source on a fresh Ubuntu 18.04 (also followed previous steps for libav) not sure how to fix it, but I'll post here if I find anything.
Trying to build on Raspberry Pi Zero W, having followed the instructions here, I receive this error when making libgroove:
Any idea what's gone wrong here?
The text was updated successfully, but these errors were encountered: