Thread: First Graphical Game

  1. #1
    Registered User
    Join Date
    May 2006
    Location
    WV
    Posts
    11

    First Graphical Game

    Hi, I'm starting to get interested in designing graphical games. I am using Visual C++ .Net 2005 Express. The problem I am having is that when I compile my code, I get an error that it can't find objbase.h. I searched for it on my computer, and all I found was in Dev-C++. I included that, and it said it didn't understand include_next. Thanks for any advice.

  2. #2
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    You can't steal a header from one compiler and just use it in a completely different one.

  3. #3
    Registered User
    Join Date
    May 2006
    Location
    WV
    Posts
    11
    I realize that, so, how to I fix the fact that it says I need objbase.h? Is there a different version of DirectX that I need to get or something? How do I get the objbase header?

  4. #4
    Lurking whiteflags's Avatar
    Join Date
    Apr 2006
    Location
    United States
    Posts
    9,612
    You most likely just need to download the DirectX SDK again, preferably from Microsoft, so that you know it works with their compilers. You may find what you're looking for here. http://msdn.microsoft.com/directx/sdk/

  5. #5
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    Actually, objbase.h is part of the psdk. Download and install that first or, if you already have it installed, properly configure msvc-express to use it. Once you've done that, download/reinstall the directx sdk,if necessary, as described by citizen. If you've not already done so, configure msvc-express to use it in a similar fashion as used to configure the ide to use the psdk but ensure the dx directories are first.

    This essential configuration information(includes link to psdk download) can be read here:

    http://msdn.microsoft.com/vstudio/ex...k/default.aspx
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  6. #6
    Registered User
    Join Date
    May 2006
    Location
    WV
    Posts
    11
    Thank you very very much, taht was the information I was looking for.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. how do the game engine and the api interact?
    By Shadow12345 in forum Game Programming
    Replies: 9
    Last Post: 12-08-2010, 12:08 AM
  2. game engine advice?
    By stien in forum Game Programming
    Replies: 0
    Last Post: 01-23-2007, 03:46 PM
  3. 2D RPG Online Game Project. 30% Complete. To be released and marketed.
    By drallstars in forum Projects and Job Recruitment
    Replies: 2
    Last Post: 10-28-2006, 12:48 AM
  4. My Maze Game --- A Few Questions
    By TechWins in forum Game Programming
    Replies: 18
    Last Post: 04-24-2002, 11:00 PM