Java-Gaming.org Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (754)
Games in Android Showcase (229)
games submitted by our members
Games in WIP (842)
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  
  Library names  (Read 1528 times)
0 Members and 1 Guest are viewing this topic.
Offline Cruithne3753

Senior Newbie




Java games rock!


« Posted 2004-05-23 21:30:38 »

What should the correct library names passed to System.loadLibrary() be?  Just checking if these are right...

Linux:-





File System.loadLibrary()
liblwjgl.so lwjgl
liblwjgl_d.so lwjgl_d
libopenal.so openal

Mac:-





File System.loadLibrary()
liblwjgl.jnilib lwjgl
liblwjgl_d.jnilib lwjgl_d
openal.dylib openal or openal.dylib ?

(I know the Windows ones work!)
Offline Matzon

JGO Knight


Medals: 19
Projects: 1


I'm gonna wring your pants!


« Reply #1 - Posted 2004-05-24 03:34:34 »

I am bit confused, as to why you're asking this... you really shouldn't have to change the name!

anyway - the name passed is lwjgl, on Windows the VM will then mangle the name to lwjgl.dll, on linux liblwjgl.so and on mac os x liblwjgl.jnilib.
The _d version isn't used anymore, and the openal library isn't loaded by the VM (it is however loaded by our code, using the LodeOpenAL code (http://cvs.sourceforge.net/viewcvs.py/*checkout*/java-game-lib/LWJGL/src/native/common/extal.cpp?content-type=text%2Fplain&rev=1.20) in conjunction with create() from
http://cvs.sourceforge.net/viewcvs.py/*checkout*/java-game-lib/LWJGL/src/java/org/lwjgl/openal/AL.java?content-type=text%2Fplain&rev=1.24

Offline cfmdobbie

Senior Devvie


Medals: 1


Who, me?


« Reply #2 - Posted 2004-05-24 06:09:39 »

However, as Matzon alluded to, you shouldn't really care about this at all!

LWJGL handles locating and loading the native libraries when needed.  Just start calling OpenGL/OpenAL methods and it'll take care of things.

Hellomynameis Charlie Dobbie.
Games published by our own members! Check 'em out!
Legends of Yore - The Casual Retro Roguelike
Offline Cruithne3753

Senior Newbie




Java games rock!


« Reply #3 - Posted 2004-05-24 19:25:55 »

Erm, I thought it was needed for JWS  Embarrassed It wasn't a show stopper under Windows so it seemed like the right thing at the time.  I've taken it out this pointlessness for UridiumGL 0.3 and it works (for me anyway)!
Offline ribot

Junior Devvie




Ribot - mobile UI specialist


« Reply #4 - Posted 2004-05-24 19:43:56 »

I just tested the latest version of UridiumGL 0.3 - webstart seems to load all libs fine, the display turns fullscreen, but I'm just left with blackness.  Sad

Hope there's a way to fix this, as I'm really looking forward to playing this classic!  Smiley

http://ribot.co.uk - design agency focused on mobile
http://www.retrospecs.co.uk - online vintage eyewear store
Offline blahblahblahh

JGO Coder


Medals: 1


http://t-machine.org


« Reply #5 - Posted 2004-05-25 01:09:58 »

Quote
I just tested the latest version of UridiumGL 0.3 - webstart seems to load all libs fine, the display turns fullscreen, but I'm just left with blackness.  Sad

Hope there's a way to fix this, as I'm really looking forward to playing this classic!  Smiley


You might have to wait a bit longer. I had to wait at least half a minute whilst looking at black screen before anything happened (although the harddisk was quitely churning away, I guess loading images or something)

malloc will be first against the wall when the revolution comes...
Pages: [1]
  ignore  |  Print  
 
 

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

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

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

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

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

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

Solater (98 views)
2018-03-17 05:04:08

nelsongames (179 views)
2018-03-05 17:56:34

Gornova (405 views)
2018-03-02 22:15:33

buddyBro (1065 views)
2018-02-28 16:59:18
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
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!