Hi !
Featured games (91)
games approved by the League of Dukes
Games in Showcase (757)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (844)
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 1518 times)
0 Members and 1 Guest are viewing this topic.
Offline dcoder

Junior Newbie

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


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


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
2.Go into the linux dir at do a ./ && ./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 ./ && ./configure && make. Nw src/native/.libs contains* 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  

EgonOlsen (45 views)
2018-06-10 19:43:48

EgonOlsen (27 views)
2018-06-10 19:43:44

EgonOlsen (47 views)
2018-06-10 19:43:20

DesertCoockie (210 views)
2018-05-13 18:23:11

nelsongames (127 views)
2018-04-24 18:15:36

nelsongames (126 views)
2018-04-24 18:14:32

ivj94 (867 views)
2018-03-24 14:47:39

ivj94 (128 views)
2018-03-24 14:46:31

ivj94 (779 views)
2018-03-24 14:43:53

Solater (143 views)
2018-03-17 05:04:08
Java Gaming Resources
by philfrei
2017-12-05 19:38:37

Java Gaming Resources
by philfrei
2017-12-05 19:37:39

Java Gaming Resources
by philfrei
2017-12-05 19:36:10

Java Gaming Resources
by philfrei
2017-12-05 19:33:10

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