media-autobuild_suite
media-autobuild_suite copied to clipboard
CLANG linking
I am on Windows 10 64 bits, this is the .init file
[compiler list]
arch=3
license2=1
standalone=2
vpx2=1
aom=1
rav1e=1
dav1d=1
libavif=1
jpegxl=1
x2643=4
x2652=1
other265=1
svthevc=1
xvc=1
vvc=1
svtav1=1
svtvp9=1
flac=1
fdkaac=1
faac=1
exhale=1
mediainfo=1
soxB=1
ffmpegB2=1
ffmpegUpdate=1
ffmpegChoice=3
mp4box=2
rtmpdump=2
mplayer2=2
mpv=2
vlc=2
bmx=2
curl=2
ffmbc=2
cyanrip2=2
redshift=2
ripgrep=2
jq=2
jo=2
dssim=2
avs2=2
CC=1
cores=4
deleteSource=1
strip=2
pack=2
logging=2
updateSuite=1
timeStamp=2
ccache=2
noMintty=2
The stuff compiles fine and generate the .exe fine
But when i run ffmpeg.exe i get errors of missing dll files. (libomp.dll libgcc_s_seh-1.dll libwinpthread-1.dll) If i copy those .dll from media-autobuild_suite\msys64\mingw64\bin and put them in c:\windows\system32 and c:\windows\syswow64
The program runs fine. I think this dlls are not being linked to the final ffmpeg ? This may be related ? https://stackoverflow.com/questions/55976484/llvm-clang-8-compilation-of-openmp-code-in-windows
I can indeed reproduce the libomp part, so I can try to look into that
It is not recommended however to copy those dlls to system32 and syswow64, you would be better off copying them next to the ffmpeg binary