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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
PS: I already added the -fvtable-whatsis flag to the compiler params.
--Mark
Look if you need i could give you a single template made by me to setup directx 8.1
aliencrash38@hotmail.com