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)
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)"
a) Debug Description: fxc compile for debug: %(FullPath) b) Release Description: fxc compile for release: %(FullPath)
Outputs: %(RelativeDir)%(Filename).fxo
-
Effects11d.lib 링크 에러 C:\Program Files\Microsoft DirectX SDK (June 2010)\Samples\C++\Effects11 프로젝트를 컴파일해서 링크하자.
-
DirectX 11 초기화 오류 아래 사이트를 참조하자. http://stackoverflow.com/questions/10586956/what-can-cause-d3d11createdevice-to-fail-with-e-fail