Game Development Community

Compiler Errors

by Isaac Vanier · in Torque Game Engine · 05/15/2003 (6:52 am) · 2 replies

I downloaded v1.1.2 from CVS and when I try to compile using VC6 I get a lot of compiler errors that seem like out of date code. For example:

c:\torque\engine\game\gamebase.h(99) : error C2039: 'NextFreeMask' : is not a member of 'SceneObject'
c:\torque\engine\sim\sceneobject.h(199) : see declaration of 'SceneObject'
c:\torque\engine\game\gamebase.h(99) : error C2065: 'NextFreeMask' : undeclared identifier
c:\torque\engine\game\gamebase.h(99) : error C2057: expected constant expression
convex.cc

That seems to be the biggest problem. That missing NextFreeMask is giving me a ton of errors all throughout the code, but there are a couple of other things here and there as well.

Also, the file platform\platformGL.h was missing so I copied platformWin32\platformGL.h and pasted it in as the other one.

I believe I got the full CVS download. It is about 55MB just like was suggested by the setup info. If I remember correctly it exited with code 0. It just seems like somethings out of whack in the CVS but if so it seems like somone would have brought it up already.

I updated to SP5 and ran the reg edit file. I also added the engine header and lib path to the compiler.

#1
05/15/2003 (11:37 am)
Perhaps if you redownload it?

Or else, maybe HEAD is a better branch to work from. Failing that, maybe if you get 1.1.1 and then update to 1.1.2...
#2
05/15/2003 (11:47 am)
Yes, I redownloaded 1.1.2 today and it compiled perfectly this time. I'm not really sure why the copy from last night was invalid. Today I actually used the revision name from the drop down box that I typed in last night so I know I was aiming for the same revision both times.

Oh well, at least it's compiling and I can get to work ;)

Thanks for the help.