misc newb errors/questions

I have to admit that I havn’t actually seen much example code for using odejava, so much of what I’ve done has been guesswork. Although my program is (mostly) working as expected on my computer, it seems to behave differently on other people’s computers. The first person I had test my program reported that the objects bounced again after they had lay at rest (doesn’t do this at all on my computer). The second person I had test the program reported a crash in native code at this point: org.odejava.collision.JavaCollision.collide(Lorg/odejava/Space;)V+51
This happens before/as the window is displayed. I’ve never experienced a crash on my computer.

Both of these computers were running windows xp with around 2ghz intel processors. I don’t really know what else to say about the crashes since I’ve given all the info I have…

I am running the latest official release although it seems commonly recommended to run the latest from cvs. I will download the latest from cvs if I have to, but its not really any small task as I’ve never used cvs or ant and don’t have a java.net account :frowning:

I do have several other questions, but Its far too late to ask them correctly so I’ll wait until morning.

edit: tpyos

I think the official release is very old and it’s very useful to use the newest cvs, becuase then many bugs have been fixed, like this bouncing stuff. People are also not very interested in fixing bugs of old versions, that may have already been fixed to the new cvs.

Ok, I was mostly just wondering if they did sound like bugs on the odejava end or not (before going through the trouble of downloading from cvs).

The answer is YES.
There is ( a lot ) of bugs in the official release ( in fact, the one I’ve seen ) and so it’s VERY VERY useful to grab the latest cvs.
And it’s really not complicated to use cvs.
As an example, you can see the Xith Getting Started Guide : http://xith.org/tutes/GettingStarted/html/bleeding_edge_source.html#SECTION000132000000000000000

ok, downloaded the latest and it seemed to fix all the problems I mentioned.

Nice to hear that…

When will the next release be? It seems like new users are much more likely to download an official version than the CVS.

[quote]I have to admit that I havn’t actually seen much example code for using odejava, so much of what I’ve done has been guesswork. Although my program is (mostly) working as expected on my computer, it seems to behave differently on other people’s computers. The first person I had test my program reported that the objects bounced again after they had lay at rest (doesn’t do this at all on my computer). The second person I had test the program reported a crash in native code at this point: org.odejava.collision.JavaCollision.collide(Lorg/odejava/Space;)V+51
This happens before/as the window is displayed. I’ve never experienced a crash on my computer.

Both of these computers were running windows xp with around 2ghz intel processors. I don’t really know what else to say about the crashes since I’ve given all the info I have…

I am running the latest official release although it seems commonly recommended to run the latest from cvs. I will download the latest from cvs if I have to, but its not really any small task as I’ve never used cvs or ant and don’t have a java.net account :frowning:

I do have several other questions, but Its far too late to ask them correctly so I’ll wait until morning.

edit: tpyos
[/quote]
Crashes on Windows is often because you need to increase the stacksize when you run ODE.
You do that by adding -xss10mb as runtime parameter. Thats 10 mb in stacksize, I believe ODE has 128 kb as default so any world with more than 9 boxes would probably crash it.

I had the same problems but this fixed it. It’s quite strange that this information is nowhere to be found since everyone will get this error sooner or later and will get many grey hair in the process.

[quote]When will the next release be? It seems like new users are much more likely to download an official version than the CVS.
[/quote]
Give me 24 hours.

Will.