Game Development Community

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 :

--> 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.

#1
06/24/2002 (11:11 am)
A fix was put in for that, it should work for you now.