Error when building on Windows 11 : Couldn't apply patch: Couldn't apply patch: ffmpeg/change-RTCP-ratio.patch
Follow the Building on native Windows instructions. I installed all dependencies successfully
But when I run python build.py --install
.
Error occurs when it is building ffmpeg,I really don't know how to get it right, hope someone can help me out.
Couldn't apply patch: /d/Users/Coding/IDE/VS-pro/jami-project/daemon/contrib/src/ffmpeg/change-RTCP-ratio.patch
Click to expand
[ WARNING 1650721557.519650 make: 295 ] ffmpeg is not up to date
[ WARNING 1650721557.520192 fetch_pkg: 358 ] n4.4.tar.gz already exists in the tarball/archive directory
[ DEBUG 1650721558.171133 extract_tar: 384 ] Decompressing n4.4.tar.gz to D:\Users\Coding\IDE\VS-pro\jami-project\daemon\contrib\build\ffmpeg
[ DEBUG 1650721561.954290 apply: 430 ] patching ffmpeg...
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
[ DEBUG 1650721562.125420 apply_linux: 414 ] applying linux patch /d/Users/Coding/IDE/VS-pro/jami-project/daemon/contrib/src/ffmpeg/change-RTCP-ratio.patch
Windows Subsystem for Linux has no installed distributions.
Distributions can be installed by visiting the Microsoft Store:
https://aka.ms/wslstore
[ ERROR 1650721562.190961 apply: 442 ] Couldn't apply patch: /d/Users/Coding/IDE/VS-pro/jami-project/daemon/contrib/src/ffmpeg/change-RTCP-ratio.patch
Traceback (most recent call last):
File "build.py", line 746, in <module>
main()
File "build.py", line 718, in main
run_install(parsed_args)
File "build.py", line 359, in run_install
return subprocess.run([
File "subprocess.py", line 516, in run
subprocess.CalledProcessError: Command '['D:\\Softwares\\DevEnv\\python\\python-3.8.10-embed-amd64\\python.exe',
'D:\\Users\\Coding\\IDE\\VS-pro\\jami-project\\scripts/build-windows.py', '--toolset', '142', '--sdk', '10.0.16299.0', '--qtver', '6.2.1']' returned non-zero exit status 1.
Edited by Heyuanfly