Linux(HEAD) compile problems
by James Urquhart · in Torque Game Engine · 06/23/2002 (3:00 am) · 1 replies
I just tested compiling the latest Torque HEAD release from the CVS, but i get these errors :
on line 3282 :
on line 3297 :
Is there any way i can fix this?
System :
-Suse Linux 8
-GCC 2.95.3
Thanks for any help.
--> Compiling game/shapeBase.cc game/shapeBase.cc: In method 'const class MatrixF & ShapeBaseConvex::getTransform() const': game/shapeBase.cc:3282: conversion from 'const MatrixF' to 'MatrixF &' discards qualifiers game/shapeBase.cc: In method 'class Box3F ShapeBaseConvect::getBoundingBox() const': game/shapeBase.cc:3297: conversion from 'const MatrixF' to 'MatrixF &' discards qualifiers make[i]: *** [out.GCC2.DEBUG/game/shapeBase.obj] Error 1 make: *** [default] Error 2
on line 3282 :
MatrixF & omat = (transform != 0)? *transform: mObject->getTransform();
on line 3297 :
MatrixF & omat = (transform != 0)? *transform: mObject->getTransform();
Is there any way i can fix this?
System :
-Suse Linux 8
-GCC 2.95.3
Thanks for any help.
About the author
Torque Owner Tim Gift