Error compiling jME-Physics_2

I'm installing jme and jme physics on netbeans, except when I got to clean and build jme physics I get an error.  Here's the compiler's output:


init:
deps-clean:
Deleting directory /home/noah/jME-Physics_2/build
clean:
init:
deps-jar:
Created dir: /home/noah/jME-Physics_2/build/classes
Compiling 126 source files to /home/noah/jME-Physics_2/build/classes
/home/noah/jmephysics/impl/ode/src/org/odejava/collision/JavaCollision.java:181: createContactJoints() in org.odejava.Odejava cannot be applied to (org.odejava.ode.SWIGTYPE_p_dWorldID,org.odejava.ode.SWIGTYPE_p_dJointGroupID)
            Odejava.createContactJoints( worldId, contactGroupId );
1 error
BUILD FAILED (total time: 5 seconds)



Any help would be appreciated!

Fixed in CVS.



But beware: the current cvs version from today is possibly still broken, as I'm in the middle of a version switch. Use the version from yesterday to avoid troubles.

I updated jme physics and jme but I'm still getting the same error

This works over here, so cvs should be fine:

cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout jmephysics
cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout jme
mv jme jME
cd jmephysics/ant
ant compile.module.jme
ant

Now I'm just getting more errors:


init:
deps-clean:
Deleting directory /home/noah/jME-Physics_2/build
clean:
init:
deps-jar:
Created dir: /home/noah/jME-Physics_2/build/classes
Compiling 126 source files to /home/noah/jME-Physics_2/build/classes
/home/noah/jmephysics/impl/ode/src/org/odejava/collision/JavaCollision.java:181: createContactJoints() in org.odejava.Odejava cannot be applied to (org.odejava.ode.SWIGTYPE_p_dWorldID,org.odejava.ode.SWIGTYPE_p_dJointGroupID)
            Odejava.createContactJoints( worldId, contactGroupId );
/home/noah/jmephysics/impl/ode/src/org/odejava/GeomTriMesh.java:135: cannot find symbol
symbol  : method getVoidPointer()
location: class org.odejava.ode.SWIGTYPE_p_float
        Ode.dGeomTriMeshDataBuildSingle1( data, odeVertices.getVoidPointer(), 12,
/home/noah/jmephysics/impl/ode/src/org/odejava/GeomTriMesh.java:136: cannot find symbol
symbol  : method getVoidPointer()
location: class org.odejava.ode.SWIGTYPE_p_int
                verticesLength / 3, odeIndices.getVoidPointer(), indicesLength, 12, null );
/home/noah/jmephysics/impl/ode/src/org/odejava/GeomTriMesh.java:162: cannot find symbol
symbol  : method dGeomTriMeshSetLastTransform(org.odejava.ode.SWIGTYPE_p_dGeomID,org.odejava.ode.SWIGTYPE_p_float)
location: class org.odejava.ode.Ode
        Ode.dGeomTriMeshSetLastTransform( geomId, floatArray );
4 errors
BUILD FAILED (total time: 4 seconds)

You obviously use the wrong odejava-jni version. You should be using odejava-jni.jar from jME Physics 2 cvs or the sources from odejava/odejava-jni.

I got it to work.  Netbeans wasn't updating it correctly; I had to do it in command line.