首页 > 代码库 > Windows8.1下安装Driectx sdk
Windows8.1下安装Driectx sdk
参考:http://rg4.net/archives/851.html
环境:windows8.1
最近想看看directx的demo。从微软那边下载了directx sdk,安装时说是缺少.net frame work3.5。网上说是windows8.1的系统盘已经有.net frame work 3.5的功能,得安装上才行。
步骤:
1、利用windows8.1的镜像在cmd中输入安装。netframework的命令:dism.exe /online /enable-feature /featurename:NetFX3 /Source:F:\sources\sxs
2、重新安装sdk
安装完成后发现里面的资源很丰富,directx9、directx10和directx11的例子都有。主要还有我想看的PRT和HDAO(高级环境光遮蔽)
注意点:
安装错误:
Setup failed.
Errors were encountered during installation of redistributable packages. Please close all open programs and try running setup again. If problems persist, contact DirectX Developer Support.
Error Code: S1023
解决方法:
go to Control Panel>Program & Features and uninstall programs like this:
Microsoft Visual C++ 2010 x86/x64 redistributable – 10.0.(number over 30319)
Windows8.1下安装Driectx sdk