Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

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

Open
vandanachadha opened this issue Nov 25, 2020 · 1 comment
Open

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

vandanachadha opened this issue Nov 25, 2020 · 1 comment

Comments

@vandanachadha
Copy link

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

@FionaZZ92
Copy link

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"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants