ANY_CAST problem

OGREHEAD

12-06-2010 16:33:58

I am trying to implement the ogreode collision example.
But when I compile, I get error on this line:
if (!any_cast<CollisionTestedObject*>(g1->getUserAny())->Collide(true, Contact)) Return = false;

I get the error any_cast was not declared in this scope.

Is any_cast deprecated or something.

OGREHEAD

20-06-2010 14:08:44

Anybody know how to get any cast statement to compile?