Hi! I have a problem building Android application of vvenc using Android SDK on my Ubuntu virtual machine, but only compiling got an error for unused reason, see the log details:
martineesmaa@martineesmaa:~/Downloads/vvenc/build$ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_NAME=Android -DCMAKE_ANDROID_ARCH_ABI=arm64-v8a -DCMAKE_TOOLCHAIN_FILE=${HOME}/mpv-android-vvc/buildscripts/sdk/android-ndk-r24/build/cmake/android.toolchain.cmake -DANDROID_STL=c++_static -DANDROID_PLATFORM=android-$MINSDKVERSION ..
-- Android: Targeting API '21' with architecture 'arm64', ABI 'arm64-v8a', and processor 'aarch64'
-- Android: Selected unified Clang toolchain
-- The C compiler identification is Clang 14.0.1
-- The CXX compiler identification is Clang 14.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /home/martineesmaa/mpv-android-vvc/buildscripts/sdk/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /home/martineesmaa/mpv-android-vvc/buildscripts/sdk/android-ndk-r24/toolchains/llvm/prebuilt/linux-x86_64/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- CMAKE_MODULE_PATH: updating module path to: /home/martineesmaa/Downloads/vvenc/cmake/modules
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Check if compiler accepts -pthread
-- Check if compiler accepts -pthread - yes
-- Found Threads: TRUE
-- Configuring done
-- Generating done
-- Build files have been written to: /home/martineesmaa/Downloads/vvenc/build
martineesmaa@martineesmaa:~/Downloads/vvenc/build$ cmake --build . --config Release
[ 0%] Building CXX object source/Lib/apputils/CMakeFiles/apputils.dir/ParseArg.cpp.o
clang++: error: argument unused during compilation: '-msse4.1' [-Werror,-Wunused-command-line-argument]
gmake[2]: *** [source/Lib/apputils/CMakeFiles/apputils.dir/build.make:76: source/Lib/apputils/CMakeFiles/apputils.dir/ParseArg.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:214: source/Lib/apputils/CMakeFiles/apputils.dir/all] Error 2
gmake: *** [Makefile:146: all] Error 2
Also my requests are I need CRF, bufsize like ffmpeg command and support minimum/maximum bitrate.
Can you take a look of vvenc compilation of Android error?
Hi! I have a problem building Android application of vvenc using Android SDK on my Ubuntu virtual machine, but only compiling got an error for unused reason, see the log details:
Also my requests are I need CRF, bufsize like ffmpeg command and support minimum/maximum bitrate.
Can you take a look of vvenc compilation of Android error?
Regards