Hello. I've bought a book named 3d Game programming with DirectX 11 by Frank D Luna.
And in the book i am suppose to link library files and add directories to different places.
After linking the library files :
d3d11.lib
d3dx11d.lib
d3dx11.lib
D3DCompiler.lib
Effects11d.lib
Effects11.lib
dxerr.lib
dxgi.lib
dxguid.lib
I started to get the directories : VC++ Directories / Executable Directories / C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Utilities\bin\x86"C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Utilities\bin\x86"
That's how it looks inside it.
VC++ Directories / Include Directories /
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include"C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include"
and
C:\Users\Elmer1\Desktop\sDASDAS\Common"C:\Users\Elmer1\Desktop\sDASDAS\Common"
VC ++ Directories / Library Directories /
C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86"C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Lib\x86"
and also
C:\Users\Elmer1\Desktop\sDASDAS\Common"C:\Users\Elmer1\Desktop\sDASDAS\Common"
The output i get is:
1>------ Build started: Project: D3DBook, Configuration: Debug Win32 ------
1> xnacollision.cpp
1>c:\users\elmer1\desktop\sdasdas\common\xnacollision.h(15): fatal error C1083: Cannot open include file: 'xnamath.h': No such file or directory
1> d3dUtil.cpp
1>c:\users\elmer1\desktop\sdasdas\common\d3dutil.h(13): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory
1> d3dApp.cpp
1>c:\users\elmer1\desktop\sdasdas\common\d3dutil.h(13): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory
1> Waves.cpp
1>c:\users\elmer1\desktop\sdasdas\common\waves.h(13): fatal error C1083: Cannot open include file: 'xnamath.h': No such file or directory
1> TextureMgr.cpp
1>c:\users\elmer1\desktop\sdasdas\common\d3dutil.h(13): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory
1> MathHelper.cpp
1>c:\users\elmer1\desktop\sdasdas\common\mathhelper.h(11): fatal error C1083: Cannot open include file: 'xnamath.h': No such file or directory
1> LightHelper.cpp
1>c:\users\elmer1\desktop\sdasdas\common\lighthelper.h(11): fatal error C1083: Cannot open include file: 'xnamath.h': No such file or directory
1> GeometryGenerator.cpp
1>c:\users\elmer1\desktop\sdasdas\common\d3dutil.h(13): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory
1> Camera.cpp
1>c:\users\elmer1\desktop\sdasdas\common\d3dutil.h(13): fatal error C1083: Cannot open include file: 'd3dx11.h': No such file or directory
1> BoxDemo.cpp
1>c:\users\elmer1\desktop\sdasdas\chapter 6 drawing in direct3d\box\boxdemo.cpp(12): fatal error C1083: Cannot open include file: 'd3dApp.h': No such file or directory
1> Generating Code...
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
But i still have all those header files in either the common folder or the sdk include folder. Why isn't it working?
I just went to the folder and then right clicked and choosed Copy address and then just pasted it in. Is it something i am missing that should be there?
Thanks.