Menu

Compiling DirectX8 code

2002-11-14
2012-09-26
  • Nobody/Anonymous

    I recently purchased "OpenGL Game Programming".  I've read 90% of it, and am now trying to get it's toy engine "SimpEngine" to compile using Dev-C++.

    This engine uses DirectX8 for several things, including music playback.

    After quite a bit of poking about, cursing, and recompiling, I've overcome a few problems (wrong DirectX version, etc).

    But now I'm stumped:

    Where the &*#%! is "IUnknown" defined?!  I've looked, believe me.  I've grepped through Dev-C++'s include directory repeatedly, to no avail.

    I suppose I COULD just yank out the music system, but I get the feeling there's more to it than that, and that I'll have to remove Other Things as well to get rid of all dependancies to IUnknown (COM in general).

    I am a professional VC++ jockey, but I know Very Little about COM, or DirectX (other than as a gamer).

    Any advice would be greatly appreciated.

    My setup:
    WinXP (personal), Dev-C++ v4.9.6.1, DirectX 8 (the one off the OpenGL book's CD).

    --Mark Storer

     
    • Nobody/Anonymous

      PS:  I already added the -fvtable-whatsis flag to the compiler params.

      --Mark

       
      • Nobody/Anonymous

        Look if you need i could give you a single template made by me to setup directx 8.1
        aliencrash38@hotmail.com

         

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.