Game Development Community

beta 5 compile problems

by Ivan Mandzhukov · in Torque 3D Professional · 08/11/2009 (3:11 am) · 7 replies

A lot of unreachable code,a lot of wrong assignments.
I am using march 2009 dx sdk.
Until now i had no trouble with beta 1-2-3.
Today i tested beta 4 and 5 - for beta 4 it is impossible to compile with over 800 warnings.
beta 5 compiled only once with 39 warnings,but i included an old sdk.

Are you seeing the same results or i am missing something ?

#1
08/11/2009 (6:23 am)
Warnings doesn't mean it doesn't compile
It could just be that they increased the project warning level
#2
08/11/2009 (6:38 am)
Yes ,i understand this.
It does not compile because of errors.
#3
08/11/2009 (9:41 am)
I had a strange problem where the compiler kept reporting that it couldn't find ......full.lib. I cleaned the solution and built it again, nothing. I finally renamed the project Full DLL to FullDLL (removed the space) and it worked. Then I cleaned, put the space back in the project name, and it continued to work... Not sure what the problem was.

Otherwise March 2009 DirectX SDK is working fine for me. Did you make sure to add both Include and Library paths?

What specific errors are you getting?

edit: Interesting, the forums seem to remove any backslashes that are posted.
#4
08/11/2009 (10:16 am)
I'm getting errors too, example:

14>i:Torque 3D 2009 Beta 5_GMKEnginesourcesfx/fmod/sfxFMODVoice.h(19) : fatal error C1083: Cannot open include file: 'fmod.h': No such file or directory
14>sfxFMODBuffer.cpp
14>i:Torque 3D 2009 Beta 5_GMKEnginesourcesfx/fmod/sfxFMODBuffer.h(9) : fatal error C1083: Cannot open include file: 'fmod.h': No such file or directory
14>sfxDSVoice.cpp
14>i:Torque 3D 2009 Beta 5_GMKEnginesourcesfx/fmod/sfxFMODVoice.h(19) : fatal error C1083: Cannot open include file: 'fmod.h': No such file or directory
14>sfxDSProvider.cpp
14>sfxDSDevice.cpp
14>i:Torque 3D 2009 Beta 5_GMKEnginesourcesfx/fmod/sfxFMODVoice.h(19) : fatal error C1083: Cannot open include file: 'fmod.h': No such file or directory


14>..........EnginesourceguicontrolsguiTextEditCtrl.cpp(256) : error C2039: 'clearSelectedText' : is not a member of 'GuiTextEditCtrl'
14>        i:Torque 3D 2009 Beta 5_GMKEnginesourcegui/controls/guiTextEditCtrl.h(19) : see declaration of 'GuiTextEditCtrl'
14>guiTabPageCtrl.cpp
14>..........EnginesourceguicontrolsguiTextEditCtrl.cpp(258) : error C2065: 'mBlockStart' : undeclared identifier
14>..........EnginesourceguicontrolsguiTextEditCtrl.cpp(259) : error C2065: 'mBlockEnd' : undeclared identifier
14>..........EnginesourceguicontrolsguiTextEditCtrl.cpp(260) : error C3861: 'setUpdate': identifier not found
14>..........EnginesourceguicontrolsguiTextEditCtrl.cpp(1431) : error C2039: 'clearSelectedText' : is not a member of 'GuiTextEditCtrl'
14>        i:Torque 3D 2009 Beta 5_GMKEnginesourcegui/controls/guiTextEditCtrl.h(19) : see declaration of 'GuiTextEditCtrl'


14>..........Enginesourcegui3dguiTSControl.cpp(230) : error C2065: 'PFXMGR' : undeclared identifier
14>..........Enginesourcegui3dguiTSControl.cpp(230) : error C2227: left of '->setFrameMatrices' must point to class/struct/union/generic type

Full Build log is HERE

I should add this is after merging GMK 1.2.2.. will try clean build now :)
#5
08/11/2009 (10:35 am)
@Hewster,
I just built beta 5, with GMK 1.2.2 and all the source changes I've made since beta 1,
no errors at all,

@Picasso,
I got a total of 93 warnings for the entire build, this is a build with a ton of changes and additions.

I think you guys are doing something wrong somewhere....
#6
08/11/2009 (10:52 am)
I must have messed up my merge.. a clean build works fine :/
#7
08/11/2009 (12:06 pm)
I re-installed beta5 i now it compiled with no problems.
I did not find what caused the errors....