Thread: DirectX Setup Help!

  1. #1
    Registered User
    Join Date
    Oct 2002
    Posts
    118

    DirectX Setup Help!

    I am having a hell of the time compiling with my Borland compiler (ver. 5.5) and I think I need help. I installed the DirectX 6.1 SDK, and now I want to compile some demo's from the book that I have. The book is called, "Tricks Of The Window's Game Programming Guru's". It is an excellent book but I can't find much info on actually setting up Borland with DirectX and making it work. I know how to compile and have compiled many programs before, but now im getting into graphics, and it seems I need help with the set up. So if anyone could help I would greatly appreciate it. May be step by step instructions? Please help, im going crazy! Thanks
    "The distinction between past, present and future is only an illussion, even if a stunning one."
    -Albert Einstein

  2. #2
    Rambling Man
    Join Date
    Jan 2002
    Posts
    1,050
    try gamedev.net because I'm sure they have a lot of tutorials on how to setup DirectX. plus they have a forum for those sort of questions where your answers can be answered quickly. I would help you more, but I don't know the answer, sorry.

  3. #3
    Confused Magos's Avatar
    Join Date
    Sep 2001
    Location
    Sweden
    Posts
    3,145
    From experience I've found that Borland isn't the most compatible compiler with DirectX. Though possible, you need some special headers and stuff. I switched to VC++ after fighting with Borland for a long time .
    MagosX.com

    Give a man a fish and you feed him for a day.
    Teach a man to fish and you feed him for a lifetime.

  4. #4
    Used Registerer jdinger's Avatar
    Join Date
    Feb 2002
    Posts
    1,065
    I've never used Borland with DX but I'd imagine it just requires making sure that your link and header paths include the SDK's link and header directories, then making sure that you link to the proper libs and include the proper headers. If that doesn't work, maybe hit google up for some info.

  5. #5
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    If I can compile DX programs using mingw you can do it with Borland. You are most likely linking everything incorrectly. Look through the docs.

  6. #6
    Registered User
    Join Date
    Oct 2002
    Posts
    118

    Problem Fixed! Yaaaa!!!

    Thanks for the help, but I have corrected my problem. I was not manually including the DDRAW.LIB file like I was told to do. I thought you could just put the directx LIB files in the compilers LIB files. I guess I was wrong. Anyways, live and learn. Thanks!
    "The distinction between past, present and future is only an illussion, even if a stunning one."
    -Albert Einstein

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Isometric Tile Engine using DirectX
    By Wraithan in forum Game Programming
    Replies: 3
    Last Post: 07-17-2006, 12:16 PM
  2. DirectSound header issues
    By dxfoo in forum C++ Programming
    Replies: 0
    Last Post: 03-19-2006, 07:16 PM
  3. DirectX - Starting Guide?
    By Zeusbwr in forum Game Programming
    Replies: 13
    Last Post: 11-25-2004, 12:49 AM
  4. DirectX 8 with Borland
    By Tommaso in forum Game Programming
    Replies: 11
    Last Post: 08-12-2003, 09:30 AM
  5. Directx SDK Documentation
    By Zoalord in forum Game Programming
    Replies: 4
    Last Post: 05-08-2003, 06:07 AM