ld: warning: ignoring file /Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a, file is universal (5 slices) but does not contain the arm64 architecture: /Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a
Undefined symbols for architecture arm64:
"_x264_encoder_encode", referenced from:
_check_x264_encoder_encode in test.o
(maybe you meant: _check_x264_encoder_encode)
ld: symbol(s) not found for architecture arm64
x264 libs:
/Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a (for architecture i386)current ar archive
/Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a (for architecture armv7): current ar archive
/Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a (for architecture armv7s): current ar archive
/Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a (for architecture x86_64): current ar archive
/Users/test/Desktop/FFmpegiOS/4.2/x264-iOS/lib/libx264.a (for architecture arm64): current ar archive
My idea:
No problem in macOS 10.4 builed;
Only builed of ffmpeg is also shows 'current ar archive', is no 'current ar archive random library';
Is there any parameter that needs to be added on the macOS 10.15.* build?
Environment:
Problem:
Is there any parameter that needs to be added on the macOS 10.15.* build?