rdp / ffmpeg-windows-build-helpers

Helper script for cross compiling some media tools for windows, like customizable ffmpeg.exe (with or without non-free components, etc), and some other bonuses like mplayer, mp4box, mxf, etc.
GNU General Public License v3.0
1.08k stars 414 forks source link

ERROR: fontconfig not found using pkg-config #643

Closed SmoochySix4 closed 1 year ago

SmoochySix4 commented 2 years ago

ERROR: fontconfig not found using pkg-config config.log

alicera commented 2 years ago

could you please provide us the detailed steps you build ffmpeg

SmoochySix4 commented 2 years ago

started out with this command: ./cross_compile_ffmpeg.sh --build-ffmpeg-static=y --gcc-cpu-count=8 --disable-nonfree=n --build-intel-qsv=y --build-libmxf=n --build-mp4box=n --build-mplayer=n --build-vlc=n --build-lsw=n --build-ismindex=n --build-svt=n --build-dvbtee=n --compiler-flavors=win64 --cflags="-march=skylake -O2 -pipe" --git-get-latest=y --build-x264-with-libav=n --prefer-stable=y --enable-gpl=y --build-dependencies=y

when it failed, I blasted the sandbox and removed the cflags options: ./cross_compile_ffmpeg.sh --build-ffmpeg-static=y --gcc-cpu-count=8 --disable-nonfree=n --build-intel-qsv=y --build-libmxf=n --build-mp4box=n --build-mplayer=n --build-vlc=n --build-lsw=n --build-ismindex=n --build-svt=n --build-dvbtee=n --compiler-flavors=win64 --git-get-latest=y --build-x264-with-libav=n --prefer-stable=y --enable-gpl=y --build-dependencies=y

libbluray, fontconfig and freetype can't be found

SmoochySix4 commented 2 years ago

Okay, so not sure why, but I tried this on Ubuntu Server 22.04 and it worked with no issue. It appears the issue is Arch Linux?

rdp commented 1 year ago

PR's welcome, I only test on a few distro's, though there is a docker option FWIW...thanks!