![](/img/trans.png)
[英]In an example code of the book “introduction to 3d game programming with directx 11”
[英]Problems with the box example in Frank Luna's introduction to his book '3D game programming with DirectX12'
我开始学习 Frank Luna 的书“使用 DirectX12 进行 3D 游戏编程”。 为了准确地按照他的步骤,我已经下载了 Visual Studio 2015(但我可以安装您可能建议的任何版本),即使现在我们是在 2020 年。当尝试执行他从介绍的第 xxx 页到第 xxxiii 页给出的指令时,我得到两种类型的错误。 首先是这个列表:
Cannot open include file: '../../Common/d3dApp.h': No such file or directory
1> d3dUtil.cpp
1>c:\users\maurizio\desktop\intro\d3d12book\common\d3dutil.h(11): fatal error C1083: Cannot open include file: 'dxgi1_4.h': No such file or directory
1> d3dApp.cpp
1>c:\users\maurizio\desktop\intro\d3d12book\common\d3dutil.h(11): fatal error C1083: Cannot open include file: 'dxgi1_4.h': No such file or directory
1> DDSTextureLoader.cpp
1>c:\users\maurizio\desktop\intro\d3d12book\common\d3dx12.h(13): fatal error C1083: Cannot open include file: 'd3d12.h': No such file or directory
1> Camera.cpp
1>c:\users\maurizio\desktop\intro\d3d12book\common\d3dutil.h(11): fatal error C1083: Cannot open include file: 'dxgi1_4.h': No such file or directory
第二个问题是,在我的 Windows 10 计算机和 VisualStudio 2015 中,他编写的目标平台版本应该是 10.x,而是 8.1。
是否可以在 Visual Studio 2019 中学习本书? 有人吗?
我为打扰深表歉意,但我真的处于开始阶段......而且我在介绍时被困在那里:-(
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.