LWJGL
May 21, 2012, 00:56:11 *
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]
  Print  
Author Topic: AL.create() problem?  (Read 2809 times)
shadowpcsx2
Newbie
*
Posts: 3


« on: May 20, 2007, 05:58:24 »

I am using LWGL 1.1 with netbeans 5.5 and jdk 1.6.01

when i am trying to create OPENAL it gives me errors
after some research i figure out that i must put OpenAL32.dll in jre/bin folder or jdk/jre/bin folder in order to work

now isn't a way to avoid this and read th openal32.dll from the same place that my *.jar file is?
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #1 on: May 20, 2007, 10:54:01 »

no no no - never ever put stuff in jre/bin or similar unless you know _exactly_ what you are doing!

just extract the lwjgl package(s) and run with the command line specified in the readme.
lwjgl comes with all* natives needed, including openal (yes, overriding vendor supplied binaries - deal with it  Roll Eyes)

*ok, so we dont include opengl drivers  Kiss
Logged

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


« Reply #2 on: May 21, 2007, 06:12:56 »

Yah but problem seems to exist only with openal dll. Java supports loading libs without setting java lib path if lib is in the same folder with your jar executable , which is what happening with ALL other libs in lwlgl except openal
Logged
Matzon
Administrator
Demigod
*****
Posts: 2177



« Reply #3 on: May 21, 2007, 06:28:53 »

try and enable debug output:
-Dorg.lwjgl.util.Debug=true
Logged

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


« Reply #4 on: May 21, 2007, 06:54:35 »

partialy you can solve the problem if you use System.setProperty("java.lib.path","/"); in program but it should be a better way..
Logged
Pages: [1]
  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!