Comments (3)
Check your include path - I suspect you are pulling in files from more than one different version of the DirectX headers, or perhaps you've manually copied DirectX headers into your project or to some unusual place on your machine?
DXGI_COLOR_SPACE_TYPE is defined by dxgitype.h, which is include by dxgi.h , which is included by dxgi1_2.h, which is included by d3d11.1.h. To be missing that definition, you must somehow be pulling in a wrong version of one of those files.
from directxtk.
Most likely you are mixing the Windows 8.x SDK and the legacy DirectX SDK incorrectly. See MSDN. The DirectX Tool Kit does not require any use of the legacy DirectX SDK except when using XAudio 2.7 on Windows 7. See The Zombie DirectX SDK and XAudio2 and Windows 8
from directxtk.
Thanks for the advise. Actually, my include path was fine (I think) and I wasn't using legacy DirectX.
After some working around, I was able to solve the problem by re-targeting the platform sdk version to 10.0.10586.0 in the project's context menu and things started to be fine.
Dunno exactly why it worked though.
from directxtk.
Related Issues (20)
- xaudio2 XAUDIO2_E_DEVICE_INVALIDATED HRESULT not handled HOT 16
- Make use of C++/WinRT when building for C++17
- ARM64 version of xwbtool HOT 3
- `MapGuard` undefined behavior after move HOT 3
- DirectX Tool Kit for DX9
- DrawLine line thickness HOT 1
- Mesh Outline Effect HOT 2
- Point Light Shader HOT 2
- Clarify required WinSDK version HOT 2
- Hard fps lock to refresh rate value in fullscreen games - Win11 22H2 (DX11) HOT 2
- XWBtool makes all wav files the same name after repackaging HOT 5
- Audio: how to set distance attenuation/fall-off? HOT 4
- darker images loading HOT 1
- Request/question: Add a Vector4/floating point overload for the spritebatch's draw function
- undefined data type in PostProcess method HOT 3
- Aa
- Should Mouse use WM_MOUSELEAVE for Win32 raw input
- SimpleMath geometric random functions
- Error with custom shaders HOT 4
- Keyboard and mouse uses inconsistent coordinate systems, resulting in incorrect movement HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from directxtk.