CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Mar 2002
    Location
    United Kingdom
    Posts
    60

    "Cannot open include file" Error...

    Hi all,

    I am continually getting a "Cannot open include file d3dx9.h': No such file or directory" error message all the time I try to compile my program?

    Any ideas what might be causing this error and how I can resolve the issue?
    Thanks!!

    Mark.

  2. #2
    Join Date
    Aug 2002
    Location
    Madrid
    Posts
    4,588

    Re: "Cannot open include file" Error...

    Did you install the Direct X SDK? Did you specify the correct include directories under Tools > Options > Directories?
    Get this small utility to do basic syntax highlighting in vBulletin forums (like Codeguru) easily.
    Supports C++ and VB out of the box, but can be configured for other languages.

  3. #3
    Join Date
    May 1999
    Location
    ALABAMA, USA
    Posts
    9,917

    Re: "Cannot open include file" Error...

    If this header is not in the project directory path of that file should be added to include path either for all projects (Tools, Optoins, Directories tab), or using project settings, additional include path in Project, Settings, C++ tab Category combo: Preprocessor.

    Or use fully qualified path.
    There are only 10 types of people in the world:
    Those who understand binary and those who do not.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured