From 58e2e69f81ee406e044e2be1f16471447d9df7c7 Mon Sep 17 00:00:00 2001 From: Richard Stanway Date: Sun, 25 Jun 2017 22:26:31 +0200 Subject: [PATCH] libobs-d3d11: Better error message for missing D3DCompiler --- libobs-d3d11/d3d11-subsystem.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/libobs-d3d11/d3d11-subsystem.cpp b/libobs-d3d11/d3d11-subsystem.cpp index 340b26d63..1bcc6c2c5 100644 --- a/libobs-d3d11/d3d11-subsystem.cpp +++ b/libobs-d3d11/d3d11-subsystem.cpp @@ -196,7 +196,9 @@ void gs_device::InitCompiler() ver--; } - throw "Could not find any D3DCompiler libraries"; + throw "Could not find any D3DCompiler libraries. Make sure you've " + "installed the " + "DirectX components that OBS Studio requires."; } void gs_device::InitFactory(uint32_t adapterIdx) -- GitLab