[ODE] Borland C++Builder 5.0 can't use dSpaceCollide ?
George Birbilis
birbilis at kagi.com
Tue Apr 20 02:40:59 MST 2004
> Standard Test : test_chain1.c
> i can use the "dSpaceCollide(SpaceID, 0, &nearCallback); " in VC++6.0
> but when i use it in BC++Builder5.0 make some error as
> [C++ Error] LWWbipedrobotODEModel.cpp(10): E2034 Cannot convert 'void (*
(_closure )(void *,dxGeom *,dxGeom *))(void
> *,dxGeom *,dxGeom *)' to 'void (*)(void *,dxGeom *,dxGeom *)'
sounds as if you try to convert a "pointer to a function pointer" to just a
"function pointer", that is you missed one level of indirection
see if you (or the ODE source) forgot to use some * or & there
but maybe I'm just wrong with this, I never liked C++ Error messages...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
George Birbilis <birbilis at kagi.com>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ QuickTime VCL and ActiveX controls (for PowerPoint/VB/Delphi etc.)
+ Plugs VCL and ActiveX controls (InterProcess/Internet communication)
+ TransFormations, VB6 forms to ASP.net WebForms convertion
http://www.kagi.com/birbilis
+ Robotics
http://www.mech.upatras.gr/~robgroup
........................................................................
More information about the ODE
mailing list