Game Development Community

Fatal Error during Build

by Schuyler Fish · in Torque 3D Professional · 06/14/2011 (6:44 pm) · 2 replies

Hi, I just got T3D, and while following the tutorial to compile for the first time, it stops at the Game DLL.

It said you had to get PhysX somewhere, I tried but it said "Fatal Error" too.

Here's the log.
------ Build started: Project: SomethingGame DLL, Configuration: Debug Win32 ------
  gfxD3D9CardProfiler.cpp
  gfxD3D9Cubemap.cpp
  gfxD3D9Device.cpp
  gfxD3D9Device.regen-states.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxD3D9OcclusionQuery.cpp
  gfxD3D9PrimitiveBuffer.cpp
  gfxD3D9QueryFence.cpp
  gfxD3D9Shader.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxD3D9TextureManager.cpp
  gfxD3D9TextureObject.cpp
  gfxD3D9VertexBuffer.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  screenshotD3D9.cpp
  videoCaptureD3D9.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxD3D9Device.pc.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxD3D9PrimitiveBuffer.pc.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxPCD3D9Device.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  gfxPCD3D9Target.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
  sfxXAudioBuffer.cpp
  sfxXAudioDevice.cpp
c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiobuffer.h(9): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
  sfxXAudioProvider.cpp
c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudioprovider.cpp(9): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
  sfxXAudioVoice.cpp
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcegfxd3d9gfxd3d9device.h(14): fatal error C1083: Cannot open include file: 'd3dx9.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiovoice.h(9): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiovoice.h(9): fatal error C1083: Cannot open include file: 'xaudio2.h': No such file or directory
------ Build started: Project: NP SomethingGame Plugin, Configuration: Debug Win32 ------
LINK : fatal error LNK1104: cannot open file 'C:TorqueTorque 3D Pro 1.1My ProjectsSomethingGamegameSomethingGame_DEBUG.lib'
------ Build started: Project: SomethingGame, Configuration: Debug Win32 ------
LINK : fatal error LNK1104: cannot open file 'C:TorqueTorque 3D Pro 1.1My ProjectsSomethingGamegameSomethingGame_DEBUG.lib'
========== Build: 0 succeeded, 3 failed, 14 up-to-date, 0 skipped ==========

#1
06/14/2011 (7:39 pm)
You shouldn't need PhysX unless you set up to use it in your project, but it looks like you need the DirectX SDK - both of those missing headers are DirectX related.

[edit]

Glok, for future reference, your posts about things like building a project should go in the "T3D Private" forum instead, so that people who didn't pay the $100 for a license can't learn how to compile their pirated versions.
#2
06/15/2011 (9:53 am)
Moved to T3D Private.

Make sure you've installed DirextX SDK June 2010. See the Setup tutorial in the Tutorials section for more details.