Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
20 Views

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

 

0 Kudos
2 Replies
Highlighted
Employee
20 Views

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 

0 Kudos
Highlighted
Beginner
20 Views

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 

0 Kudos