VS2010 libmfx link error

VS2010 libmfx link error

Hi,

I'm new in Intel Media SDK and i want to change the encode/decode system of my aplication from ffmpeg to quicksync to make some tests, so i have add the library to my project, maked a class to initialize a encode session, but it don't compile, VS2010 gives me the follow error:

 

error LNK2001: unresolved external symbol _MFXInit

error LNK2001: unresolved external symbol _MFXClose

error LNK2001: unresolved external symbol _MFXVideoENCODE_QueryIOSurf

error LNK2001: unresolved external symbol _MFXVideoENCODE_Init

error LNK2001: unresolved external symbol _MFXVideoENCODE_Close

error LNK2001: unresolved external symbol _MFXVideoENCODE_EncodeFrameAsync

error LNK2001: unresolved external symbol _MFXVideoENCODE_Query

 

i have compiled and run the examples, but in my project it's don't work.

I have included the sdk include directory, library directory and the .lib in the project settings.

some one can help me? Thanks

P.S.: sorry for my poor english

 

publicaciones de 3 / 0 nuevos
Último envío
Para obtener más información sobre las optimizaciones del compilador, consulte el aviso sobre la optimización.

Hi Guilherme,

the link error you're getting is most certainly due to the linker not being able to find the "libmfx.lib" file. Please check you project configuration to make sure the file is named correctly and that it is located in the path you provide.

Regards,
Petter 

Hi Petter,

Thanks for the answer, but the problem was diferent and i have figured it out, i had to recompile library in the VS2010 and everything worked fine.

thank you for your time,

Guilherme 

Deje un comentario

Por favor inicie sesión para agregar un comentario. ¿No es socio? Únase ya