[Libav-user] libmfx not found using pkg-config

Francesco, Cuzzocrea francesco at bltitalia.com
Wed Feb 22 13:02:57 EET 2017

Hi to all
I'm attempting to compile ffmpeg using VS2015 with --enable--static and 
--enable-libmfx.  I can compile without
enable libmfx, but I can't compile enabling it.  Command I sent is:

./configure --enable-yasm --enable-asm --enable-gpl --enable-static 
--disable-debug --arch=amd64 --toolchain=msvc

it seems that libmfx is correctly installed:

pkg-config --libs libmfx
-L/msvc/lib -lmfx -lstdc++

but the result is "ERROR: libmfx not found using pkg-config".  I attempt 
to compile using mingw64 only:

./configure --enable-yasm   --enable-gpl --enable-static --disable-debug 

but same result.  Same result too if I don't specify architecture:

/configure --enable-yasm   --enable-gpl --enable-static --disable-debug

May be that libmfx can't be statically linked ?

More information about the Libav-user mailing list