Windows -> Linux problem (Bad argument(s) in dxBox())

View: New views
3 Messages — Rating Filter:   Alert me  

Windows -> Linux problem (Bad argument(s) in dxBox())

by Chris-757 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

When moving my project from Windows to Linux (Ubuntu 9.10), I'm
running into the following error:

ODE INTERNAL ERROR 2: Bad argument(s) in dxBox()

The line it's busting on is:

ground_box = dCreateBox(space, 10.0f, 10.0f, 10.0f);

ground_box is a static dGeomID and space is a static dSpaceID
space was created with "space = dHashSpaceCreate(0);"

In Windows I had to recompile ODE to use single-precision floats.  On
Linux I am using the pre-built ODE deb package (0.11).

Any thoughts would be appreciated.

Chris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "ode-users" group.
To post to this group, send email to ode-users@...
To unsubscribe from this group, send email to ode-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ode-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Windows -> Linux problem (Bad argument(s) in dxBox())

by Daniel K. O.-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Chris wrote:
> ODE INTERNAL ERROR 2: Bad argument(s) in dxBox()

You have to define dSINGLE or dDOUBLE while compiling your application,
in the same way ODE was built. This is done automatically if you use
"ode-config --cflags" or "pkg-config ode --cflags" when building your
application. Check the manual (on the wiki).


--
Daniel K. O.
"The only way to succeed is to build success yourself"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "ode-users" group.
To post to this group, send email to ode-users@...
To unsubscribe from this group, send email to ode-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ode-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Re: Windows -> Linux problem (Bad argument(s) in dxBox())

by Chris-757 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Great, that did the trick.

Thanks

On Oct 25, 5:29 pm, "Daniel K. O." <danielko.lis...@...> wrote:

> Chris wrote:
> > ODE INTERNAL ERROR 2: Bad argument(s) in dxBox()
>
> You have to define dSINGLE or dDOUBLE while compiling your application,
> in the same way ODE was built. This is done automatically if you use
> "ode-config --cflags" or "pkg-config ode --cflags" when building your
> application. Check the manual (on the wiki).
>
> --
> Daniel K. O.
> "The only way to succeed is to build success yourself"

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "ode-users" group.
To post to this group, send email to ode-users@...
To unsubscribe from this group, send email to ode-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/ode-users?hl=en
-~----------~----~----~----~------~----~------~--~---