On Thu, Jun 9, 2022 at 3:51 AM Luya Tshimbalanga <luya@xxxxxxxxxxxxxxxxx> wrote: > > Building Blender 3.2.0 with ffmpeg support failed on the following lines: > > -Wno-unused-function -Wno-type-limits -Wno-int-in-bool-context -Wno-switch -Wno-unused-variable -Wno-uninitialized -Wno-implicit-fallthrough -Wno-error=unused-but-set-variable -Wno-class-memaccess -Wno-comment -Wno-unused-local-typedefs -Wno-unused-variable -Wno-uninitialized -Wno-maybe-uninitialized -DNDEBUG -std=c++17 -MD -MT extern/audaspace/CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEG.cpp.o -MF CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEG.cpp.o.d -o CMakeFiles/audaspace.dir/plugins/ffmpeg/FFMPEG.cpp.o -c /builddir/build/BUILD/blender-3.2.0/extern/audaspace/plugins/ffmpeg/FFMPEG.cpp > In file included from /builddir/build/BUILD/blender-3.2.0/extern/audaspace/plugins/ffmpeg/FFMPEG.cpp:18: > /builddir/build/BUILD/blender-3.2.0/extern/audaspace/plugins/ffmpeg/FFMPEGReader.h:40:10: fatal error: libavformat/avformat.h: No such file or directory > 40 | #include <libavformat/avformat.h> > | ^~~~~~~~~~~~~~~~~~~~~~~~ > compilation terminated. > > despite the presence of libavformat-free-devel as build requirement. It looks likes ffmpeg-free lacks libavformat/avformat.h header. Could someone provide a better suggestion to properly support ffmpeg for Blender? Thanks in advance. > > > Scratch build result: > > https://koji.fedoraproject.org/koji/taskinfo?taskID=88051797 > The file exists in libavformat-free-devel in F36 with the latest build (/usr/include/ffmpeg/libavformat/avformat.h). The ffmpeg include directory you set at build time is wrong. It should be /usr/include/ffmpeg. Then the files will be detected properly. CMake reports in the build log that it couldn't find them, but doesn't abort because of it. It also seems to fail to find libavdevice, which means you need libavdevice-free-devel too. -- 真実はいつも一つ!/ Always, there's only one truth! _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure