Members - Reputation: 242
Posted 22 August 2012 - 12:29 PM
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
how should be the new configuration ? does anyone encounter this problem and solve it nicely ?
Members - Reputation: 529
Posted 22 August 2012 - 01:26 PM
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).
Crossbones+ - Reputation: 6062
Posted 22 August 2012 - 08:28 PM
Jason Zink :: DirectX MVP
Direct3D 11 engine on CodePlex: Hieroglyph 3
Direct3D Books: Practical Rendering and Computation with Direct3D 11, Programming Vertex, Geometry, and Pixel Shaders
Articles: Dual-Paraboloid Mapping Article :: Parallax Occlusion Mapping Article (original):: Fast Silhouettes Article
Games: Lunar Rift