Community
cancel
Showing results for 
Search instead for 
Did you mean: 
word_t_
Beginner
269 Views

Can't compile MediaSDKInterop Sample

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
269 Views

Hi There,

What is the Visual Studio version you are using ?

Have you installed DirectX SDK on your system ?

 

Thanks,

Zachary

word_t_
Beginner
269 Views

I am using visual studio 2015.

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

 

Jiandong_Z_Intel
Employee
269 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-hea...

 

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

 

 

word_t_
Beginner
269 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?

Jiandong_Z_Intel
Employee
269 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 ?

 

 

word_t_
Beginner
269 Views

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

Jiandong_Z_Intel
Employee
269 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.

 

 

 

word_t_
Beginner
269 Views

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

Jiandong_Z_Intel
Employee
269 Views

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

 

word_t_
Beginner
269 Views

Ok

Reply