Game Development Community

TSE compile errors

by Dave Mckay · in Torque Game Engine Advanced · 06/05/2005 (6:05 am) · 21 replies

Not sure how to fix this. I know it is probably a simple fix but I am having brain fartness today and can't think. Anyone help?

Using VC6

d:\projects\tse\engine\gfx\D3D\gfxD3DDevice.cpp(1381) : error C3861: 'D3DPERF_BeginEvent': identifier not found, even with argument-dependent lookup

The code:

D3DPERF_BeginEvent(D3DCOLOR_ARGB(color.alpha, color.red, color.green, color.blue),
(LPCWSTR)&eventName);

d:\projects\tse\engine\gfx\D3D\gfxD3DDevice.cpp(1388) : error C3861: 'D3DPERF_EndEvent': identifier not found, even with argument-dependent lookup

The code:
D3DPERF_EndEvent();

d:\projects\tse\engine\gfx\D3D\gfxD3DDevice.cpp(1399) : error C3861: 'D3DPERF_SetMarker': identifier not found, even with argument-dependent lookup

The code:
D3DPERF_SetMarker(D3DCOLOR_ARGB(color.alpha, color.red, color.green, color.blue),
(LPCWSTR)&eventName);


d:\projects\tse\engine\atlas\atlasTQTFileD3D.cpp(71) : error C3861: 'D3DXSaveTextureToFileInMemory': identifier not found, even with argument-dependent lookup

The code:
D3DAssert(D3DXSaveTextureToFileInMemory(&d3dxBuff, D3DXIFF_DDS, tmpTex, NULL), "Weeba!");

d:\projects\tse\engine\atlas\atlasTQTFileD3D.cpp(187) : error C3861: 'D3DXSaveTextureToFileInMemory': identifier not found, even with argument-dependent lookup

The code:
D3DAssert(D3DXSaveTextureToFileInMemory(&d3dxBuff, D3DXIFF_DDS, tmpTex, NULL), "Weeba!");

TSE_DEBUG.exe - 5 error(s), 0 warning(s)
Page«First 1 2 Next»
#21
06/16/2006 (1:06 pm)
Thanks Dave, I eventually got it working by moving the Microsoft Platform SDK references up in the order right underneath the DirectX ones.
Page«First 1 2 Next»