Media (Intel® 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 Media SDK project is no longer active. For continued support and access to new features, Intel Media SDK users are encouraged to read the transition guide on upgrading from Intel® Media SDK to Intel® Video Processing Library (VPL), and to move to VPL as soon as possible.
For more information, see the VPL website.

Can't compile MediaSDKInterop Sample

word_t_
Beginner
1,341 Views

I am using Windows 10 and installed Intel Media SDK 2016 version (most recent), MediaSDK samples (2016.msi), Intel OpenCL SDK, Windows SDK 10. When I open the MediaSDKInterop solution and tried to compile, it complains:

C:\users\x\documents\intel media sdk samples 2016 6.0.0.142\ocl_media_sdk_interop\common\dxut\core\dxut.h(14): fatal error C1083: Cannot open include file: 'dxsdkver.h': No such file or directory

I looked at the whole system and could not find dxsdkver.h, is there anything wrong?

0 Kudos
10 Replies
Jiandong_Z_Intel
Employee
1,341 Views

Hi There,

What is the Visual Studio version you are using ?

Have you installed DirectX SDK on your system ?

 

Thanks,

Zachary

0 Kudos
word_t_
Beginner
1,341 Views

I am using visual studio 2015.

Which version of directx sdk should be installed? From microsoft, windows sdk replaces directx sdk.

 

0 Kudos
Jiandong_Z_Intel
Employee
1,341 Views

I haven't built MSDK sample using visual studio 2015.

1. To get 'dxsdkver.h' you can download "DirectX Software Development Kit" from

https://www.microsoft.com/en-us/download/details.aspx?id=6812

2. or, remove the reference to dxsdkver.h, refer to following URL

https://social.msdn.microsoft.com/Forums/en-US/ca03a834-1108-4767-b19c-773cfd8a47e5/is-dxsdkverh-header-file-missing-from-the-windows-sdk-as-of-8-and-81?forum=windowssdk

 

Another, can you try following  ?

https://software.intel.com/sites/default/files/managed/f3/ec/mss_ocl_surface_sharing.zip

 

 

I think it is not depend on 'dxsdkver.h'

 

Thanks,

Zachary

 

 

0 Kudos
word_t_
Beginner
1,341 Views

I could not install DirectX SDK on my windows 10 machine, always got an error saying some sort of conflict.

Now I am getting these errors:

1>libmfx.lib(mfx_plugin_hive.obj) : error LNK2019: unresolved external symbol swscanf_s referenced in function "private: bool __cdecl MFX::MFXPluginsInFS::ParseKVPair(wchar_t *,wchar_t *,class MFX::PluginDescriptionRecord &)" (?ParseKVPair@MFXPluginsInFS@MFX@@AEAA_NPEA_W0AEAVPluginDescriptionRecord@2@@Z)
1>DXUT.lib(DXUT.obj) : error LNK2019: unresolved external symbol __imp_realloc referenced in function "protected: long __cdecl CGrowableArray<struct DXUT_TIMER>::SetSizeInternal(int)" (?SetSizeInternal@?$CGrowableArray@UDXUT_TIMER@@@@IEAAJH@Z)
1>DXUT.lib(DXUTenum.obj) : error LNK2001: unresolved external symbol __imp_realloc

For the link you gave to me, I still could not compile as it could not find 'CL/cl_d3d9.h'. Is this for directX9? I do see 'CL/cl_d3d11.h' though. Do you have the sample in d3d11?

0 Kudos
Jiandong_Z_Intel
Employee
1,341 Views

libmfx is opensource for you, you can find it under <MSDK install folder>/opensource\mfx_dispatch and recompile it for your currently environment.

For 'CL/cl_d3d9.h', can you check if you have install "Intel® SDK for OpenCL™ Applications" from https://software.intel.com/intel-opencl on your system ?

 

 

0 Kudos
word_t_
Beginner
1,341 Views

Yes i installed it. It is the only opencl environment on my system

0 Kudos
Jiandong_Z_Intel
Employee
1,341 Views

For 'CL/cl_d3d9.h'

Can you check following in your system ?  the version may difference, but path will be similar. you can refer to the attached.

 

 

 

0 Kudos
word_t_
Beginner
1,341 Views

No it's not there. The samples are too outdated. Not for d3d11 and not for windows 10.

0 Kudos
Jiandong_Z_Intel
Employee
1,341 Views

can I close this thread, and we discuss it in https://software.intel.com/en-us/forums/intel-media-sdk/topic/622293 ?

 

0 Kudos
word_t_
Beginner
1,341 Views

Ok

0 Kudos
Reply