Game Development Community

HEAD does not compile?

by Markus Nuebel · in General Discussion · 12/29/2003 (6:52 am) · 11 replies

After having checked out realmwars CVS HEAD,

the engine does not compile with the following errors:
Quote:
\net\netDispatch.cc(650): error C2039: 'setSequences' : is not a member of 'GameConnection'
\net\netDispatch.cc(716): error C2039: 'getSequences' : is not a member of 'NetConnection'
\net\netDispatch.cc(1011): error C2039: 'setRemoteConnectionObjectId' : is not a member of 'GameConnection'
\net\netDispatch.cc(1012): error C2039: 'setRemoteConnectionObjectId' : is not a member of 'GameConnection'
\net\netDispatch.cc(588): error C2039: 'setSequences' : is not a member of 'GameConnection'
\net\netDispatch.cc(647): error C2039: 'setServerConnection' : is not a member of 'NetConnection'
\net\netDispatch.cc(1008): error C2039: 'setServerConnection' : is not a member of 'NetConnection'
\net\netDispatch.cc(1048): error C2039: 'setServerConnection' : is not a member of 'NetConnection'
\net\netDispatch.cc(647): error C2065: 'setServerConnection' : undeclared identifier
\net\netDispatch.cc(581): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
\net\netDispatch.cc(645): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
\net\netDispatch.cc(1000): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
\net\netDispatch.cc(1001): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters
\net\netDispatch.cc(1046): error C2660: 'GameConnection::GameConnection' : function does not take 3 parameters

Can someone help here?

Best regards
-- Markus

#1
01/08/2004 (8:11 pm)
What I did was just swapped the guts from the WWDC version out with the CVS Head and it compiled fine for me. I don't have any separate compilers that I know of so that was my quick fix.

- Tim
#2
03/16/2004 (4:15 pm)
What's the WWDC version?

I'm having problems with linking. There seems to be a conflict between fxLightDB.obj and fxLight.obj and then I have unresolved external symbols for worldEditor.obj, motion.obj, and interiorInstance.obj. I'm using Visual C++ .NET (not 2003; can't open most VC7 projects, so I go with just converting VC6 projects). Can anyone help me to figure out what I should be linking or unlinking in this case?

I have no problem with Torque SDK head, just the Realm Wars head.
#3
03/17/2004 (2:55 am)
FxLightDB is no longer needed.

The stuff is all merged into fxLight.

Try to remove fxLightDB from your VC project.

-- Markus
#4
03/17/2004 (10:32 pm)
Ok, I fixed the FxLight problem. But I still have a CameraSpline. CatmullRomPatch, and PathedInterior that are causing unresolved linking problems. What do I need to look for here?

Edit: I found them. For some reason they weren't added to the project.
#5
03/19/2004 (3:01 am)
Yes, Chris, you are right.

I added these files to RW during the merge with Torque_1_2_1.

Since I do not use VC6 I wasn't able to update the VC6 workspace.

If everything compiles for you, could you be so kind and send me your workspace files.
(All .dsp and the .dsw file).

I could update the RW CVS with these workspace files.

You can use the address from my profile. (please use a zip file, since I am on 56K ;) )

-- Markus
#6
03/19/2004 (5:50 am)
Also with Torque Lib and map2dif, you need to add ../lib/oggvorbis/include to the include list. But, I Still can't get Torque Lib and some exporters to compile. Same problem as your netDispatch above. What did you do to fix it? That's why I was asking what the WWDC version is.
#7
03/21/2004 (11:12 pm)
Hi Chris.

Torque Lib and the tools are not supposed to compile with the RW workspace.

The .dsp files for these projects are not maintained for some time now.
If you are interested to get them working, compare them with the .dsp files you get from your current torque HEAD.
Tools and lib are basically just a copy of what is in torque HEAD.

And to mention it: The copy is a bit outdated. The recent updates and merge with torque 1_2_1 has only been done to the engine stuff.

As far as I know WWDC is the latest released version of RW. The one you can download at www.realmwarsgame.com

Have you got the RealmWars(TorqueDemo.dsp) to compile?
If yes, I am still interested to get your project files for upload to the cvs.

-- Markus
#8
03/22/2004 (12:41 am)
OK, I was having some problems, but think I have most of it fixed. I'll try to send you the project files to you tomorrow. I have an old student version of VC6 but have been using a real version of VC++ 2002 not 2003. So even though it does save as VC7, I can't use VC7 made from 2003. Confusing, but I'll try to make changes using the student version to get you VC6 project files.

Edit: Or, if someone still has VC6, I can list all the steps needed for the update and they can generate them. If so, let me know soon or I'll continue as planned.

We might also want to change the main.cs and script directories from the last release with the CVS since they were also giving problems.

Since some of the tools were also giving the netDispatch errors, we should let people know to use the tools from the TorqueSDK instead of RW or update RW. (I see that you mentioned that.)
#9
03/22/2004 (1:25 am)
OK, I just went ahead and changed the dsp by hand. Was much easier this way then going back to install VC6.
#10
03/22/2004 (3:02 am)
Sounds good Chris.

BTW: What are the problems with main.cs??

main.cs was also adapted during the merge with Torque 1.2.1.

-- Markus
#11
03/22/2004 (10:37 am)
The main.cs file along with the other scripts that come with the CVS head are different than the ones with the release. Since the ones with the head didn't work, I just replaced them.

Hard to explain what was happening. A window would come up but the graphics wouldn't initialize. I would get a bunch of garbage and maybe a partial frame from the last game I played, such as PC Halo.