Bug Report Cannot open include file: 'd3d12.h'

Kerberos

New Member
Hi, when I compile obs-studio codes I am getting error as below;

obs-studio-17.0.2\plugins\win-capture\graphics-hook\dxgi-capture.cpp(11): fatal error C1083: Cannot open include file: 'd3d12.h': No such file or directory

I installed Windows 10 SDK and Windows 8.1 SDK on my system.

After that error codes compiles but when I run obs.exe I can't access video capture devices.

Thank you in advance.
 

Xaymar

Active Member
You're compiling with D3D12 support. That requires that you either use VS2015 or copy the necessary files to a CMake include directory.
 
Top