You are not logged in.

#1 2017-03-31 05:02:03

adomol
Member
Registered: 2014-12-18
Posts: 25

[SOLVED] mingw-w64-ffmpeg... missing exe files

I have built ffmpeg and all it's dependencies for windows from the PKGBUILDs in the AUR. The problem is that when I check under /usr/x86_64-w64-mingw32/bin/ I do not end up with any of the usual FFMPEG related binary executables such as ffmpeg.exe, ffplay.exe, or ffprobe.exe. I have many of the .exe files from various dependencies in there, and also the .dll files related to ffmpeg... avcodec, avformat, avresample and such.

Am I looking in the wrong place or for the wrong binaries? This is my first attempt at cross-compiling for windows, any help would be greatly appreciated.

Thanks!

EDIT:  I needed to remove "--disable-programs" from the build configuration and down in the package() for-loop section I added the following line:
         
          ${_arch}-strip --strip-all "${pkgdir}"/usr/${_arch}/bin/*.exe    (This goes right above the *.dll line)

Thanks to @Martchus for the help with this!

Last edited by adomol (2017-04-14 04:06:08)

Offline

Board footer

Powered by FluxBB