Game Development Community

DirectX SDK for Windows 7 with TGEA 1.8.1

by Nicolai Dutka · in Technical Issues · 08/28/2009 (5:30 pm) · 7 replies

I have Windows 7 RC1 and TGEA 1.8.1. I downloaded the DirectX SDK for Windows 7, installed, and configured VS2008 to use it. My files compile perfectly.

When I try to run the game, I get an error:

"Failed to initialize Direct3D! Make sure you have DirectX 9 installed, and are running a graphics card that supports Pixel Shader 1.1"


I've been running this project for over 6 months with no problems until now. I also tried using the previous 'exe' file for the game and get the same error. I ran DXDiag and found my DirectX version says 11. I wasn't aware of a version 11 coming out...

I tried installing the March 2009 redist of DirectX 9.0c with no results...

The only thing I can think of is to use a DirectX SDK for Vista instead of 7... Any thoughts?

#1
08/28/2009 (5:50 pm)
I uninstalled the DirectX SDK and now the game comes on, but of course now I cannot compile the engine... I can't seem to find the page where I originally got the DirectX SDK, so I don't know if I am getting one for 7, Vista, XP, etc...
#2
08/28/2009 (7:00 pm)
Just tried the DirectX SDK from August 2008, run my game, same error...

Remove the SDK, game runs fine...

I only have 1 PC to work with here... It would be a huge pain in the ass to install the SDK every time I need to make an engine change, then uninstall it to test my changes (only to find out they didn't work, rinse/repeat....)
#3
08/28/2009 (10:00 pm)
I tried:
November 2008 - Same problem
August 2008 - Same problem
August 2007 - Same problem
November 2005 - Game runs, VS2008 won't compile (missing x3daudio.dll)
#4
08/28/2009 (10:03 pm)
FYI:
NONE of my 3d games are running (all with the same error) when I have any of those DirectX SDKs installed...

Clearly this is not a Torque issue... Where should I go for help?
#5
08/29/2009 (12:42 am)
@Nicolai: I have the March 2009 SDK installed under windows 7 (RTM), and everything works without issue. I don't really have any help for you, but I didn't see any of these problems, maybe it's something specific to your machine, or maybe something that was fixed in the release version of Win 7?
#6
08/29/2009 (1:18 am)
Have you tried installing DirectX 9 *runtime* after installing the SDK? I know it makes no sense, but nothing ever does with computers ;)

As far as I've figured out, the Win7 RC should get the same types of updates. Only its activation bits are different.
#7
08/29/2009 (2:06 pm)
I am not 100% sure which build of Win 7 I have... I went to:
Control Panel->System

And all it says is 'Windows 7 Ultimate', nothing else...


I did try installing the DirectX 9.0c runtime about 5 times after the SDK was already installed...

I don't understand this at all... 5 years of development and this is the first I've ever seen anything like this at all...