Game Development Community

Compiling errors in TGEA 1.8.1

by Dean Walther · in Torque Game Engine · 03/14/2009 (5:36 pm) · 1 replies

Not sure if this is a bug (although I believe it is). I only get these errors when compiling TGEA 1.8.1. There is no problem compiling on 1.7.1. Anyone else running into this? I'm using VC++ 2008 express. It does the same for the 1.8.1 version of AFX also. Exactly the same errors.

Error 4 error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails' e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 5 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 6 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 7 error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails' e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 8 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 9 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 10 error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails' e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 11 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 12 error C4430: missing type specifier - int assumed. Note: C++ does not support default-int e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.h 50
Error 13 error C2664: 'XAudio2Create' : cannot convert parameter 3 from 'XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER' to 'IXAudio2EngineCallback *' e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudioprovider.cpp 127
Error 14 error C2039: 'GetVoiceDetails' : is not a member of 'IXAudio2MasteringVoice' e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 50
Error 15 error C2065: 'mMasterVoiceDetails' : undeclared identifier e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 50
Error 16 error C2065: 'mMasterVoiceDetails' : undeclared identifier e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 135
Error 17 error C2228: left of '.InputChannels' must have class/struct/union e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 135
Error 18 error C2065: 'mMasterVoiceDetails' : undeclared identifier e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 187
Error 19 error C2228: left of '.InputChannels' must have class/struct/union e:\torque\tgea_1_8_1\engine\source\sfx\xaudio\sfxxaudiodevice.cpp 187

#1
03/14/2009 (6:53 pm)
oops got posted to the wrong forum. Mod please move. Thanks