Compile error 1.1.3
by Jacob Wagner · in Torque Game Builder · 10/05/2007 (8:32 pm) · 1 replies
First of all: is 1.1.3 the version I should be using? I read that the latest version needs to be patched up a bit, so I downloaded this as it was the only other choice. I'm compiling my own binary because I want to use the lua scripting resource.
Secondly: I'm having a compile error in visual studio 2005. I've gotten the windows sdk installed and include and lib directories set, and am trying to build the t2d sdk project. I've tried debug and release builds and get the same error.
The error is:
winOGLVideo.cc
..\..\source\platformWin32\winOGLVideo.cc(839) : error C2065: 'AW_BLEND' : undeclared identifier
..\..\source\platformWin32\winOGLVideo.cc(839) : error C3861: 'AnimateWindow': identifier not found
cardProfile.cpp
..\..\source\platformWin32\cardProfile.cpp(14) : error C3861: 'EnumDisplayDevices': identifier not found
..\..\source\platformWin32\cardProfile.cpp(14) : fatal error C1903: unable to recover from previous error(s); stopping compilation
By searching I found the 'enumdisplaydevices' text only exists in two files: which are:
cardprofile.cpp and multimon.h
and this last one probably doesnt matter, but just in case someone knows what up with this i have a final error:
c:\tgb1.1.3\engine\Source\lua/lua_export.h(203) : error C2065: 'panicf' : undeclared identifier
If there's a tutorial for compiling this version of tgb, I didn't find it.
Secondly: I'm having a compile error in visual studio 2005. I've gotten the windows sdk installed and include and lib directories set, and am trying to build the t2d sdk project. I've tried debug and release builds and get the same error.
The error is:
winOGLVideo.cc
..\..\source\platformWin32\winOGLVideo.cc(839) : error C2065: 'AW_BLEND' : undeclared identifier
..\..\source\platformWin32\winOGLVideo.cc(839) : error C3861: 'AnimateWindow': identifier not found
cardProfile.cpp
..\..\source\platformWin32\cardProfile.cpp(14) : error C3861: 'EnumDisplayDevices': identifier not found
..\..\source\platformWin32\cardProfile.cpp(14) : fatal error C1903: unable to recover from previous error(s); stopping compilation
By searching I found the 'enumdisplaydevices' text only exists in two files: which are:
cardprofile.cpp and multimon.h
and this last one probably doesnt matter, but just in case someone knows what up with this i have a final error:
c:\tgb1.1.3\engine\Source\lua/lua_export.h(203) : error C2065: 'panicf' : undeclared identifier
If there's a tutorial for compiling this version of tgb, I didn't find it.
Torque Owner Jacob Wagner
Now if only I can get the lua resource to work...:)