|
From: Jan M. <mu...@un...> - 2007-05-04 09:33:16
|
|On Thu, 03 May 2007 19:47:46 +0200, Markus Rollmann <rol...@un...> said:
> Jan Murray wrote:
> [...]
>> I tried without success. :-(
>> I get an "undefined reference to `oxygen::ODEObject::GetSpaceID()'"
>> during make in the "app/*" subdirs.
> There were two errors: The GetSpaceID() declaration in odeobject.h was
> obsolote but still used from collider.cpp. I changed that.
> Does it at least compile now ? ;)
Almost. ;) I had to change Collider::OnLink() a little:
I added this at the beginning:
> weak_ptr<Node> parent = GetParent();
> if (
> (mODEGeom == 0) ||
> (parent.expired())
> )
> {
> return;
> }
and removed this as it's subsumed by the above test:
> if (mODEGeom == 0)
> {
> return;
> }
Now it seems to work. Adding the wrapper to the soccerbot.rsg worked
out of the box. :-) Now I have to check if it really gets faster.
Bye,
Jan
|