Closed great9 closed 11 months ago
compile android or linux?
Is HAVE_DRM enabled or not?
as far as I can tell NO.
192.6 + git clone https://github.com/rockchip-linux/mpp.git
192.6 Cloning into 'mpp'...
198.7 + cd mpp
198.7 + git checkout develop
198.8 Already on 'develop'
198.8 Your branch is up to date with 'origin/develop'.
.....
198.8 + cd build
198.8 ++ uname -m
198.8 + ARCH=aarch64
198.8 + EXTRA_CFLAGS=
198.8 + EXTRA_CXXFLAGS=
198.8 + '[' aarch64 = aarch64 ']'
198.8 + EXTRA_CFLAGS=-march=armv8-a+crc
198.8 + EXTRA_CXXFLAGS=-march=armv8-a+crc
198.8 + cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_C_FLAGS=-march=armv8-a+crc -DCMAKE_CXX_FLAGS=-march=armv8-a+crc ../
....
199.6 -- Detected ARMv8 system processor
199.6 -- Performing Test GCC_HAS_NO_NARROWING
199.8 -- Performing Test GCC_HAS_NO_NARROWING - Success
199.8 -- Performing Test GCC_HAS_STACK_REALIGN
199.9 -- Performing Test GCC_HAS_STACK_REALIGN - Failed
199.9 -- Found Git: /usr/bin/git (found version "2.34.1")
199.9 -- current version:
199.9 -- 5fbde2b4 author: Herman Chen 2023-11-29 fix[test]: Fix mpi_enc_mt_test error
199.9 -- git version history:
199.9 -- 5fbde2b4 author: Herman Chen 2023-11-29 fix[test]: Fix mpi_enc_mt_test error (HEAD -> develop, origin/develop, origin/HEAD)
....
200.3 -- Looking for pthread.h
200.5 -- Looking for pthread.h - found
200.5 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD
200.7 -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
200.7 -- Found Threads: TRUE
200.7 -- compile without drm support
200.7 -- Configuring done
201.2 -- Generating done
200.7 -- compile without drm support
I am compiling this inside a docker container for frigate to be run on rock5b
0001-fix-cmake-Remove-HAVE_DRM-option.patch Try this patch
0001-fix-cmake-Remove-HAVE_DRM-option.patch Try this patch
patch worked. thank you
branch: develop