Game Development Community

Compile problem

by Marijn · in Torque Game Engine · 07/27/2008 (8:55 am) · 2 replies

When I compile a clean install of TGEA 1.7.1 I get an error:

9>..\..\..\..\..\engine\source\gfx\D3D9\gfxD3D9Effect.cpp(69) : error C2065: 'D3DXSHADER_OPTIMIZATION_LEVEL3' : undeclared identifier

I compile in VC2005 and followed this tutorial: http://tdn.garagegames.com/wiki/TGEA/InstallVS2005/StepOne - Four

I hope someone can help me
Thanks

#1
07/27/2008 (9:24 am)
Your DirectX SDK is outdated. Download and install the latest release from Microsoft and recompile.
#2
07/27/2008 (10:01 am)
Thanks for the quick reaction, downloading now