[ODE] Compiler error in collision_trimesh_trimesh.cpp

Adam D. Moss adam at gimp.org
Tue Nov 9 10:21:13 MST 2004


Anton Savin wrote:
> Hi all,
> 
> I compiled ODE with single precision and got following error (on
> VC7.1):
> 
> collision_trimesh_trimesh.cpp(408) : error C2664: 'SimpleUnclippedTest' : cannot convert parameter 6 from 'dReal' to 'double &'
>         A reference that is not to 'const' cannot be bound to a non-lvalue
> 
> I suppose that parameter 6 (out_depth) in SimpleUnclippedTest() should
> be dReal instead of double. Is it correct?

Thanks, Jeffrey Smith has checked in a fix for this (thought I should
mention it because no-one else did).

--Adam


More information about the ODE mailing list