Thread: Getting librarys, and d3d to work.

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    16

    Getting librarys, and d3d to work.

    I've been trying to get header files for d3d to work, I took a tutorial then tryed to compile my project but got errors from certain things, like d3d9.h not existing, etc. I was wondering how I could get a complete list of what I need for Direct X, and other libs. Im getting very confused. Im extremely new at C++, and just got through the basic tutorials, and learning windows API. Im a very fast learner and understood all of it(still havin trouble with those classes :P ). I forgot to learn more about using compilers and including headers, etc. :P

  2. #2
    Handy Andy andyhunter's Avatar
    Join Date
    Dec 2004
    Posts
    540
    Look here .

    As a word of advice it is better not to try to get into the windows API and things like DirectX until you have a firm grasp of the C++ language. You will wind up just needlessly frustrating yourself.

    Additionally ensure that you have the SDK in your include list for your compiler. or you could try explicitly including all the header files yourself, like:
    Code:
    #include "C:\DirectX9.0\SDK\include\d3d9.h"
    DirectX also requires certain libraries to be included so ensure those are part of your project.
    Last edited by andyhunter; 01-20-2005 at 04:38 AM.
    i don't think most standard compilers support programmers with more than 4 red boxes - Misplaced

    It is my sacred duity to stand in the path of the flood of ignorance and blatant stupidity... - quzah

    Such pointless tricks ceased to be interesting or useful when we came down from the trees and started using higher level languages. - Salem

Popular pages Recent additions subscribe to a feed