DirectX SDK Errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • str1ker
    New Member
    • Jun 2006
    • 23

    DirectX SDK Errors

    I don't really think I mean errors, but it seems so on my computer.

    I used to have Visual C++ 2005 Express, and I tried the DirectX SDK, and it didn't work. I had some idea in my head about the express version not having every single library or header file required to make the SDK work, so I decided to get the full version of Visual Studio 2005. I'm glad I bought it, because now I have a whole load of stuff to work with, but sadly, the DirectX SDK still refuses to work.

    If any of you have also had this problem, and have resolved it in some way, please help me.

    Example: ConfigSystem

    Error:
    Code:
    1>------ Build started: Project: ConfigSystem, Configuration: Debug Win32 ------
    1>Compiling...
    1>dxstdafx.cpp
    1>c:\documents and settings\administrator\documents\visual studio 2005\projects\configsystem\common\dxstdafx.h(53) : fatal error C1083: Cannot open include file: 'XInput.h': No such file or directory
    1>Build log was saved at "file://c:\Documents and Settings\Administrator\Documents\Visual Studio 2005\Projects\ConfigSystem\Debug\BuildLog.htm"
    1>ConfigSystem - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Sorry if anyone else has already posted something like this, because I searched for a thread like this, and couldn't find one.

    Thanks.
  • sicarie
    Recognized Expert Specialist
    • Nov 2006
    • 4677

    #2
    Originally posted by str1ker
    I don't really think I mean errors, but it seems so on my computer.

    I used to have Visual C++ 2005 Express, and I tried the DirectX SDK, and it didn't work. I had some idea in my head about the express version not having every single library or header file required to make the SDK work, so I decided to get the full version of Visual Studio 2005. I'm glad I bought it, because now I have a whole load of stuff to work with, but sadly, the DirectX SDK still refuses to work.

    If any of you have also had this problem, and have resolved it in some way, please help me.

    Example: ConfigSystem

    Error:
    Code:
    1>------ Build started: Project: ConfigSystem, Configuration: Debug Win32 ------
    1>Compiling...
    1>dxstdafx.cpp
    1>c:\documents and settings\administrator\documents\visual studio 2005\projects\configsystem\common\dxstdafx.h(53) : fatal error C1083: Cannot open include file: 'XInput.h': No such file or directory
    1>Build log was saved at "file://c:\Documents and Settings\Administrator\Documents\Visual Studio 2005\Projects\ConfigSystem\Debug\BuildLog.htm"
    1>ConfigSystem - 1 error(s), 0 warning(s)
    ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
    Sorry if anyone else has already posted something like this, because I searched for a thread like this, and couldn't find one.

    Thanks.
    Can you post your header includes?

    Comment

    • tsgomez
      New Member
      • Feb 2007
      • 12

      #3
      I had this problem yesterday.

      from the main project screen, select Project from the menu bar. then choose the Project Name Properties option. Your property pages dialog will open. Select the folder C/C++. On the right side of the property page dialog, you'll see an area labeled "Additional Include Directories". Place the path to your 'XInput.h' in the text box then click Apply. That will tell VS 2005 where to find the header file you need.

      Hope this helps.

      Comment

      • str1ker
        New Member
        • Jun 2006
        • 23

        #4
        ya that worked thanks. sorry for the late reply. spending too much time working on it, forgetting that i had actually posted for help...

        anyway, that worked fine. but i just downloaded the feb 2007 SDK, and that worked, without me having to do anything. now all i need is a graphics card that supports shaders...

        Comment

        Working...