Compiling errors.
by Braveheart · in Torque Game Engine · 10/08/2008 (3:52 pm) · 2 replies
I'm having trouble recompiling the engine with this resource coded in (it's only a few lines of code in two files so not that much of a change)
VS2008 is giving me this:
1>Torque Demo - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
The errors:
rigidShape.cc
c:\torque\engine\tge_1_5_2\engine\game\rigidshape.cc(514) : error C2039: 'vRigidShape' : is not a member of 'RigidShape'
c:\torque\engine\tge_1_5_2\engine\game\rigidshape.h(131) : see declaration of 'RigidShape'
rigid.cc
BSCMAKE: error BK1506 : cannot open file '..\tools\out.VC8.DEBUG_FAST\interiorCollision.sbr': No such file or directory
How can I fix these??
Also what properties do I change to alter the .exe name and icon file?
VS2008 is giving me this:
1>Torque Demo - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 6 up-to-date, 0 skipped ==========
The errors:
rigidShape.cc
c:\torque\engine\tge_1_5_2\engine\game\rigidshape.cc(514) : error C2039: 'vRigidShape' : is not a member of 'RigidShape'
c:\torque\engine\tge_1_5_2\engine\game\rigidshape.h(131) : see declaration of 'RigidShape'
rigid.cc
BSCMAKE: error BK1506 : cannot open file '..\tools\out.VC8.DEBUG_FAST\interiorCollision.sbr': No such file or directory
How can I fix these??
Also what properties do I change to alter the .exe name and icon file?
About the author
#2
10/11/2008 (3:52 am)
Yeah you don't need the rigidshape resource - it's already in there. If you need a working datablock and script browse to the example/demo folder and find rigidshape.cs in the server/scripts directory. That will give you the bouncing boulder as an example. You can drop it and watch it roll/bounce, and you can shoot it to make it move. If you want to bump into it to make it move then you'll need to add an ::onCollision to the script.
Torque Owner Lee Latham
Default Studio Name
I'm kinda wondering what's at lines:
rigidshape.cc(514)
and especially:
rigidshape.h(131)