Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FFMPEG compilation is never easy #728

Open
XenosHamzuz opened this issue Feb 25, 2024 · 0 comments
Open

FFMPEG compilation is never easy #728

XenosHamzuz opened this issue Feb 25, 2024 · 0 comments

Comments

@XenosHamzuz
Copy link

Hi,
I am a big fan of the FFMPEG, and I always wanted to compile my own version myself. I started looking up, and I found Media autobuild suite is the easiest way to do it on Windows (Windows 11), I begun that, and after several issues I was able to solve, luckily, the compilation was finished, but when I tried to run it, it never worked, there, my luck was finished.

So, I started looking for another way, and found FFMPEG Windows build helpers. I thought it will run and done the compilation smoothly without any complications like Media autobuild suite, but aaaah. I have started the compilation on Fedora 39, first issue was that meson and another library not installed in Fedora, so I have installed them, next issue was that "brotli" was not included in the "freetype-2.10.4" library, and I had to download it and include it in that library path. from there the compilation was being completed until the below error shows, I have tried to resolve it but all my tries were in vain and I have no idea what to do.

Please assist me to overcome this issue and that would be much appreciated.

Thank you.

CXX libharfbuzz_cairo_la-hb-static.lo
GEN harfbuzz.pc
GEN harfbuzz-subset.pc
GEN harfbuzz-cairo.pc
GEN libharfbuzz.la
CXXLD main.exe
CXXLD test.exe
CXXLD test-buffer-serialize.exe
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lglib-2.0
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lglib-2.0
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lglib-2.0
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbrotlidec
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbrotlidec
/home/hamzah/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/lib/gcc/x86_64-w64-mingw32/10.2.0/../../../../x86_64-w64-mingw32/bin/ld: cannot find -lbrotlidec
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2210: test.exe] Error 1
make[4]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
make[4]: *** [Makefile:2226: test-buffer-serialize.exe] Error 1
make[4]: *** [Makefile:2206: main.exe] Error 1
make[4]: Leaving directory '/home/hamzah/ffmpeg-windows-build-helpers/sandbox/win64/harfbuzz_git/src'
make[3]: *** [Makefile:3937: all-recursive] Error 1
make[3]: Leaving directory '/home/hamzah/ffmpeg-windows-build-helpers/sandbox/win64/harfbuzz_git/src'
make[2]: *** [Makefile:2034: all] Error 2
make[2]: Leaving directory '/home/hamzah/ffmpeg-windows-build-helpers/sandbox/win64/harfbuzz_git/src'
make[1]: *** [Makefile:514: all-recursive] Error 1
make[1]: Leaving directory '/home/hamzah/ffmpeg-windows-build-helpers/sandbox/win64/harfbuzz_git'
make: *** [Makefile:446: all] Error 2

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant