Game Development Community

Compiling errors

by Chris Harpan · in Torque Game Engine Advanced · 09/13/2007 (4:51 am) · 3 replies

Ok, I just did a reformat/upgrade of my computer and I've redownloaded TGE and TGEA, but I can't get TGEA to compile.

The errors I'm getting are these:

c:\torqueadvanced\tgea_1_0_3\engine\atlas\resource\atlastexchunkd3d.cpp(6) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory

c:\torqueadvanced\tgea_1_0_3\engine\atlas\runtime\atlasclipmapblendercache.cpp(5) : fatal error C1083: Cannot open include file: 'd3d9.h': No such file or directory

and other atlas related errors with it not finding d3d9.h

I'm also getting these errors:

c:\torqueadvanced\tgea_1_0_3\engine\platformwin32\windinputdevice.h(20) : fatal error C1083: Cannot open include file: 'dinput.h': No such file or directory

c:\torqueadvanced\tgea_1_0_3\engine\platformwin32\windinputdevice.h(20) : fatal error C1083: Cannot open include file: 'dinput.h': No such file or directory

I'm using VS2005 Pro and I have downloaded the latest DirectX SDK, but I know I'm forgetting something due to everything I had to reinstall after my upgrade/reformat.


Edit: I guess it's too early for me to be thinking, I can get TGE to compile correctly, so I have no problems there.

Thanks in advance for any help!

#1
09/13/2007 (7:27 am)
You forgot to install DX SDK April 07 and set the paths in your visual studio options correctly.
#2
09/13/2007 (7:29 am)
Getting Started with TSE. Note that the checklist is outdated in that it refers to the October 2006 SDK, but is otherwise accurate. You can use the latest SDK from Microsoft.
#3
09/13/2007 (3:23 pm)
I had already installed the latest DirectX SDK, I forgot about the Platform SDK. Thanks Stephen Zepp.