Estou tentando compilar x265 no macOS 15.2 (Sequoia). Segui as instruções do Linux no wiki e falhou (versão 3.31.4 do CMake):
linux % make
[ 1%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/pixel-a.asm.o
[ 2%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/const-a.asm.o
[ 3%] Building ASM_NASM object common/CMakeFiles/common.dir/x86/cpu-a.asm.o
/x265_git/source/common/x86/cpu-a.asm:181: error: symbol `..plt' not defined
/x265_git/source/common/../common/x86/x86inc.asm:1095: ... from macro `call' defined here
make[2]: *** [common/CMakeFiles/common.dir/x86/cpu-a.asm.o] Error 1
make[1]: *** [common/CMakeFiles/common.dir/all] Error 2
make: *** [all] Error 2
Tentei correr build/xcode/make-project.sh
e também não consegui:
-- Configuring done (25.6s)
CMake Error in CMakeLists.txt:
The custom command generating
/x265_git/build/xcode/pixel-a.asm.o
is attached to multiple targets:
cli
x265-static
x265-shared
but none of these is a common dependency of the other(s). This is not
allowed by the Xcode "new build system".
-- Generating done (0.0s)
CMake Generate step failed. Build files cannot be regenerated correctly.
Eu construí com sucesso o x265 em versões mais antigas do macOS. A versão que instalei em agosto de 2023 com o macOS 13 (Ventura) diz:
% x265 --version
x265 [info]: HEVC encoder version 3.5+103-8f18e3ad3
x265 [info]: build info [Mac OS X][clang 14.0.3][64 bit] 10bit
x265 [info]: using cpu capabilities: MMX2 SSE2Fast LZCNT SSSE3 SSE4.2 AVX FMA3 BMI2 AVX2
Isso tudo está além do meu nível de conhecimento técnico. Há algo que eu possa fazer para que funcione ou simplesmente não é possível nesta versão do macOS (15.2 Sequoia)?