Book Example Code in [Introduction to 3D Game Programming With DirectX11 by Frank Luna ] http://www.d3dcoder.net/
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".
d3d11.lib;d3dx11d.lib;D3DCompiler.lib;Effects11d.lib;dxerr.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies)
d3d11.lib;d3dx11.lib;D3DCompiler.lib;Effects11.lib;dxerr.lib;dxgi.lib;dxguid.lib;%(AdditionalDependencies)
-
Path to DirectX Header files.
-
../../Common (or Absolute Path to Common)
-
Path to DirectX Library files.
-
../../Common (or Absolute Path to Common)
- 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
-
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 Initialization error See the site below.. http://stackoverflow.com/questions/10586956/what-can-cause-d3d11createdevice-to-fail-with-e-fail