shiffman / Box2D-for-Processing

Processing JBox2D helper library and examples
BSD 2-Clause "Simplified" License
286 stars 75 forks source link

error message/pbox2d? #1

Closed geFive closed 10 years ago

geFive commented 12 years ago

I keep getting the following error message when trying to run "OSCeleton/Stickmanetic.pde"--any suggestions? I am using your latest box2d buid, latest Processing build, running the OSCeleton from my mac terminal, etc...Thanks!! ge5@nyu.edu

"Exception in thread "Animation Thread" java.lang.NoSuchMethodError: org.jbox2d.dynamics.World.(Lorg/jbox2d/common/Vec2;)V at pbox2d.PBox2D.createWorld(PBox2D.java:107) at pbox2d.PBox2D.createWorld(PBox2D.java:97) at pbox2d.PBox2D.createWorld(PBox2D.java:91) at Stickmanetic.setup(Stickmanetic.java:59) at processing.core.PApplet.handleDraw(PApplet.java:1608) at processing.core.PApplet.run(PApplet.java:1530) at java.lang.Thread.run(Thread.java:680)

shiffman commented 12 years ago

My guess is that the OSCeleton example is using the old version of the library. It needs to be updated.

shiffman commented 10 years ago

This error is no longer relevant as the library has been updated to JBox2D 2.2.1