Installing Torque 3D
by Kenn Sanderson · in Technical Issues · 05/31/2012 (9:59 pm) · 4 replies
I just installed a new fresh version of T3D and the new 1.2 Bugfix Patch for 1.1. I was reading and following along the setup documentation from: http://docs.garagegames.com/torque-3d/official/index.html?content/documentation/Introduction/Introduction.html
When I got the build section, it gave me an error - fatal error C1189: #error : This version of the DirectX SDK is too old. Please install a newer version of the DirectX SDK:
I downloaded the current version they had marked - directX10.
I then rebuilt it with a few more errors -
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiovoice.cpp(133) : error C2039: 'FlushSourceBuffers' : is not a member of 'IXAudio2SourceVoice'
1> c:program files (x86)microsoft directx sdk (august 2007)includexaudio2.h(687) : see declaration of 'IXAudio2SourceVoice'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(47) : error C2039: 'GetVoiceDetails' : is not a member of 'IXAudio2MasteringVoice'
1> c:program files (x86)microsoft directx sdk (august 2007)includexaudio2.h(777) : see declaration of 'IXAudio2MasteringVoice'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(47) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(116) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(116) : error C2228: left of '.InputChannels' must have class/struct/union
1> type is ''unknown-type''
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(151) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(151) : error C2228: left of '.InputChannels' must have class/struct/union
1> type is ''unknown-type''
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudioprovider.cpp(139) : error C2664: 'XAudio2Create' : cannot convert parameter 3 from 'XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER' to 'IXAudio2EngineCallback *'
1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
1>Build log was saved at "file://c:TorqueTorque 3D Pro 1.1My Projectstutorial ProjectbuildFilesLinkVC2k8.Debug.Win32tutorial Project DLLBuildLog.htm"
1>tutorial Project DLL - 18 error(s), 0 warning(s)
2>------ Build started: Project: tutorial Project, Configuration: Debug Win32 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '......gametutorial project_debug.lib'
2>Build log was saved at "file://c:TorqueTorque 3D Pro 1.1My Projectstutorial ProjectbuildFilesLinkVC2k8.Debug.Win32tutorial ProjectBuildLog.htm"
2>tutorial Project - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 14 up-to-date, 0 skipped ==========
Ideas? any help?
When I got the build section, it gave me an error - fatal error C1189: #error : This version of the DirectX SDK is too old. Please install a newer version of the DirectX SDK:
I downloaded the current version they had marked - directX10.
I then rebuilt it with a few more errors -
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiovoice.cpp(133) : error C2039: 'FlushSourceBuffers' : is not a member of 'IXAudio2SourceVoice'
1> c:program files (x86)microsoft directx sdk (august 2007)includexaudio2.h(687) : see declaration of 'IXAudio2SourceVoice'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C2146: syntax error : missing ';' before identifier 'mMasterVoiceDetails'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.h(51) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(47) : error C2039: 'GetVoiceDetails' : is not a member of 'IXAudio2MasteringVoice'
1> c:program files (x86)microsoft directx sdk (august 2007)includexaudio2.h(777) : see declaration of 'IXAudio2MasteringVoice'
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(47) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(116) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(116) : error C2228: left of '.InputChannels' must have class/struct/union
1> type is ''unknown-type''
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(151) : error C2065: 'mMasterVoiceDetails' : undeclared identifier
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudiodevice.cpp(151) : error C2228: left of '.InputChannels' must have class/struct/union
1> type is ''unknown-type''
1>c:torquetorque 3d pro 1.1enginesourcesfxxaudiosfxxaudioprovider.cpp(139) : error C2664: 'XAudio2Create' : cannot convert parameter 3 from 'XAUDIO2_WINDOWS_PROCESSOR_SPECIFIER' to 'IXAudio2EngineCallback *'
1> Conversion from integral type to pointer type requires reinterpret_cast, C-style cast or function-style cast
1>Build log was saved at "file://c:TorqueTorque 3D Pro 1.1My Projectstutorial ProjectbuildFilesLinkVC2k8.Debug.Win32tutorial Project DLLBuildLog.htm"
1>tutorial Project DLL - 18 error(s), 0 warning(s)
2>------ Build started: Project: tutorial Project, Configuration: Debug Win32 ------
2>Linking...
2>LINK : fatal error LNK1104: cannot open file '......gametutorial project_debug.lib'
2>Build log was saved at "file://c:TorqueTorque 3D Pro 1.1My Projectstutorial ProjectbuildFilesLinkVC2k8.Debug.Win32tutorial ProjectBuildLog.htm"
2>tutorial Project - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 2 failed, 14 up-to-date, 0 skipped ==========
Ideas? any help?
About the author
http://www.linkedin.com/in/kennsanderson some games made: https://sites.google.com/site/kennsportfolio/home
#3
Installing that version currently to check it.
Version: 9.29.1974 Date published: 4/18/2011
After the installation window it said:
DirectX has determined that a newer or equivalent version of DirectX has been installed already. No installation is necessary.
I might even have directX 11 from some of the games I play online.
The June 2010 SDK is the current one I have installed.
Version: 9.29.1962 Date published: 6/7/2010
I am able to view and play the mini tutorials from the toolbox, though I was not able to compile the source code it generated with the listed errors.
--------------------------------------------------------------------------------------
This time I hit edit source from the toolbox, instead of opening it directly from MS visual express 2008. It seems to be creating a debug.exe file.
Now we have:
2>NP tutorial Project Plugin - 0 error(s), 0 warning(s)
========== Build: 3 succeeded, 0 failed, 14 up-to-date, 0 skipped ==========
so it looks like its working. Thanks guys.
I am wondering if it always needs to be accessed only through the toolbox in order to properly assign all the needed sections?
06/01/2012 (6:49 pm)
Thanks for the replies.Installing that version currently to check it.
Version: 9.29.1974 Date published: 4/18/2011
After the installation window it said:
DirectX has determined that a newer or equivalent version of DirectX has been installed already. No installation is necessary.
I might even have directX 11 from some of the games I play online.
The June 2010 SDK is the current one I have installed.
Version: 9.29.1962 Date published: 6/7/2010
I am able to view and play the mini tutorials from the toolbox, though I was not able to compile the source code it generated with the listed errors.
--------------------------------------------------------------------------------------
This time I hit edit source from the toolbox, instead of opening it directly from MS visual express 2008. It seems to be creating a debug.exe file.
Now we have:
2>NP tutorial Project Plugin - 0 error(s), 0 warning(s)
========== Build: 3 succeeded, 0 failed, 14 up-to-date, 0 skipped ==========
so it looks like its working. Thanks guys.
I am wondering if it always needs to be accessed only through the toolbox in order to properly assign all the needed sections?
#4
The errors you got previously are almost always caused by one of two things. DX being out of date or not installed, or the environment variables are not setup correctly. Could be your situation was actually the latter and running the installers again corrected them.
06/08/2012 (12:14 pm)
Launching from the toolbox has no impact on whether the solution can be built successfully or not. All it does is open the solution file in Visual Studio via a command line.The errors you got previously are almost always caused by one of two things. DX being out of date or not installed, or the environment variables are not setup correctly. Could be your situation was actually the latter and running the installers again corrected them.
Associate David Montgomery-Blake
David MontgomeryBlake