Media (Intel® oneAPI Video Processing Library, Intel Media SDK)
Access community support with transcoding, decoding, and encoding in applications using media tools like Intel® oneAPI Video Processing Library and Intel® Media SDK
Announcements
The Intel sign-in experience has changed to support enhanced security controls. If you sign in, click here for more information.

Unresolved symbol SetThreadErrorMode()

Donald_G_
Beginner
297 Views

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
297 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
298 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

Donald_G_
Beginner
297 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
297 Views

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

Hiroshi_O_
Beginner
297 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
297 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