[SOLVED] setting up the jbox2d library

Hi. There isn’t a single good explanation on how to do this anywhere, so I’d like this explained to me step by step like I’m 5. All I want is to integrate the jbox2d library with my IDE so that I can actually use it. I’ve used tons of libraries before, lwjgl, slick2d, openAL, jinput, etc. But I just can’t figure out for the life of me how to get this thing working. Maybe I just don’t understand svn or Maven, or how this was made or is supposed to work, but I’ve tried every possible option listed on https://code.google.com/p/jbox2d/wiki/QuickStart at least 3 times. I’ve not gotten any of it to work once. All I get are errors and I’m not skipping any steps. If anyone has done this before and can explain it to me like I’ve never used an IDE before, that would be much appreciated. Thank you for your time. :smiley:

Well, maybe You’d like to give us some additional information. Like what IDE are You using and what are the errors You have.

wow I swear I typed that out, my bad. :stuck_out_tongue:
I’m using eclipse, but I’ve used netbeans so that works too.

And what are the errors You get ?

Well the first problem is in the SVN checkout as said on the site, where apparently the file jbox2d-read-only does not exist
(screenshot http://gyazo.com/6574a04ef10d2b8ad18ed62dc2e87cdd.png)

hi,

can’t you just download it from here ?
https://code.google.com/p/jbox2d/downloads/list

the zip should contain all the jars :slight_smile:

Error: Editor does not contain a main type

Okay so I’ve imported as a maven project, but it had an error with “execution add-source, in jbox2d-serialization/pom.xml” and now the only errors present are in the jbox2d-serialization package.

I have an error with pom.xml saying:
“Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: add-source, phase: generate-sources)”

I also am having errors in PbSerializer and PbDeserializer in importing from org.box2d as opposed to the error free org.jbox2d imports.

Well I guess its solved now. ;D Not sure how I got so confused. I just had to add external jar file to build path as the one that is with dependencies