lu-zero / mfx_dispatch

Intel media sdk dispatcher
BSD 3-Clause "New" or "Revised" License
155 stars 83 forks source link

How to compiling as shared library? #82

Open trippleflux opened 3 years ago

trippleflux commented 3 years ago

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'.
maximd33 commented 3 years ago

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

trippleflux commented 3 years ago

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.

maximd33 commented 3 years ago

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.