Check your defines and includes. Either undefine #USE_RAY (not sure if that's what it is called) or make sure that all dGeomRay files are included in your project. - Marco Grubert