LWJGL
May 22, 2012, 03:56:33 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL 2.8.3 released!
 
   Home   Help Search Login Register  



Pages: [1] 2
  Print  
Author Topic: lwjgl64.dll on Vista x64  (Read 6791 times)
AGP
Newbie
*
Posts: 41


« on: April 08, 2009, 14:56:22 »

How do I get lwjgl to look for the lwjgl64.dll instead of the lwjgl.dll which it can't run on Vista x64?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: April 08, 2009, 14:59:39 »

it should try to load that - whats the output when you add -Dorg.lwjgl.util.Debug=true ?
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
AGP
Newbie
*
Posts: 41


« Reply #2 on: April 08, 2009, 15:08:20 »

OK, I ran with -Dorg.lwjgl.util.Debug=true -Djava.library.path=c:\Windows\SysWOW64 -classpath .;lwjgl.jar and the output was:

Failed to load 64 bit library: C:\Windows\SysWOW64\lwjgl64.dll: Can't find dependent libraries
Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Windows\SysWOW64\l
wjgl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.lwjgl.Sys$1.run(Sys.java:72)
        at java.security.AccessController.doPrivileged(Native Method)
        at org.lwjgl.Sys.doLoadLibrary(Sys.java:65)
        at org.lwjgl.Sys.loadLibrary(Sys.java:81)
        at org.lwjgl.Sys.<clinit>(Sys.java:98)
        at org.lwjgl.opengl.Display.<clinit>(Display.java:129)
        at com.threed.jpct.GLHelper.findMode(Unknown Source)
        at com.threed.jpct.GLHelper.init(Unknown Source)
        at com.threed.jpct.GLRenderer.init(Unknown Source)
        at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
        at com.threed.jpct.FrameBuffer.enableRenderer(Unknown Source)
        at JPCTDemo.switchOptions(JPCTDemo.java:628)
        at JPCTDemo.gameLoop(JPCTDemo.java:555)
        at JPCTDemo.<init>(JPCTDemo.java:322)
        at JPCTDemo.main(JPCTDemo.java:84)
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #3 on: April 08, 2009, 15:35:06 »

this is related to: http://lwjgl.org/forum/index.php/topic,2860.0.html
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
AGP
Newbie
*
Posts: 41


« Reply #4 on: April 08, 2009, 16:18:58 »

Thanks a lot, pal.

To make it explicit and save someone 2 minutes: add to Windows's path variable the path of the JRE/bin.
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #5 on: April 08, 2009, 22:40:21 »

well, only as a temporary solution! Does the attached dll work witout that trick?
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Endolf
Regular nerd
**
Posts: 97



WWW
« Reply #6 on: April 08, 2009, 23:41:37 »

or this one Smiley
Logged

Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #7 on: April 09, 2009, 08:16:22 »

well, that was actually the one I attached - just didn't know *how* public the nightly builds are yet Wink
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Endolf
Regular nerd
**
Posts: 97



WWW
« Reply #8 on: April 09, 2009, 10:16:30 »

What nightly builds?, I just attached a link to a built lib Smiley

Endolf
Logged

AGP
Newbie
*
Posts: 41


« Reply #9 on: April 09, 2009, 10:35:04 »

Matzon, I'm not sure what you mean.

Endolf, your link is broken.

EDIT: Just saw the attachment. Will try it out and report right back. Should it NOT work with the path variable pointing to the JRE/bin?
Logged
Endolf
Regular nerd
**
Posts: 97



WWW
« Reply #10 on: April 09, 2009, 10:38:41 »

Works for me, seems to have worked for matzon too, are you running any software that might stop you downloading a dll?, try the zip version.

Endolf
Logged

AGP
Newbie
*
Posts: 41


« Reply #11 on: April 09, 2009, 10:44:44 »

Yes, I just realized it was my firewall that didn't trust your security certificate (or didn't find one).

Matzon, the dll works without changing back the path variable. Same UnsatisfiedLinkError if I take out JRE/bin from path.
Logged
AGP
Newbie
*
Posts: 41


« Reply #12 on: April 13, 2009, 17:28:45 »

Do you guys have a jinput64-dx8.dll for me? : )
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #13 on: April 13, 2009, 23:18:50 »

https://www.newdawnsoftware.com/hudson/job/JInput%20(windows%2064%20bit)/

still not sure why you need jawt on the path tho :/
Logged

http://certusgames.com (Free Online Multiplayer Java Games)
http://lwjgl.org (OpenGL/OpenAL for Java)
Endolf
Regular nerd
**
Posts: 97



WWW
« Reply #14 on: April 13, 2009, 23:19:03 »

Hi

If you grab this zip you'll find all the latest and greatest JInput bits are already in there, along with any updates that have been made to LWJGL since 2.1.0

HTH

Endolf
Logged

Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!