d3dx11 header?

This is a discussion on d3dx11 header? within the C++ Programming forums, part of the General Programming Boards category; I am very new to all this directx stuff. I have the latest direct x sdk downloaded and i am ...

  1. #1
    Registered User
    Join Date
    Sep 2010
    Location
    Boston, MA
    Posts
    97
    I am very new to all this directx stuff. I have the latest direct x sdk downloaded and i am trying to include <d3dx11.h> and <d3dx10.h>. But neither header file can be found it says any help?

    Running VS 2010
    Last edited by omGeeK; 03-10-2011 at 07:35 PM.

  2. #2
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    You should add these header files into your installation directory (Visual Studio 2010). May be directx doesn't automatically include header files into...

  3. #3
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    You should be able to point MSVS to the installation of your DirectX SDK. Alternatively you can setup your project so that it uses the DirectX SDK. Do not add the header files to your install folder. Keep the SDK where you installed it. It is no different than using other 3rd party libraries with MSVS.

  4. #4
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Posts
    23,014
    You need to add an include directory to where your files are. Surely there should be some tutorial on the web. I don't have VS10 handy at the moment, so I cannot point out where it is.
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  5. #5
    Registered User
    Join Date
    Sep 2010
    Location
    Boston, MA
    Posts
    97
    Thanks guys got it.

  6. #6
    Programming King Mr.777's Avatar
    Join Date
    Mar 2011
    Location
    Middle of NoWhere
    Posts
    320
    It would be better, if you'll tell here, how your problem was solved, so in future it will be helpful for others too.
    I don't care if someone doesn't like me, i was not put on earth to entertain everyone.

    No King, no Queen, I am the ACE of battle.

  7. #7
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,598
    He most likely followed Elysia's advice and set his project up to use the correct include paths and linker paths.

    You just need to tell your project to look in the include path of your DX SDK and the linker path for the libs. Keep in mind that DX comes with x64 and x32 libs so linking with the correct one is important.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 04:25 PM
  2. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 03:49 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21