[Odejava] OS X support & upgrading ODE natives

Hi,

I recently got a new laptop, this time a mac. So I’ve spent several hours today getting Odejava up to speed on OS X, using the latest ODE version from CVS. Thanks Eirikur S. Hrafnsson for your Mac readme, it was very helpful. I’ve now got an automated build shell script which I shall commit soon.

It’s working nicely, my game is up and running, as is most of the Odejava demos (except CarTerrainExample - TriMesh is working for me, but not for this one). Quick step looks pretty cool too - the stack of boxes in CarTerrainExample (with the trimesh turned off) is stable, and it looks faster (no scientific measurements yet from me).

The Mac binaries are made, and linux ones I can do in a flash. I don’t have a Win32 development environment set up however, so unless Jani or someone else wants to do that, it might be a few days before I can do the win32 binaries.

Unless anyone objects, I’m going to tag the CVS, then commit in support for ODE CVS head + osx and linux binaries. win32 developers shouldn’t cvs update until those binaries are released (unless you know how to make your own).

I’ll keep you all posted on the progress, I can upload a snapshot of my odejava directory if there is interest.

Cheers,

Will.

Progress Update:

CVS was tagged “preODE1_5b” prior to changes. As there are no doubt incompatabilities, I do not advice doing a cvs update on current projects. Instead - check out a fresh copy to test. If you need to revert back, then just checkout that tagged version.

The version of ODE in our cvs was updated to a nightly cvs snapshot - 040605.

I have built, and committed Linux and OS X binaries but am having issues with the Windows ones currently.

Unlike previous versions, I didn’t keep support for dCylinder which is a contrib module. Does anyone use this? I would be tempted to wait till it becomes part of the ODE core before using it, as that way it’s officially supported and maintained, but I’d like to hear other peoples thoughts on the matter.

I’ll start a new thread on my win32 troubles.

Cheers,

Will.

I’ve committed the win32 binary now too :slight_smile:

Turns out I was linking everything except the odejava wrapper itself :-/

Remember that you can’t just mix and match these binaries, some ODE methods changed, which forced changes in the org.odejava.ode package and also required a few minor work arounds in the other java code.

So please, go forth and test Odejava with the updated ODE binaries, in particular the new quickStep function ;D

I believe we should try to keep up to the ODE developments, perhaps upgrading to ODE’s CVS HEAD (assuming it’s stable) every few months.

Cheers,

Will.

cvs tagged as “rel0_3_0”, snapshot uploaded: https://odejava.dev.java.net/servlets/ProjectDocumentList

everyone is awfully quiet, I hope people approve of this upgrade. The only changes I have experianced are for the better.

Will.

nice one will- u the man!