Need help

Started by
3 comments, last by dawoodr 9 years, 8 months ago

Hello!

Well I am stuck, it feels like I am hitting my head against a brick wall and have been doing it for several days now.

I am reading Frank D. Luna's book "Introduction to 3D Game Programming with DirectX 11" and seriously I am stuck at chapter 4. I am trying to use the initialization code for Direct3D and I can't get it to work.

I have included the common code folder and the June SDK 2010 in the directories as the book said, and then I open the .sln file from chapter 4 for initializing Direct3D but I just get errors.


Error 1 error C1083: Cannot open include file: 'd3dx11.h': No such file or directory c:\users\dawood\desktop\utbildning\programmering\dvd\d3d11codeset1\common\d3dutil.h 13 1 Init Direct3D


Error 2 error C1083: Cannot open include file: 'd3dx11.h': No such file or directory c:\users\dawood\desktop\utbildning\programmering\dvd\d3d11codeset1\common\d3dutil.h 13 1 Init Direct3D


Error 3 error C1083: Cannot open include file: 'd3dx11.h': No such file or directory c:\users\dawood\desktop\utbildning\programmering\dvd\d3d11codeset1\common\d3dutil.h 13 1 Init Direct3D

Please help me out.

Regards!

Advertisement

Also for those who are familiar with the book, if you download the sample codes from d3dcoder.net there is no "d3dx11.h" file in the common folder, wtf!?

What's up. There's no d3dx11.h file in the common folder because that file is in the June 2010 DirectX SDK.

I don't think you've set up your include directories correctly.

there is no "d3dx11.h" file in the common folder, wtf!?

That’s probably because it is already located at “C:\Program Files (x86)\Microsoft DirectX SDK (June 2010)\Include\D3DX11.h” (on a standard install—you know if you have changed the directory to somewhere else).

You need to set your Microsoft Visual Studio include directories (if you claim you already have, then you need to set them properly).

L. Spiro

I restore Nintendo 64 video-game OST’s into HD! https://www.youtube.com/channel/UCCtX_wedtZ5BoyQBXEhnVZw/playlists?view=1&sort=lad&flow=grid

Yes, I managed to fix it yesterday with some help of others. :)

This topic is closed to new replies.

Advertisement