Fw: [ODE] Borland C++Builder 5.0 can't use dSpaceCollide ?
Liu Wei-Wen
liu.mailbox at msa.hinet.net
Fri Apr 23 06:59:33 MST 2004
I just copy the source form VC++ to BC++Builder. It can work in VC++ but
can't work in BC++Builder.
Anybody can help me, please ^.^
thanks a lot ...........
> ----- Original Message -----
> From: "George Birbilis" <birbilis at kagi.com>
> To: <ode at q12.org>
> Sent: Tuesday, April 20, 2004 7:40 AM
> Subject: Re: [ODE] Borland C++Builder 5.0 can't use dSpaceCollide ?
>
>
> > > 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
> > ........................................................................
> >
> > _______________________________________________
> > ODE mailing list
> > ODE at q12.org
> > http://q12.org/mailman/listinfo/ode
> >
>
More information about the ODE
mailing list