Java-Gaming.org    
Featured games (79)
games approved by the League of Dukes
Games in Showcase (477)
Games in Android Showcase (107)
games submitted by our members
Games in WIP (536)
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  
  [odejava] Updating Linux natives  (Read 1004 times)
0 Members and 1 Guest are viewing this topic.
Offline Ole Friis

Senior Newbie




Java rocks! Games are fun!


« Posted 2005-02-26 09:26:43 »

Hello!

I'm trying to update my odejava Linux natives using the description on the odejava.org homepage (the "Docs" tab, the "Compiling/Updating Odejava Natives"). However, the description is either very old or just not working for me :-)

I'm using Fedora Core 3, if that's of any interest. Let's see what I've tried, and what doesn't quite seem to work for me:

1: Grab latest ODE CVS: No problem.
2: Apply cylinder2 contrib patch: Don't know how to do it. I try to "cd contrib/dCylinder2/", and then "patch dcylinder2.patch", but it does nothing. I've tried other invocations of the "patch" command as well, but none seem to work.
3: Apply Makefile patch: Where can I find it?
4: Edit user.settings: I suppose it should read "copy config/user-settings.example to config/user-settings, edit so the correct operating system and debug mode is selected". No problem.
5: Just run make-gcc: make-gcc doesn't seem to be a standard part of Fedora Linux, so I just try "make" and "gmake". None of these make the compilation work.

One of my problems is that the ODE makefile assumes that I have already compiled OPCODE, but OPCODE is, as far as I can see, in a Windows-only state in ODE's CVS repository. Perhaps the "Makefile patch" solves this for me, if I can find it?

Please please please, can anybody help me here? :-) I guess somebody must have been able to do it before ;-)

Thanks in advance,
Ole

PS: If you're wondering why I'd like to update the odejava natives, it's because the trimesh collision doesn't seem to work for me. I'm writing a game with a car (made out of a box and 4 spheres, just like the Ode and Odejava-xith3d demos) on some ramps (made out of trimeshes), and my car falls through a lot of the trimeshes. Not all of them, but about half of them. All trimeshes have the same size and orientation, so it doesn't seem to be a problem related to size, as some of you have in another thread in this forum. Since some fixes to trimeshes have been submitted to the Ode CVS, I thought it might be worth a try.
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #1 - Posted 2005-03-02 07:35:03 »

d'oh, "make-gcc" is a shell script of ours, you run it like so:

1  
./make-gcc


Smiley

It is highly likely that when recompiling against new ODE sources, you need to change parts of the SWIG interface, java code and even the make files as the ODE API changes.  The process is not one I recommend for people new to either ODE or Odejava, but good luck  Smiley

Will.

Offline Ole Friis

Senior Newbie




Java rocks! Games are fun!


« Reply #2 - Posted 2005-03-03 18:56:38 »

Hi William!

Thanks for the reply. I've still got no clue as to how to apply the cylinder2 patch, and where in the world I should get the Makefile patch, but this is a start ;-)

Fiddling a little with the sources once I get the build environment working is no problem. I'm not new to C or Java, I just have a problem with makefiles - they sometimes seem to live their own life. (I like Ant a whole lot more!) Besides, I thought the Odejava build process was simple, i.e. simple enough that somebody had made it automatic. But I seem to be wrong.

On a slightly related note, are there any plans for a new "real" Odejava release? Seeing that the newest release is from the 30th of October, and quite a few small fixes have been applied to the Ode CVS repository, I guess other people than me could use a freshly built Odejava.

Ole
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline William Denniss

JGO Coder


Projects: 2


Fire at will


« Reply #3 - Posted 2005-03-13 01:42:54 »

Quote
Hi William!

Thanks for the reply. I've still got no clue as to how to apply the cylinder2 patch, and where in the world I should get the Makefile patch, but this is a start ;-)

Fiddling a little with the sources once I get the build environment working is no problem. I'm not new to C or Java, I just have a problem with makefiles - they sometimes seem to live their own life. (I like Ant a whole lot more!) Besides, I thought the Odejava build process was simple, i.e. simple enough that somebody had made it automatic. But I seem to be wrong.

On a slightly related note, are there any plans for a new "real" Odejava release? Seeing that the newest release is from the 30th of October, and quite a few small fixes have been applied to the Ode CVS repository, I guess other people than me could use a freshly built Odejava.

Ole


There is an install guide in the wiki, have you read it?

A new build of the Odejava natives is planned this forghtnight.

Will.

Offline Ole Friis

Senior Newbie




Java rocks! Games are fun!


« Reply #4 - Posted 2005-03-13 13:20:59 »

Hi William!

Yes, I read the Wiki page (I assume you mean the OdeJava Wiki page). That's the page I'm referring to in my first posting in this thread. Since the Odejava homepage is down today, I haven't been able to check if it's had any updates since my last check, though.

BTW, compiling odejava (not ODE, or the OdeJava natives, but the pure Java part) directly after checking it out from CVS isn't possible, since some XODE classes require Xerces in the classpath. It's something that should probably be fixed. Either by altering the Ant buildfile (but then again, the CVS repository should include some Xerces jar files that the buildfile can refer to), ripping out XODE to a separate package (I'd go for this if I were in charge), or using an XML parser that comes with J2SE (com.sun.org.apache.xerces seems to come with J2SE 5, I don't know if it's part of J2SE 1.4 as well).

Anyway, just a few thoughts.

Kind regards,
Ole
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.

Riven (19 views)
2014-07-29 18:09:19

Riven (13 views)
2014-07-29 18:08:52

Dwinin (12 views)
2014-07-29 10:59:34

E.R. Fleming (31 views)
2014-07-29 03:07:13

E.R. Fleming (12 views)
2014-07-29 03:06:25

pw (42 views)
2014-07-24 01:59:36

Riven (42 views)
2014-07-23 21:16:32

Riven (28 views)
2014-07-23 21:07:15

Riven (29 views)
2014-07-23 20:56:16

ctomni231 (60 views)
2014-07-18 06:55:21
HotSpot Options
by dleskov
2014-07-08 03:59:08

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:58:24

Java and Game Development Tutorials
by SwordsMiner
2014-06-14 00:47:22

How do I start Java Game Development?
by ra4king
2014-05-17 11:13:37

HotSpot Options
by Roquen
2014-05-15 09:59:54

HotSpot Options
by Roquen
2014-05-06 15:03:10

Escape Analysis
by Roquen
2014-04-29 22:16:43

Experimental Toys
by Roquen
2014-04-28 13:24:22
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!