Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (482)
Games in Android Showcase (110)
games submitted by our members
Games in WIP (548)
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 575 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.

 

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

CopyableCougar4 (8 views)
2014-08-22 19:31:30

atombrot (28 views)
2014-08-19 09:29:53

Tekkerue (25 views)
2014-08-16 06:45:27

Tekkerue (23 views)
2014-08-16 06:22:17

Tekkerue (15 views)
2014-08-16 06:20:21

Tekkerue (22 views)
2014-08-16 06:12:11

Rayexar (61 views)
2014-08-11 02:49:23

BurntPizza (39 views)
2014-08-09 21:09:32

BurntPizza (31 views)
2014-08-08 02:01:56

Norakomi (37 views)
2014-08-06 19:49:38
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
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!