debug D3D10CreateDeviceAndSwapChain 创建返回失败

cs74184235 2016-12-07 11:08:53
找到原因是
D3D10_CREATE_DEVICE_DEBUG 模式创建会失败。

网上也查到有人说安装可选“图形工具”功能,但是我的机子是win7 + VS2010,没有找到具体解决方法。


楼主刚起步在自学d3d 用的是d3d10龙书 + vs2010,不知道方向对不对,有没有大神推荐下更好的学习路径,拜谢!
...全文
222 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
cs74184235 2016-12-12
  • 打赏
  • 举报
回复
找到了,msdn 原文 If you are a Windows 7 DirectX developer who uses the June 2010 DirectX Software Development Kit (SDK), you will have to update your development environments after you install this platform update. The following development .dll files that are associated with the DirectX SDK are incompatible with this platform update: ◾D3D10SDKLayers.dll ◾D3D11SDKLayers.dll ◾D3D10ref.dll ◾D2D1debug.dll You can use one of the following applications or tools to update these .dll files: ◾The Windows 8 SDK: This SDK updates the current development environment with new headers, libs, and tools. This includes the previously-listed development .dll files. This update does not update the C or C++ compilers or the IDE, but this update does enable developers to integrate the new features of the platform update into their applications. ◾Microsoft Visual Studio 2012: This application includes the Windows 8 SDK, the Visual Studio 2012 IDE, and the new compilers. It also enables developers to integrate the new features of the platform update into their applications. ◾Remote Tools for Visual Studio 2012: These tools are the minimum requirement in order to continue using the Direct3D debug layer. These tools update only the previously-listed development .dll files. These tools do not enable developers to integrate the new features of the platform update into their applications. These tools are available in the "Remote Tools for Visual Studio 2012" section of the Visual Studio Download Center, or can be downloaded from the following links. These packages can be safely installed on development systems: ◾Remote Tools for Visual Studio 2012 (x86) English ◾Remote Tools for Visual Studio 2012 (x64) English Note The Pix for Windows tool from the DirectX SDK is incompatible with this platform update. See Debugging Shaders in Visual Studio for more information about the new tools available in Visual Studio 2012. For more developer information about this platform update, go to the following MSDN website: Platform Update for Windows 7

456

社区成员

发帖
与我相关
我的任务
社区描述
其它游戏引擎
社区管理员
  • 其它游戏引擎社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧