libgroove
libgroove copied to clipboard
“error: 'filename' is deprecated” when trying to build from master
cmake -Wno-error=deprecated-declarations runs succesfully but then make fails:
/usr/local/src/libgroove/src/file.c:108:5: error: 'filename' is deprecated [-Werror=deprecated-declarations] file->filename = f->ic->filename;
^~~~
In file included from /usr/local/src/libgroove/src/file.h:16:0,
from /usr/local/src/libgroove/src/file.c:8: /usr/include/ffmpeg/libavformat/avformat.h:1408:10: note: declared here char filename[1024];
^~~~~~~~
...
I added -Wno-error... to cmake because I saw it in #126
Any advice on how to go on?
same error , OSX Mojave
same problem with ffmpeg 4.2.1 on master branch
how to get around this?
@molecular this is from breaking api changes in ffmpeg, for example with filename, it is deprecated in favor of using "url" which is just a char* instead of a fixed sized array.
@andrewrk I'm down to put work into fixing some code rot, would you also be into using conan as a package manager? (it certainly would simplify building from source)
Same error while building the library