Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (726)
Games in Android Showcase (216)
games submitted by our members
Games in WIP (796)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  [SOLVED] setting up the jbox2d library  (Read 1736 times)
0 Members and 1 Guest are viewing this topic.
Offline TheChibiNinja

Senior Newbie





« Posted 2013-10-08 20:13:09 »

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.  Cheesy
Offline xsvenson
« Reply #1 - Posted 2013-10-08 20:18:58 »

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

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Offline TheChibiNinja

Senior Newbie





« Reply #2 - Posted 2013-10-08 20:21:17 »

wow I swear I typed that out, my bad. Tongue
I'm using eclipse, but I've used netbeans so that works too.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline xsvenson
« Reply #3 - Posted 2013-10-08 20:23:08 »

And what are the errors You get ?

“The First Rule of Program Optimization: Don't do it. The Second Rule of Program Optimization (for experts only!): Don't do it yet.” - Michael A. Jackson
Offline TheChibiNinja

Senior Newbie





« Reply #4 - Posted 2013-10-08 20:39:22 »

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)
Offline deathpat
« Reply #5 - Posted 2013-10-08 20:59:40 »

hi,

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

the zip should contain all the jars Smiley

work in progress : D A E D A L U S
Offline TheChibiNinja

Senior Newbie





« Reply #6 - Posted 2013-10-09 08:03:07 »

Error: Editor does not contain a main type
http://gyazo.com/ffa311214e75bf5cf73590179d1522fc.png
Offline TheChibiNinja

Senior Newbie





« Reply #7 - Posted 2013-10-09 18:20:29 »

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.
Offline TheChibiNinja

Senior Newbie





« Reply #8 - Posted 2013-10-09 20:06:31 »

Well I guess its solved now. Grin 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
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

 
Archive (291 views)
2017-04-27 17:45:51

buddyBro (479 views)
2017-04-05 03:38:00

CopyableCougar4 (925 views)
2017-03-24 15:39:42

theagentd (938 views)
2017-03-24 15:32:08

Rule (950 views)
2017-03-19 12:43:22

Rule (918 views)
2017-03-19 12:42:17

Rule (920 views)
2017-03-19 12:36:21

theagentd (981 views)
2017-03-16 05:07:07

theagentd (892 views)
2017-03-15 22:37:06

theagentd (690 views)
2017-03-15 22:32:18
List of Learning Resources
by elect
2017-03-13 14:05:44

List of Learning Resources
by elect
2017-03-13 14:04:45

SF/X Libraries
by philfrei
2017-03-02 08:45:19

SF/X Libraries
by philfrei
2017-03-02 08:44:05

SF/X Libraries
by SkyAphid
2017-03-02 06:38:56

SF/X Libraries
by SkyAphid
2017-03-02 06:38:32

SF/X Libraries
by SkyAphid
2017-03-02 06:38:05

SF/X Libraries
by SkyAphid
2017-03-02 06:37:51
java-gaming.org is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑gaming.org
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!