RW CVS Test - Win32
by Alex \"bathala\" Rufon · in General Discussion · 05/24/2003 (8:15 am) · 11 replies
Hello.
This post is in response to James Margaris testing request from the RW CVS changes complete, need testing link.
Basically, I downloaded the latest RealWars CVS and tested it on this machine:
Windows XP SP1
Visual Studio .NET
Intel Pentium 4 1.4 Ghz
640MB RDRAM
Jetway GEForce4 MX420 64MB SDRAM
NVidia Detonator 4345
Please note that I also use this machine to develop my own game ... hence the CVS HEAD of Torque SDK works here. So here goes ...
9:48 PM 5/24/2003
Copied RealmWars Source to work directory.
11:06 PM 5/24/2003
Converted VC6 solution to VC7
11:08 PM 5/24/2003
Built the solution and encountered the following errors:
(NOTE: I ignored warnings and duplicating errors)
11:22 PM 5/24/2003
Applied the following fixes.
For error 1:
Updated the VC7 Project Directories (both for the Include and Library) to point to lib/oggvorbis
For error 3:
Created and empty ctl3d.h file.
11:30 PM 5/24/2003
Rebuilt the solution and encountered the following errors:
------ Build started: Project: Torque Lib, Configuration: Debug Win32 ------
At this point, I have stopped testing since the errors now requires modification of the source code.
Please advice.
Alex
edit: removed some useless codes.
This post is in response to James Margaris testing request from the RW CVS changes complete, need testing link.
Basically, I downloaded the latest RealWars CVS and tested it on this machine:
Windows XP SP1
Visual Studio .NET
Intel Pentium 4 1.4 Ghz
640MB RDRAM
Jetway GEForce4 MX420 64MB SDRAM
NVidia Detonator 4345
Please note that I also use this machine to develop my own game ... hence the CVS HEAD of Torque SDK works here. So here goes ...
9:48 PM 5/24/2003
Copied RealmWars Source to work directory.
11:06 PM 5/24/2003
Converted VC6 solution to VC7
11:08 PM 5/24/2003
Built the solution and encountered the following errors:
(NOTE: I ignored warnings and duplicating errors)
1: d:\projects\realmwars\engine\audio\vorbisStream.h(25) : fatal error C1083: Cannot open include file: 'vorbis/codec.h': No such file or directory 2: d:\projects\realmwars\engine\game\net\netDispatch.cc(233) : error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters 3: d:\projects\realmwars\lib\maxsdk40\max.h(23) : fatal error C1083: Cannot open include file: 'ctl3d.h': No such file or directory 4: d:\projects\realmwars\tools\ms2dtsExporter\dtsSDK\DTSMesh.cpp(253) : error C2660: 'std::vector<class DTS::Point3D,class std::allocator<class DTS::Point3D> >::assign' : function does not take 1 parameters
11:22 PM 5/24/2003
Applied the following fixes.
For error 1:
Updated the VC7 Project Directories (both for the Include and Library) to point to lib/oggvorbis
For error 3:
Created and empty ctl3d.h file.
11:30 PM 5/24/2003
Rebuilt the solution and encountered the following errors:
------ Build started: Project: Torque Lib, Configuration: Debug Win32 ------
d:\projects\realmwars\engine\game\net\netDispatch.cc(233) : error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(233) : error C2514: 'U32' : class has no constructors
d:\projects\realmwars\engine\platform\types.h(22) : see declaration of 'U32'
d:\projects\realmwars\engine\game\net\netDispatch.cc(276) : error C2660: 'AbstractClassRep::getClassCRC' : function does not take 0 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(516) : error C2039: 'getSequences' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(578) : error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(585) : error C2039: 'setSequences' : is not a member of 'GameConnection'
d:\projects\realmwars\engine\game\gameConnection.h(45) : see declaration of 'GameConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(605) : error C2039: 'getSequences' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(640) : error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(642) : error C2039: 'setServerConnection' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(642) : error C2065: 'setServerConnection' : undeclared identifier
d:\projects\realmwars\engine\game\net\netDispatch.cc(645) : error C2039: 'setSequences' : is not a member of 'GameConnection'
d:\projects\realmwars\engine\game\gameConnection.h(45) : see declaration of 'GameConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(707) : error C2039: 'getSequences' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(991) : error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(992) : error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(999) : error C2039: 'setServerConnection' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(1002) : error C2039: 'setRemoteConnectionObjectId' : is not a member of 'GameConnection'
d:\projects\realmwars\engine\game\gameConnection.h(45) : see declaration of 'GameConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(1003) : error C2039: 'setRemoteConnectionObjectId' : is not a member of 'GameConnection'
d:\projects\realmwars\engine\game\gameConnection.h(45) : see declaration of 'GameConnection'
d:\projects\realmwars\engine\game\net\netDispatch.cc(1037) : error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
d:\projects\realmwars\engine\game\net\netDispatch.cc(1039) : error C2039: 'setServerConnection' : is not a member of 'NetConnection'
d:\projects\realmwars\engine\sim\netConnection.h(122) : see declaration of 'NetConnection'At this point, I have stopped testing since the errors now requires modification of the source code.
Please advice.
Alex
edit: removed some useless codes.
About the author
I am an independent game developer who's never going to make it in the industry because I'm color blind and has absolutely no imagination.
#2
Yes, your right, the Torque Demo project was created successfully. I'll play around with the system in the next few days (actually nights ... before I muck around with TinkTanks) and will post the results ASAP.
:D
Alex
05/26/2003 (1:56 am)
Hello James,Yes, your right, the Torque Demo project was created successfully. I'll play around with the system in the next few days (actually nights ... before I muck around with TinkTanks) and will post the results ASAP.
:D
Alex
#3
My Machine:
OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 1 Build 2600
Processor x86 Family 6 Model 8 Stepping 1 AuthenticAMD ~2153 Mhz
Total Physical Memory 1,536.00 MB
Available Physical Memory 1.09 GB
Total Virtual Memory 4.85 GB
Available Virtual Memory 4.20 GB
Page File Space 3.36 GB
Video:
Hightech Excalibur Radeon 9000 Pro; 64Mb version
Visual C++ info:
Microsoft Development environment 2003: Version 7.1.3088
Microsoft .NET framework 1.1: Version 1.1.4322
Any advice?
09/09/2003 (2:47 pm)
Got these 4 compile errors from the "Torque Demo" project using Visual C++.NET (2003 version) There is no VC7 project so I am having to convert the VC6 one...My Machine:
OS Name Microsoft Windows XP Professional
Version 5.1.2600 Service Pack 1 Build 2600
Processor x86 Family 6 Model 8 Stepping 1 AuthenticAMD ~2153 Mhz
Total Physical Memory 1,536.00 MB
Available Physical Memory 1.09 GB
Total Virtual Memory 4.85 GB
Available Virtual Memory 4.20 GB
Page File Space 3.36 GB
Video:
Hightech Excalibur Radeon 9000 Pro; 64Mb version
Visual C++ info:
Microsoft Development environment 2003: Version 7.1.3088
Microsoft .NET framework 1.1: Version 1.1.4322
c:\RWDev\Work\realmwars\engine\game\net\netTest.cc(74) : error C2248: 'NetObject::Parent' : cannot access private typedef declared in class 'NetObject'
c:\RWDev\Work\realmwars\engine\sim\netObject.h(54) : see declaration of
'NetObject::Parent'
c:\RWDev\Work\realmwars\engine\sim\netObject.h(43) : see declaration of 'NetObject'
c:\RWDev\Work\realmwars\engine\game\main.cc(71) : error C2248: 'SimObject::Parent' : cannot access private typedef declared in class 'SimObject'
c:\RWDev\Work\realmwars\engine\console\simBase.h(139) : see declaration of
'SimObject::parent'
c:\RWDev\Work\realmwars\engine\console\simBase.h(137) : see declaration of
'SimObject'
c:\RWDev\Work\realmwars\engine\game\guiNoMouseCtrl.cc(19) : error C2248: 'GuiControl::Parent' : cannot access private typedef declared in class 'GuiControl'
c:\RWDev\Work\realmwars\engine\gui\guiControl.h(39) : see declaration of
'GuiControl::Parent'
c:\RWDev\Work\realmwars\engine\gui\guiControl.h(35) : see declaration of 'GuiControl'
c:\RWDev\Work\realmwars\engine\game\banList.cc(13) : error C2248: 'SimObject::Parent' : cannot access private typedef declared in class 'SimObject'
c:\RWDev\Work\realmwars\engine\console\simBase.h(139) : see declaration of
'SimObject::Parent'
c:\RWDev\Work\realmwars\engine\console\simBase.h(137) : see declaration of 'SimObject'Any advice?
#4
09/09/2003 (6:10 pm)
Make the typedefs public...?
#5
Though I really hope changing the engine source is not the answer; for testing purposes, I made the offending functions public (*cringe*) which took care of those compile errors (if it didnt I would have been shocked, but I am worried about the repercussions of making any class members "public" that dont need to be).
Got a new one
The only problem now facing me is in the "gllist.h" file (compiler hiccup below)
The offending code segment is here:
I see nothing wrong with it... anyone have a clue?
Is it possible we have outdated code in here?
(again, no working knowledge on openGL implementations here; just a hunch)
ty again...
09/10/2003 (4:11 pm)
Ty for the reply Ben...Though I really hope changing the engine source is not the answer; for testing purposes, I made the offending functions public (*cringe*) which took care of those compile errors (if it didnt I would have been shocked, but I am worried about the repercussions of making any class members "public" that dont need to be).
Got a new one
glu2d3d.cc c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(12) : fatal error C1083: Cannot open include file: 'iostream.h': No such file or directoryI know that 'iostream.h' is only supposed to be used when you REALLY want to use the old C header...(in some implementations of the STL this is completely obsolete and replaced with the new 'iostream' template) on a hunch I changed it (seeing the newer usage elsewhere in the code)
The only problem now facing me is in the "gllist.h" file (compiler hiccup below)
------ Build started: Project: opengl2d3d, Configuration: Debug Win32 ------ Compiling... opengl2d3d.cc c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2143: syntax error : missing ';' before '&' c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2501: 'ostream' : missing storage-class or type specifiers c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2501: 'operator'<<'' : missing storage-class or type specifiers c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2143: syntax error : missing ';' before '<end Parse>' c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : fatal error C1903: unable to recover from previous error(s); stopping compilation Build log was saved at "file://c:\RWDev\Work\realmwars\lib\out.VC6.DEBUG\opengl2d3d\BuildLog.htm" opengl2d3d - 5 error(s), 0 warning(s) ------ Build started: Project: glu2d3d, Configuration: Debug Win32 ------ Compiling... glu2d3d.cc c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2143: syntax error : missing ';' before '&' c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2501: 'ostream' : missing storage-class or type specifiers c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2501: 'operator'<<'' : missing storage-class or type specifiers c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : error C2143: syntax error : missing ';' before '<end Parse>' c:\RWDev\Work\realmwars\lib\opengl2d3d\gllist.h(89) : fatal error C1903: unable to recover from previous error(s); stopping compilation
The offending code segment is here:
template<class Type> ostream& operator<<(ostream& o, const GLList<Type>& list);A simple foreward declaration(implementation is later in the file)
I see nothing wrong with it... anyone have a clue?
Is it possible we have outdated code in here?
(again, no working knowledge on openGL implementations here; just a hunch)
ty again...
#6
09/10/2003 (6:12 pm)
Don't worry about that stuff, it's the translation layer from OpenGL to Direct3d. Just run under OpenGL mode and you'll be fine. This can be fixed but RW hasn't messed with it and it's probably better to get the game up and test rather than make sure every little part compiles.
#7
When I open the "Torqe Demo" project by itself it builds just fine after making the above mentioned typedefs public (still not happy about that; but, ill live until I can get a better solution).
When I try to select the "Torque Demo" subproject for a single build from the "Torque SDK" main project, it seems to want to build the other stuff too (Hrm... Gotta fix that).
So I am built to the current standard and can start my little project. Thanks for the help.
I read elsewhere that we are trying to clean up the code, and I will contribute whatever I can figure about the above problems (the code hath threatened me ROWERRRRRR!)
09/10/2003 (6:59 pm)
Ooookay, here is what happenedWhen I open the "Torqe Demo" project by itself it builds just fine after making the above mentioned typedefs public (still not happy about that; but, ill live until I can get a better solution).
When I try to select the "Torque Demo" subproject for a single build from the "Torque SDK" main project, it seems to want to build the other stuff too (Hrm... Gotta fix that).
So I am built to the current standard and can start my little project. Thanks for the help.
I read elsewhere that we are trying to clean up the code, and I will contribute whatever I can figure about the above problems (the code hath threatened me ROWERRRRRR!)
#8
06/21/2004 (3:15 am)
Is this project still alive even? I tried compiling HEAD today, and have recieved the same results as at the beginning of this thread. That is well over a year ago.
#9
If it still doesn't compile, I'd post what errors you're receiving.
06/21/2004 (5:19 am)
I got a HEAD update just two days ago and it compiles fine. As pointed out in one of the posts above, try only building the Torque Demo project, not the other projects that come in the solution/workspace (such as opengl2d3d, map2dif, etc.).If it still doesn't compile, I'd post what errors you're receiving.
#10
dont know about the other errors (i need to try rw on xp)
06/21/2004 (5:29 am)
There is a fix for the vorbis here www.garagegames.com/mg/forums/result.thread.php?qt=8204dont know about the other errors (i need to try rw on xp)
#11
In regards to how fast work on the project gets done, this is highly dependant upon how much time contributors can volunteer towards the project each month. Everyone who is involved at this time is taking a little bit out of their personal lives and their own game projects to contribute what they can. If you feel that you are compitent enough with your skills as a programmer, artist, scripter, etc. and are confident with Torque then I invite you, or anyone else reading this thread, to contribute as its a great way to get into game development as well as help Realm Wars move forward at a faster pace that people want to see.
Logan
06/21/2004 (7:01 am)
@Creative, yes Realm Wars is still being worked on, in fact if you had paid any attention when you did your CVS checkout you would have noticed a fair number of changes from some of the work that has already been done. In regards to how fast work on the project gets done, this is highly dependant upon how much time contributors can volunteer towards the project each month. Everyone who is involved at this time is taking a little bit out of their personal lives and their own game projects to contribute what they can. If you feel that you are compitent enough with your skills as a programmer, artist, scripter, etc. and are confident with Torque then I invite you, or anyone else reading this thread, to contribute as its a great way to get into game development as well as help Realm Wars move forward at a faster pace that people want to see.
Logan
Torque Owner James Margaris
Let me know if you can get that compiling and don't worry bout the others.