gstreamer-plugins icon indicating copy to clipboard operation
gstreamer-plugins copied to clipboard

comilation error: mfxdefs.h: No such file or directory

Open vandanachadha opened this issue 4 years ago • 1 comments

getting this make error: ../utils/include/mfx_defs.h:32:10: fatal error: mfxdefs.h: No such file or directory #include "mfxdefs.h" ^~~~~~~~~~~ compilation terminated.

I did this before the make: MFX_HOME=/opt/intel/mediasdk ./autogen.sh

vandanachadha avatar Nov 25 '20 07:11 vandanachadha

Please try to check if mfxdefs.h in your $MFX_HOME/include/mfx, if so try to modify configure file:

MFX_CFLAGS="-I${MFX_HOME}/include ${MFX_ARCH_CFLAGS} ${MFX_CFLAGS}"

to

MFX_CFLAGS="-I${MFX_HOME}/include/mfx ${MFX_ARCH_CFLAGS} ${MFX_CFLAGS}"

and also change

MFX_LDFLAGS="-L${MFX_HOME}/lib/lin_${MFX_LIBDIR} -lmfx" to MFX_LDFLAGS="-L${MFX_HOME}/lib64 -lmfx"

FionaZZ92 avatar Jul 14 '21 10:07 FionaZZ92