From: "Helmut K. C. Tessarek" <tessarek@evermeet.cx> To: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: [FFmpeg-devel] commits ecee6af8bd and 4ac869ca2a break build for macOS Date: Mon, 20 Dec 2021 16:30:58 -0500 Message-ID: <5fb60616-5ded-1b3a-255c-14deb44924d9@evermeet.cx> (raw) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello, The following 2 commits break the build with a deployment target of 10.9 on macOS. I agree that 10.9 is quite old, but the rest of the code worked perfectly fine, so were those 2 commits really necessary? * 4ac869ca2a | 2021-12-18 11:57:31 -0800 | avfilter: add vf_yadif_videotoolbox (Aman Karmani) * ecee6af8bd | 2021-12-18 11:55:47 -0800 | avfilter: add metal utilities (Aman Karmani) Can you make that code conditional? The error messages I get during the compile run are: In file included from libavfilter/metal/utils.m:20: ./libavfilter/metal/utils.h:25:43: error: 'MTLDevice' is only available on macOS 10.11 or newer [-Werror,-Wunguarded-availability] void ff_metal_compute_encoder_dispatch(id<MTLDevice> device, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ Metal.framework/Headers/MTLCaptureScope.h:14:11: note: 'MTLDevice' has been marked as being introduced in macOS 10.11 here, but the deployment target is macOS 10.9.0 @protocol MTLDevice; ^ ./libavfilter/metal/utils.h:25:6: note: annotate 'ff_metal_compute_encoder_dispatch' with an availability attribute to silence this warning void ff_metal_compute_encoder_dispatch(id<MTLDevice> device, ^ ./libavfilter/metal/utils.h:26:43: error: 'MTLComputePipelineState' is only available on macOS 10.11 or newer [-Werror,-Wunguarded-availability] id<MTLComputePipelineState> pipeline, ^ /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/System/Library/Frameworks/ Metal.framework/Headers/MTLArgumentEncoder.h:17:11: note: 'MTLComputePipelineState' has been marked as being introduced in macOS 10.11 here, but the deployment target is macOS 10.9. 0 @protocol MTLComputePipelineState; ^ [snip - way too many messages to paste them all] Cheers, K. C. - -- 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----- iQIzBAEBCgAdFiEE191csiqpm8f5Ln9WvgmFNJ1E3QAFAmHA9hIACgkQvgmFNJ1E 3QB0aw//Wsns6KOrT2vlw3RWIyAS1dIrVHO3bBM7NAwl0lYbHkKM6wQpE5sVsSdq tjAxWH+XikERU2jnHCCZqUormA40iei+WFXKAbZOgrobvrKMeXe/uuQaAmOL3Gkn o5jvf1+v/Oh3Wd9rSYqdPu+b7VWyz0qj5y8jgBxPtrapfIBh35HBt/41JbVln/PY d3+h+siAHuBUk1jLHTVep0qe5o3q+mB6m0As9bpGBoQD8oPhQvJxBMqzzzos3mOx bgVA36NowZEiH8YpEXBMaHk8Ek6k1/37kexinvlRBCmk59mfACShfBJc8J0EC+ii BVMF6OQvoQ3mHXT79fcd5xV7dueXzLGNAbaK+FQ7ZvAjQ2aEh7xVghH5I8hgRUKT 8JS1RS6e817+IsSlxFA0UvZ6waF/HINfUXpL0Ca4hFirFKSHRxaMIF/49EPgLk4g mK/NSvNVIbEN6tpz0Kt0t3cvVEp0O5AoKPAwEuCTWa8io13hgHxlOX0TFMS+3d2A CRuqROxEpAcOjYo92wWa/S1VFl4lDNBcxHnszA9sLRai7QTdxKmojoU+ti8PqTJa iDoMVIiH4psyzMMqod7kas06w+KSnr7IyW3bKE50atUBY0P9BCqH1e7/mZ+gn0JM ZSb61Lo9k0aYbHG7rTtXR4Wvtiao9NFCbD8NbHWPfrSRgs9jqP4= =/fRX -----END PGP SIGNATURE----- _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".
next reply other threads:[~2021-12-20 21:31 UTC|newest] Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top 2021-12-20 21:30 Helmut K. C. Tessarek [this message] 2021-12-20 23:25 ` Ridley Combs 2021-12-20 23:49 ` Helmut K. C. Tessarek 2021-12-21 0:06 ` Ridley Combs 2021-12-21 0:13 ` Helmut K. C. Tessarek 2021-12-21 0:11 ` Christopher Degawa 2021-12-21 0:38 ` Aman Karmani 2021-12-21 0:43 ` Christopher Degawa 2021-12-21 0:50 ` Aman Karmani 2021-12-21 0:54 ` Helmut K. C. Tessarek 2021-12-21 0:52 ` Helmut K. C. Tessarek 2021-12-21 0:54 ` Aman Karmani 2021-12-21 1:18 ` Christopher Degawa 2021-12-21 1:24 ` Aman Karmani 2021-12-21 1:31 ` Christopher Degawa 2021-12-21 1:28 ` Ridley Combs 2021-12-21 1:35 ` Christopher Degawa 2021-12-21 1:03 ` Helmut K. C. Tessarek 2021-12-21 1:20 ` Aman Karmani 2021-12-21 1:35 ` Helmut K. C. Tessarek 2021-12-21 1:39 ` Ridley Combs 2021-12-21 2:31 ` Helmut K. C. Tessarek 2021-12-21 1:48 ` Christopher Degawa 2021-12-21 1:52 ` Aman Karmani 2021-12-21 6:04 ` Christopher Degawa 2021-12-21 7:39 ` Ridley Combs 2021-12-21 18:04 ` Christopher Degawa
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=5fb60616-5ded-1b3a-255c-14deb44924d9@evermeet.cx \ --to=tessarek@evermeet.cx \ --cc=ffmpeg-devel@ffmpeg.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel This inbox may be cloned and mirrored by anyone: git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \ ffmpegdev@gitmailbox.com public-inbox-index ffmpegdev Example config snippet for mirrors. AGPL code for this site: git clone https://public-inbox.org/public-inbox.git