[FFmpeg-devel] commits ecee6af8bd and 4ac869ca2a break build for macOS

Ridley Combs rcombs at rcombs.me
Tue Dec 21 03:39:56 EET 2021


Try this (replacing all previous patches): https://gist.github.com/2b1ea91330a748740d608680b0f8abd2 <https://gist.github.com/2b1ea91330a748740d608680b0f8abd2>


> On Dec 20, 2021, at 19:35, Helmut K. C. Tessarek <tessarek at evermeet.cx> wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA512
> 
> 
> 
> On 2021-12-20 20:20, Aman Karmani wrote:
>> Once we figure out why some computers are using the wrong metal binary, 
>> then we can fix it and commit the fix to master as well.
> 
> With the 2 patches from Ridley and your configure patch I run into the
> following error now:
> 
> OBJCC	libavfilter/metal/utils.o
> HOSTLD	ffbuild/bin2c
> xcrun --sdk macosx metal libavfilter/metal/vf_yadif_videotoolbox.metal -o
> libavfilter/metal/vf_yadif_videotoolbox.metal.air
> CC	libavfilter/motion_estimation.o
> CC	libavfilter/pthread.o
> CC	libavfilter/qp_table.o
> CC	libavfilter/scale_eval.o
> CC	libavfilter/scene_sad.o
> CC	libavfilter/setpts.o
> CC	libavfilter/settb.o
> CC	libavfilter/split.o
> CC	libavfilter/src_movie.o
> CC	libavfilter/transform.o
> CC	libavfilter/trim.o
> CC	libavfilter/vaf_spectrumsynth.o
> libavfilter/metal/utils.m:33:21: warning: instance method '-supportsFamily:'
> not found (return type defaults to 'id') [-Wobjc-method-access]
>        if ([device supportsFamily:MTLGPUFamilyCommon3]) {
>                    ^~~~~~~~~~~~~~
> libavfilter/metal/utils.m:33:36: error: use of undeclared identifier
> 'MTLGPUFamilyCommon3'
>        if ([device supportsFamily:MTLGPUFamilyCommon3]) {
>                                   ^
> 1 warning and 1 error generated.
> CC	libavfilter/vf_addroi.o
> make: *** [libavfilter/metal/utils.o] Error 1
> make: *** Waiting for unfinished jobs....
> rm libavfilter/metal/vf_yadif_videotoolbox.metal.air
> 
> 
> - -- 
> regards Helmut K. C. Tessarek              KeyID 0x172380A011EF4944
> Key fingerprint = 8A55 70C1 BD85 D34E ADBC 386C 1723 80A0 11EF 4944
> 
> /*
>   Thou shalt not follow the NULL pointer for chaos and madness
>   await thee at its end.
> */
> -----BEGIN PGP SIGNATURE-----
> 
> iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHBL3wACgkQvgmFNJ1E
> 3QBZ5BAApVGHkKD8ZtnnvqOFY9vPAHUdTtSOPPRu/U7bb/16k+rhz9gW7gPyzVbw
> eObR2D5z66I7h2ePmNWbHP+i4cIqRfFlcOS+9eWHy0E5G8y0Lx55xncGFZV5wkhI
> 7OEe0EOo4GE6D6Ro/XwtOnnsy7cuHIt4oX0xT7rlTiITYYdoe+M2zF9nAVJtjUit
> hKX3YHBBfryLRjUvQGQAwWR+EjKRT/LPNwhwf2WgxtSP1BGFH5+oROkq2CAdLUO1
> 7zFb2GkyS7atVYjysQ8QT0aW7ohTlxBpEaak69GhSEkvarZGWplsC8Z3BVZ58qXP
> K0VH/fIF7lDMQqTmHkPw0lEz1bMBoqzEUevKVC7h3nFl+GhXPhM9lS3sR/SeBj0U
> YBmeHTdcYJPoh9bD4PiU4X4AmMUaAn4+J2nUn6TmmqI952yZVWv9ZKWVPLhyjiTH
> qHqtvc3gK4hYo7JhhIP8sJpNiW2OPSUBLEboXQ67YTI6cp30uJI0c0KdRCvkBhNS
> zs19mdfaSOseG4vFSgsD0rOGUWprgU8SRf/9EM88WLF8cBEs/bUxRBcalq41RrwB
> bB1D2orQoLLYlcdc1B40Wl+X38GcU4Jv3mFbpF5XhnjrwCg6QMx5BS8p8Zt77jov
> IzZHnlqaqLrB66iN17UK5nGiBb1st19xyGEwSXctkzOIcOFOjhc=
> =4Pni
> -----END PGP SIGNATURE-----
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> 
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".



More information about the ffmpeg-devel mailing list