[ODE] cant get started!

Anselm Hook anselm at hook.org
Wed Jul 16 10:35:01 2003


I'm happy to help just email me if you wish.

 - a

On Wed, 16 Jul 2003, Brian Bell wrote:

> Katie,
>
> The mistakes you are making are very basic C/C++ mistakes.  They have nothing to do with ODE or its documentation.  I think that before you attempt to go any further with ODE, you should find a book or other resource that will help you bring your C/C++ up to a sufficient level.
>
> Good luck, and I'm sure we'll all be thrilled to help when you come back with some ODE specific questions.
>
> Brian
>
>   ----- Original Message -----
>   From: Katie Bentley
>   To: DjArcas ; ode@q12.org
>   Sent: Wednesday, July 16, 2003 1:10 PM
>   Subject: Re: [ODE] cant get started!
>
>
>   where abouts?
>
>   I tried:
>
>    >const dMass *mass;
>   >
>   >dMassSetBox (mass, density,lx, ly, lz);
>   >
>   >dBodySetMass (firstBodyID, mass);
>
>
>   and it says it cant convert from const struct dMass * to struct dMass * in the dMassSetBox function.  But its a redefinition if I declare it as dMass *mass too.... if I put in &mass in the setBox function then it says cant convert from const struct dMass ** to struct dMass *
>
>   help! :)
>   this doesn't work...
>    original documentation code:
>   void dBodySetMass (dBodyID, const dMass *mass);
>   void dBodyGetMass (dBodyID, dMass *mass);
>