GithubHelp home page GithubHelp logo

Comments (3)

shawnhar avatar shawnhar commented on May 13, 2024

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.

walbourn avatar walbourn commented on May 13, 2024

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.

doncot avatar doncot commented on May 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.