build errors
by Caolan ODomhnaill · in Arcane FX (Public) · 04/22/2010 (3:30 pm) · 3 replies
Hello,
I have VS.NET 2008 and am compiling on Windows 7. TGEA is 1.8.2.
I am installing AFX113 for TGEA 1.8.1 over the top of my Torque installation.
I create a new project with the new project creator in the root of my TGEA installation directory and I consistently get these failures when I compile. I do not receive these errors with a TGEA stock install, with the same compiler and linker options in both TGEA and TGEA+AFX
Any ideas?
Thanks.
12>sfxFMODDevice.cpp
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(36) : error C2259: 'SFXFMODProvider' : cannot instantiate abstract class
12> due to following members:
12> 'SFXDevice *SFXProvider::createDevice(const char *,bool,S32)' : is abstract
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/sfxProvider.h(73) : see declaration of 'SFXProvider::createDevice'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(8) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_GetPaused'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(9) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetPaused'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(10) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_IsPlaying'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(11) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DAttributes'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(12) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetFrequency'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(13) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetLoopCount'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(14) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetPosition'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(15) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetVolume'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(16) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_GetVolume'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(17) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Stop'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(18) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(19) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DMinMaxDistance'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(20) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DConeSettings'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(21) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DConeOrientation'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(23) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Lock'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(24) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Release'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(25) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Set3DMinMaxDistance'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(26) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_SetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(27) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_GetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(28) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_SetLoopCount'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(29) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Unlock'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(31) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Close'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(32) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Create'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(33) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_CreateSound'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(34) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetDriver'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(35) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetDriverCaps'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(36) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetDriverInfo'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(37) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetNumDrivers'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(38) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetVersion'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(39) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Init'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(40) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_PlaySound'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(41) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Set3DListenerAttributes'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(42) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Set3DSettings'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(43) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetDSPBufferSize'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(44) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetSpeakerMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(45) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Update'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(46) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Memory_GetStats'
12>sfxFMODBuffer.cpp
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(141) : error C2440: '=' : cannot convert from 'String' to 'char [256]'
12> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(148) : error C2440: '=' : cannot convert from 'String' to 'char [256]'
12> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(176) : error C2039: 'FMOD_System_Release' : is not a member of 'FModFNTable'
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/sfxFMODDevice.h(47) : see declaration of 'FModFNTable'
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(184) : error C3861: '_findDeviceInfo': identifier not found
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(190) : error C2039: '_init' : is not a member of 'SFXFMODDevice'
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/sfxFMODDevice.h(61) : see declaration of 'SFXFMODDevice'
I have VS.NET 2008 and am compiling on Windows 7. TGEA is 1.8.2.
I am installing AFX113 for TGEA 1.8.1 over the top of my Torque installation.
I create a new project with the new project creator in the root of my TGEA installation directory and I consistently get these failures when I compile. I do not receive these errors with a TGEA stock install, with the same compiler and linker options in both TGEA and TGEA+AFX
Any ideas?
Thanks.
12>sfxFMODDevice.cpp
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(36) : error C2259: 'SFXFMODProvider' : cannot instantiate abstract class
12> due to following members:
12> 'SFXDevice *SFXProvider::createDevice(const char *,bool,S32)' : is abstract
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/sfxProvider.h(73) : see declaration of 'SFXProvider::createDevice'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(8) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_GetPaused'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(9) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetPaused'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(10) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_IsPlaying'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(11) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DAttributes'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(12) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetFrequency'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(13) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetLoopCount'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(14) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetPosition'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(15) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetVolume'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(16) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_GetVolume'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(17) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Stop'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(18) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_SetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(19) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DMinMaxDistance'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(20) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DConeSettings'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(21) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Channel_Set3DConeOrientation'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(23) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Lock'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(24) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Release'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(25) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Set3DMinMaxDistance'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(26) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_SetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(27) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_GetMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(28) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_SetLoopCount'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(29) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Sound_Unlock'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(31) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Close'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(32) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Create'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(33) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_CreateSound'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(34) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetDriver'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(35) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetDriverCaps'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(36) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetDriverInfo'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(37) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetNumDrivers'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(38) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_GetVersion'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(39) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Init'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(40) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_PlaySound'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(41) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Set3DListenerAttributes'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(42) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Set3DSettings'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(43) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetDSPBufferSize'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(44) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_SetSpeakerMode'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(45) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_System_Update'
12>c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/fmodFunctions.h(46) : error C2228: left of '.fn' must have class/struct/union
12> type is 'FMODFNPTRFMOD_Memory_GetStats'
12>sfxFMODBuffer.cpp
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(141) : error C2440: '=' : cannot convert from 'String' to 'char [256]'
12> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(148) : error C2440: '=' : cannot convert from 'String' to 'char [256]'
12> No user-defined-conversion operator available that can perform this conversion, or the operator cannot be called
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(176) : error C2039: 'FMOD_System_Release' : is not a member of 'FModFNTable'
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/sfxFMODDevice.h(47) : see declaration of 'FModFNTable'
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(184) : error C3861: '_findDeviceInfo': identifier not found
12>..\..\..\..\..\engine\source\sfx\fmod\sfxFMODProvider.cpp(190) : error C2039: '_init' : is not a member of 'SFXFMODDevice'
12> c:\TorqueSolo\TGEA_1_8_2\engine\source\sfx/fmod/sfxFMODDevice.h(61) : see declaration of 'SFXFMODDevice'
#2
04/23/2010 (1:15 pm)
Okay thanks I'll try it on 1.8.1 and see how it works. Is the 2.0 of AFX fully compatible with the 3D Isometric kit as well? I am supposed to copy that over the top of AFX.
#3
While we are on a merge topic, you may well find that merging the 1.8.2 changes into your 1.8.1 project is again the easiest option.
04/23/2010 (3:37 pm)
you shouldnt copy anything over anything AFX is a fully modified version of TGEA and is supplied as such. You should merge one into the other, in this case the merge would probably be easier if you merge the iso kit into AFX, i'm not an iso kit user so i'm not sure what it provides in the way of integration.While we are on a merge topic, you may well find that merging the 1.8.2 changes into your 1.8.1 project is again the easiest option.
Associate Jeff Faust
Faust Logic, Inc.
Supported TGEA options include:
- continue to use AFX 1.1.3 with a TGEA 1.8.1 base.
- upgrade to AFX 2.0 which does support TGEA 1.8.2 and adds a lot of content and functionality.