Jump to content
  • Advertisement
Sign in to follow this  

DX11 windows kits 8.0 crash with dxsdk june 2010

This topic is 2309 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I get warnings like this

c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(12): warning C4005: 'DXGI_STATUS_OCCLUDED' : macro redefinition
3> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\winerror.h(49449) : see previous definition of 'DXGI_STATUS_OCCLUDED'
3>c:\program files (x86)\microsoft directx sdk (june 2010)\include\dxgitype.h(13): warning C4005: 'DXGI_STATUS_CLIPPED' : macro redefinition
3> C:\Program Files (x86)\Windows Kits\8.0\Include\shared\winerror.h(49458) : see previous definition of 'DXGI_STATUS_CLIPPED'

And I found a topic about this error:

many people say I should exclude directx sdk june 2010 path from include paths of the project but doing so generates errors.

I include these headers

#include <d3d11.h>
#include <d3dx11.h>
#include <DxErr.h>
#include <d3dcompiler.h>
#include <DXGI.h>
#include <xnamath.h>

how should be the new configuration ? does anyone encounter this problem and solve it nicely ?

Share this post

Link to post
Share on other sites
Visual Studio 2012 comes together with DirectX; to be more precise, now it's part of Windows SDK. Microsoft decided they're too close to be separated.

d3dx11.h has been deprecated and removed, so whatever you used from it you'll have to make on your own (most likely that'll be texture loading).

Share this post

Link to post
Share on other sites
You should also take a look at the following blog, which has covered most of the topics that you are encountering: Chuck's blog. There are open source solutions out there that can replace most of the functionality that is lost with the D3DX libraries, but it takes some time to figure out how to get everything up and running.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!