Solved Win10 x64 Can't build Kodi master -- ffmpeg doesn't compile
#1
Trying to build master.  When running script "make-mingwlibs.bat", the minty shell opens but the ffmpeg patches are failing, console output:
 
Code:
ffmpeg (x64) .................................................... [Removing]
Applying patch /xbmc/tools/buildsteps/windows/patches/0001-ffmpeg-windows-configure-detect-openssl.patch
(Stripping trailing CRs from patch; use --binary to disable.)
can't find file to patch at input line 14
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|From 08ae41e824e04ab48eafde763c72d1ff3e878a41 Mon Sep 17 00:00:00 2001
|From: Lukas Rusak <[email protected]>
|Date: Sat, 10 Apr 2021 08:16:11 -0700
|Subject: [PATCH 1/4] ffmpeg: windows: configure: detect openssl
|
|---
| configure | 2 ++
| 1 file changed, 2 insertions(+)
|
|diff --git a/configure b/configure
|index d7a3f507e8..4b85e881b1 100755
|--- a/configure
|+++ b/configure
--------------------------

looking at that patch file I can't understand how it works or what file it is looking for.

Any ideas?

scott s.
.
Reply
#2
Tried to figure out what was going wrong without first understanding how that patch application process works; gave up.  So blew away my project folder and redownloaded the sources and rebuilt from scratch.  At this point building ffmpeg and doing a cmake debug build is working so good enough for now.

solved

scott s.
.
Reply

Logout Mark Read Team Forum Stats Members Help
Win10 x64 Can't build Kodi master -- ffmpeg doesn't compile0