Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Donald_G_
Beginner
67 Views

Unresolved symbol SetThreadErrorMode()

Jump to solution

I am getting this error when linking my sample in Visual Studio 2005 Pro on Win8

libmfx.lib(mfx_load_dll.obj) : error LNK2001: unresolved external symbol __imp_SetThreadErrorMode

Assistance would be greatly appreciated. I don't know why it is not found in kernel32 as usual. Thank you.

0 Kudos
1 Solution
Petter_L_Intel
Employee
67 Views

Hi Donald,

I suspect the issue you're encountering is lack of, or incompatible version of Windows SDK. Please make sure you have suitable Windows SDK installed.  Also, Visual Studio 2005 may not be fully compatible with Windows 8. Please consult Microsoft knowledgebase for details.

Regards,
Petter

View solution in original post

5 Replies
Petter_L_Intel
Employee
68 Views

Hi Donald,

I suspect the issue you're encountering is lack of, or incompatible version of Windows SDK. Please make sure you have suitable Windows SDK installed.  Also, Visual Studio 2005 may not be fully compatible with Windows 8. Please consult Microsoft knowledgebase for details.

Regards,
Petter

View solution in original post

Donald_G_
Beginner
67 Views

Thank you, Petter. I knew about potential issues with 2005 but saw some claims it works anyway. I do have the correct WinSDK. I will try VS 2013 express and see how that goes.

Donald_G_
Beginner
67 Views

It's all working with 2013 Express. Thank you.

Hiroshi_O_
Beginner
67 Views

FYI, I hit the same issue as I am working with Windows SDK for Vista. I cannot change our SDK version because of our own requirement around CLI/C++ & .NET framework version (totally out of scope from Intel side.)

I wonder why Intel cannot provide libmfx.lib as DLL, but not static library.

Static library requires more close coupling with client code (our code) and it's worse without having the capability of rebuilding by ourselves.

 

Petter_L_Intel
Employee
67 Views

Hi Hiroshi,

the Media SDK dispatcher (essentially libmfx.lib) is provided as open source code as part of the SDK package. You can modify this code to create alternate dispatcher implementations to fit your needs.

Regards,
Petter

Reply