Blender and ffmpeg4
by timsoft from LinuxQuestions.org on (#5G0N0)
Has anyone had success building Blender (sbo slackbuild) with ffmpeg4 instead of ffmpeg3?
It is the only slackbuild I use which so far is refusing to play ball. All the others (qt5, audacity, vlc,kicad, shotcut, obs-studio) seem to be okay with ffmpeg4.
for me it gets as far as....
Quote:
and in my environment i have
Code:PKG_CONFIG_PATH=/usr/lib64/ffmpeg4/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig


It is the only slackbuild I use which so far is refusing to play ball. All the others (qt5, audacity, vlc,kicad, shotcut, obs-studio) seem to be okay with ffmpeg4.
for me it gets as far as....
Quote:
[ 6%] Building C object source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o In file included from /tmp/SBo/blender-2.83.8/source/blender/makesrna/intern/rna_scene.c:64:0: /tmp/SBo/blender-2.83.8/intern/ffmpeg/ffmpeg_compat.h:23:34: fatal error: libavformat/avformat.h: No such file or directory compilation terminated. source/blender/makesrna/intern/CMakeFiles/makesrna.dir/build.make:1238: recipe for target 'source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o' failed make[2]: *** [source/blender/makesrna/intern/CMakeFiles/makesrna.dir/rna_scene.c.o] Error 1 CMakeFiles/Makefile2:6976: recipe for target 'source/blender/makesrna/intern/CMakeFiles/makesrna.dir/all' failed make[1]: *** [source/blender/makesrna/intern/CMakeFiles/makesrna.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 |
Code:PKG_CONFIG_PATH=/usr/lib64/ffmpeg4/pkgconfig:/usr/local/lib64/pkgconfig:/usr/local/share/pkgconfig:/usr/lib64/pkgconfig:/usr/share/pkgconfig