(2020-09-08, 12:03)popcornmix Wrote: Did you check the values in config.h? You want:
Code:
#define CONFIG_V4L2_REQUEST 1
#define CONFIG_HEVC_V4L2REQUEST_HWACCEL 1
@
popcornmix - Thank you for the tip. Indeed both of these were
missing from ffmpeg's
config.h
on my build of your r55628 (commit 229a3c595bc20a7e76c8bb1665a9519adfdf0f84).
Here is a link to it for reference.
However, I see you pushed some new commits recently. When I try to build r55799 (commit 18e29eee7ee436fd574c9fddd810eb286488ff6f), the config.h that gets generated there does contain both of these.
Here is a link to it for reference.
The problem is that building r55799 ends in a new fatal error:
Code:
...
In file included from /build/kodi-rbp4-git/src/kodi-build/build/xbmc/CompileInfo.cpp:11:
/build/kodi-rbp4-git/src/xbmc-18e29eee7ee436fd574c9fddd810eb286488ff6f/xbmc/utils/StringUtils.h:34:10: fatal error: fmt/format.h: No such file or directory
34 | #include <fmt/format.h>
| ^~~~~~~~~~~~~~
compilation terminated.
frame 0 (delay: 0) ARGB (80,80 @ 25600 bytes)
distcc[5053] ERROR: compile /build/kodi-rbp4-git/src/kodi-build/build/xbmc/CompileInfo.cpp on localhost failed
make[2]: *** [CMakeFiles/compileinfo.dir/build.make:165: CMakeFiles/compileinfo.dir/build/xbmc/CompileInfo.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:5503: CMakeFiles/compileinfo.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
...
Here is the complete
build.log and for reference, I am building like this:
Code:
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_EXE_LINKER_FLAGS_INIT="-L/opt/vc/lib -lvcsm" \
-DCMAKE_EXE_LINKER_FLAGS="-L/opt/vc/lib -lvcsm" \
-DCMAKE_CXX_FLAGS="-Wl,-L/opt/vc/lib -Wl,-lvcsm" \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_INTERNAL_FFMPEG=ON \
-DENABLE_INTERNAL_FMT=ON \
-DENABLE_INTERNAL_CROSSGUID=ON \
-DENABLE_INTERNAL_FSTRCMP=ON \
-DENABLE_INTERNAL_FLATBUFFERS=ON \
-DENABLE_INTERNAL_SPDLOG=ON \
-DENABLE_EVENTCLIENTS=ON \
-DENABLE_VAAPI=OFF \
-DENABLE_VDPAU=OFF \
-DENABLE_OPENGL=OFF \
-DENABLE_MYSQLCLIENT=ON \
-Dlibdvdcss_URL="/libdvdcss-1.4.2-Leia-Beta-5.tar.gz" \
-Dlibdvdnav_URL="/libdvdnav-6.0.0-Leia-Alpha-3.tar.gz" \
-Dlibdvdread_URL="/libdvdread-6.0.0-Leia-Alpha-3.tar.gz" \
-DFFMPEG_URL="/ffmpeg-4.3.1-Matrix-Alpha1-1.tar.gz" \
-DFMT_URL="/fmt-6.1.2.tar.gz" \
-DCROSSGUID_URL="/crossguid-8f399e8bd4.tar.gz" \
-DFSTRCMP_URL="/fstrcmp-0.7.D001.tar.gz" \
-DFLATBUFFERS_URL="/flatbuffers-1.11.0.tar.gz" \
-DSPDLOG_URL="/spdlog-1.5.0.tar.gz" \
-DCORE_PLATFORM_NAME=gbm \
-DGBM_RENDER_SYSTEM=gles \
../"xbmc-18e29eee7ee436fd574c9fddd810eb286488ff6f"
make
make preinstall
Any thoughts on the cause of the new error?