Java-Gaming.org Hi !
Featured games (83)
games approved by the League of Dukes
Games in Showcase (522)
Games in Android Showcase (127)
games submitted by our members
Games in WIP (589)
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  
  Howdy! (and "help")  (Read 907 times)
0 Members and 1 Guest are viewing this topic.
Offline dcoder

Junior Newbie





« Posted 2003-05-15 14:00:22 »

Hi,

I have recently come to find LWJGL and it looks very promising. I'm currently in the process of prototyping a game and I was thinking that it might be possible to do with LWJGL. I enjoy Java, plus I work on both Linux and MacOS X, so it looks like a wonderful fit.

Anyway, I'm currently running things on an older RH 7.x box, and so I am having trouble trying to run some of the examples to verify my configuration works (which, obviously, it doesn't)... It looks like the prebuilt binaries link against versions of libstdc++ that I don't have, so I was thinking it would be a simple matter to build the source myself (also, since I'll need to do that on my Mac).

But, for the life of me, I can't really figure out how the build system is configured. I found some sparse make files and even a build.xml, but that's all in CVS and not in a snapshot...

Do I need to pull down the CVS tree to build from scratch? If so, how do I need to configure it for it to be built? Will I need to retrieve OpenAL separately and build a .so for it, too?

Sorry for jumping right in and asking so many questions, but I'm just so confused...  Grin

-daniel

There are 10 types of people in this world...
those who understand binary, and those who don't.
Offline elias

Senior Devvie





« Reply #1 - Posted 2003-05-15 15:01:32 »

My suggestion is to upgrade to rh 8 or 9  Wink.

But if you insist, here is a (probably incomplete) list:

1. Fetch openal from cvs at opensource.creative.com
2.Go into the linux dir at do a ./autogen.sh && ./configure && make && make install. Tecnically you don't need openal to use lwjgl because the lib is dynamically loaded when needed, but you need the openal header files to compile lwjgl from source.
3. Fetch lwjgl from cvs.
4. Go into src/native and do a ./autogen.sh && ./configure && make. Nw src/native/.libs contains liblwjgl.so* which can be copied to whereever I need them. I usually place them in /usr/java/j2sdk1.4.1_02/jre/lib/i386.
5 Go back to the lwjgl checkout directory and do an ant package. The lib/ dir now contains lwjgl.jar to be included in your lwjgl program classpaths. You'll need ant to do this of course.

Hope that helps,
- elias

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.

xFryIx (62 views)
2014-11-13 12:34:49

digdugdiggy (41 views)
2014-11-12 21:11:50

digdugdiggy (36 views)
2014-11-12 21:10:15

digdugdiggy (30 views)
2014-11-12 21:09:33

kovacsa (53 views)
2014-11-07 19:57:14

TehJavaDev (56 views)
2014-11-03 22:04:50

BurntPizza (55 views)
2014-11-03 18:54:52

moogie (70 views)
2014-11-03 06:22:04

CopyableCougar4 (71 views)
2014-11-01 23:36:41

DarkCart (156 views)
2014-11-01 14:51:03
Understanding relations between setOrigin, setScale and setPosition in libGdx
by mbabuskov
2014-10-09 22:35:00

Definite guide to supporting multiple device resolutions on Android (2014)
by mbabuskov
2014-10-02 22:36:02

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
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!