Introduction-to-3D-Game-Programming-With-DirectX11
Book Example Code in [Introduction to 3D Game Programming With DirectX11 by Frank Luna ] http://www.d3dcoder.net/
New Project setup:
Do not modify the relative directory structure of these samples. In particular, for each project sample, the Common folder must be obtained from it via "../../Common".
Debug libraries:
d3d11.lib;d3dx11d.lib;D3DCompiler.lib;Effects11d.lib;dxerr.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies)
Release libraries:
d3d11.lib;d3dx11.lib;D3DCompiler.lib;Effects11.lib;dxerr.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies)
C/C++ Additional Include Directories:
-
Path to DirectX Header files.
-
../../Common (or Absolute Path to Common)
Linker Additional Library Directories:
-
Path to DirectX Library files.
-
../../Common (or Absolute Path to Common)
FXC Call (*.fx file Custom Build Tool)
- Command Line
- a) Debug mode: fxc /Fc /Od /Zi /T fx_5_0 /Fo "%(RelativeDir)%(Filename).fxo" "%(FullPath)"
- b) Release mode: fxc /T fx_5_0 /Fo "%(RelativeDir)%(Filename).fxo" "%(FullPath)"
- Description
- a) Debug Description: fxc compile for debug: %(FullPath)
- b) Release Description: fxc compile for release: %(FullPath)
- Outputs
- Outputs: %(RelativeDir)%(Filename).fxo
Compile Error
-
Effects11d.lib Link Error C:\Program Files\Microsoft DirectX SDK (June 2010)\Samples\C++\Effects11 https://github.com/Microsoft/FX11/archive/nov2015.zip Build And Link Effects11.lib
-
Effects11d.lib -> Build FX11-nov2015 project
-
VS2015 Build Error
- d3dUtil.h, line 38, remove DXTrace macro code
-
DirectX 11 μ΄κΈ°ν μ€λ₯ μλ μ¬μ΄νΈλ₯Ό μ°Έμ‘°νμ. http://stackoverflow.com/questions/10586956/what-can-cause-d3d11createdevice-to-fail-with-e-fail