Browse Source

libobs-d3d11: Better error message for missing D3DCompiler

Richard Stanway 8 years ago
parent
commit
58e2e69f81
1 changed files with 3 additions and 1 deletions
  1. 3 1
      libobs-d3d11/d3d11-subsystem.cpp

+ 3 - 1
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 <a href=\"https://obsproject.com/go/dxwebsetup\">"
+		"DirectX components</a> that OBS Studio requires.";
 }
 
 void gs_device::InitFactory(uint32_t adapterIdx)