Error : TSShapeInstance has no constructor
by Patrick Avella · in Torque Game Engine · 02/25/2004 (8:24 am) · 3 replies
I am following the tic tac toe tutorial as someone recommended, and i've run into a problem that is beyond my scope of knowing what's going on.
vc6 chokes on these lines:
Resource hBoardInstance;
I don't know why. I get three errors. First it says undeclared identifier, then it says i'm not used Resource<> right, then it says it couldn't recover and is ending compilation.
I checked my related code to make sure it was the same and it was. anyone know why? I did not see anyone else have a problem with this in the resource thread, so i'm guessing i may have done something wrong.
vc6 chokes on these lines:
Resource
I don't know why. I get three errors. First it says undeclared identifier, then it says i'm not used Resource<> right, then it says it couldn't recover and is ending compilation.
I checked my related code to make sure it was the same and it was. anyone know why? I did not see anyone else have a problem with this in the resource thread, so i'm guessing i may have done something wrong.
#2
now i can't seem to get past this error. I've had to do a lot of tinkering with the tac tac toe code from the tutorial to make it work this far (lots of missing variables especially).
now it's choking because the code declares a new TSShapeInstance, and goes on to delete them in the destructor.
? I don't know why. I've been at this tutorial since 8am and it's pushing me to wits end. Instead of concentrating on how the engine works, I'm spending an ass load of time getting his code to compile.
------
i think i give up on this tutorial for now. It's turning to be counter productive.
02/25/2004 (9:58 am)
'TSShapeInstance' : class has no constructorsnow i can't seem to get past this error. I've had to do a lot of tinkering with the tac tac toe code from the tutorial to make it work this far (lots of missing variables especially).
now it's choking because the code declares a new TSShapeInstance, and goes on to delete them in the destructor.
? I don't know why. I've been at this tutorial since 8am and it's pushing me to wits end. Instead of concentrating on how the engine works, I'm spending an ass load of time getting his code to compile.
------
i think i give up on this tutorial for now. It's turning to be counter productive.
#3
Its a helpful tutorial but you may want to just download the actual files and when you run into a problem compare the 2. Somethings are missing in the description.
Ben
02/25/2004 (10:18 am)
Hello, Its a helpful tutorial but you may want to just download the actual files and when you run into a problem compare the 2. Somethings are missing in the description.
Ben
Torque 3D Owner Robert Blanchet Jr.
#include /ts/tsShape.h