Game Development Community

Compiler Errors

by Fredric Killmer · in Torque Game Engine Advanced · 02/13/2009 (12:47 pm) · 5 replies

Hi,

I need help in making this error go away.

Thanks,
Rad

Error 1 error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails' c:\Torque\TGEA_1_8_1\engine\source\sfx\xaudio\sfxXAudioDevice.h 50

#1
02/13/2009 (6:00 pm)

@Fredric

I had exactly the same error. What I ended having to do was update my DirectX SDK to (November 2008). I took a guess that GG was probably working with the latest SDK and didn't tell anyone. If your not on windows, I don't know what you will need to update instead.

Good Luck

#2
02/13/2009 (6:50 pm)
You should update to the August SDK, as there are some problems with the november SDK:

www.microsoft.com/downloads/details.aspx?FamilyID=ea4894b5-e98d-44f6-842d-e32147...
#3
02/14/2009 (7:15 am)
What sort of problems?
#4
02/14/2009 (7:23 am)
IIRC, there was some sort of issue in the shader generation/compiler that caused interiors to display all wrong on some cards. Its supposed to be fixed in the next rev of the sdk.
#5
02/14/2009 (9:56 am)
Great responses. I updated to the August 2008 SDK and got clean compiles on both C++ 2005 and 2008 Express editions. Thanks.