Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#110 ODE.NET causes exception on Mono

open
nobody
None
5
2012-09-14
2007-09-08
cardinal4
No

I'm using ODE.NET 0.8 with ODE 0.8.
I've found the following methods to cause a System.EntryPointNotFoundException when run on Mono. I'm using Win XP Pro SP2 with .NET Framework 2.0 and 3.0.

d.InitODE()
d.BodyCopyPosition()
d.BodyCopyRotation()

Here's one of the exceptions I received when using d.InitODE():
System.EntryPointNotFoundException: dInitODE
at (wrapper managed-to-native) Ode.NET.d:InitODE)_
at testing.testGravity.Main (System.String[] args) [0x00000]
Windows Exception:
System.ComponentModel.Win32Exception: Some sort of w32 error occurred: 0.

The issues were resolved by not using d.InitODE(), and using d.BodyGetPosition() and d.BodyGetRotation() instead.

Thanks.

Discussion