[ODE] Linker errors
Nate W
coding at natew.com
Thu Jun 26 03:46:02 2003
On Thu, 26 Jun 2003, Chris Engels wrote:
> I am trying to create an ODE world completely within a class, but I am
> getting linker errors whenever I try to declare static objects [...]
This has come up before, so I just added some sample code to the FAQ:
http://q12.org/cgi-bin/wiki.pl?CollisionCallbackMemberFunction
Basically, you use a static method to 'wrap' a call to a regular
method. It's a fairly common C++ technique.
--
Nate Waddoups
Redmond WA USA
http://www.natew.com