gstreamer-plugins
gstreamer-plugins copied to clipboard
comilation error: mfxdefs.h: No such file or directory
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
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"