DirectX development

This is a discussion on DirectX development within the Game Programming forums, part of the General Programming Boards category; Hello! I'd like to start writing games that use directx technology. Just wanted to ask, which is the best compiler ...

  1. #1
    Registered User
    Join Date
    Jan 2006
    Location
    Latvia
    Posts
    102

    DirectX development

    Hello! I'd like to start writing games that use directx technology. Just wanted to ask, which is the best compiler for doing that, and which SDKs and other tools I have to get. Any links to good tutorials would be appreciated. Also, how do I "link libraries"? What should I write in the linker command line?

  2. #2
    Registered User
    Join Date
    May 2006
    Posts
    903
    Well I think only Microsoft compilers can compile DirectX code but I may be wrong on that. I know that you could use VC2005 Express edition. I've heard good things on it. As to how to link libraries, in a Microsoft compiler you can simply write #pragma comment(lib, "mylib.lib"). If you are using any other IDE then you need to search in the menus. Usually it's something like "Project -> Project properties" and then check for something like "Dependencies" or "Libraries".

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    get the sdk. Naturally, like anything that M$ produces, using a M$ compiler would provide best results, although others might work ok too.

  4. #4
    Registered User
    Join Date
    Jan 2006
    Location
    Latvia
    Posts
    102
    OK, I got the SDK and installed it. Should I somehow link it together with VC++ 2005? Or it will work automatically? And, which version is better? Prefessional, enterprise, express? What are the differences? And where should I seek for good tutorials?

  5. #5
    Registered User
    Join Date
    Aug 2005
    Posts
    1,267
    Quote Originally Posted by Overlord
    OK, I got the SDK and installed it. Should I somehow link it together with VC++ 2005? Or it will work automatically? And, which version is better? Prefessional, enterprise, express? What are the differences? And where should I seek for good tutorials?
    If you look on M$ website it will show you the differences. They are all the same compiler, the difference is the extra stuff that is added to the package.

  6. #6
    User
    Join Date
    Jan 2006
    Location
    Canada
    Posts
    498

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, 01: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. Planned Development Community Idea (important)
    By cozman in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 06-12-2002, 01:13 PM

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