浏览代码

libobs-d3d11: Better error message for missing D3DCompiler

Richard Stanway 8 年之前
父节点
当前提交
58e2e69f81
共有 1 个文件被更改,包括 3 次插入1 次删除
  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)