mfx_dispatch icon indicating copy to clipboard operation
mfx_dispatch copied to clipboard

How to compiling as shared library?

Open trippleflux opened this issue 3 years ago • 3 comments

I need the famous libmfx-0.dll shared library, how to compile it as shared library?

Because using the following configuring option doesn't work :

./configure --host=x86_64-w64-mingw32 --enable-shared --disable-static
make: Nothing to be done for 'all'.

trippleflux avatar Nov 19 '20 19:11 trippleflux

why do you need MSDK dispatcher as shared library if main purpose of dispatcher - to load proper MSDK core library ?

maximd33 avatar Nov 19 '20 19:11 maximd33

Haven't fully understand FFMPEG ecosystem fully, but it's for delphi's FFVCL plugin which has the "libmfx-0.dll" dependencies.

I am trying to cross compiling it in ubuntu as mingw64, in Msys2 also available as shared libs https://github.com/msys2/MINGW-packages/blob/master/mingw-w64-libmfx/PKGBUILD .

Able to compile version 1.2.5 but above than that i cannot compiling it as shared library.

trippleflux avatar Nov 19 '20 19:11 trippleflux

you might want to stick using 1.25 or "delphi's FFVCL plugin" has to be updated,

it is not clear why it needs "libmfx-0.dll" this is pretty much unique case.

maximd33 avatar Nov 19 '20 22:11 maximd33