You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This problem occurs with the latest nightly binaries (rev. 1390). What steps will reproduce the problem? 1. Create a class whose main method creates a new JoglApplication.
2. Add gdx-backend-jogl.jar and gdx-backend-jogl-natives.jar to build path
3. Build and run. What is the expected output? What do you see instead? The Jogl backend should load libopenal.dylib from gdx-backend-jogl-natives.jar/native/macosx/libopenal.dylib. However, the actual path is gdx-backend-jogl-natives.jar/native/macosx/openal.dylib.
This causes the following error:
Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Creating window failed
at com.badlogic.gdx.backends.jogl.JoglApplication.(Unknown Source)
at com.foo.test.main(test.java:33)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1034)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320)
... 2 more
Caused by: java.lang.RuntimeException: couldn't find libopenal.dylib in jar file.
at com.badlogic.gdx.backends.jogl.JoglNativesLoader.load(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglNativesLoader.loadLibraries(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglApplication.initialize(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglApplication$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) What version of the product are you using? On what operating system? Using nightly build revision 1390 (downloaded January 19th, 2011), on OSX 10.6.6, using Eclipse Platform Version 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L, with Build id: M20100909-0800. Please provide any additional information below.
From navar...@gmail.com on January 21, 2011 02:52:18
This problem occurs with the latest nightly binaries (rev. 1390). What steps will reproduce the problem? 1. Create a class whose main method creates a new JoglApplication.
2. Add gdx-backend-jogl.jar and gdx-backend-jogl-natives.jar to build path
3. Build and run. What is the expected output? What do you see instead? The Jogl backend should load libopenal.dylib from gdx-backend-jogl-natives.jar/native/macosx/libopenal.dylib. However, the actual path is gdx-backend-jogl-natives.jar/native/macosx/openal.dylib.
This causes the following error:
Exception in thread "main" com.badlogic.gdx.utils.GdxRuntimeException: Creating window failed
at com.badlogic.gdx.backends.jogl.JoglApplication.(Unknown Source)
at com.foo.test.main(test.java:33)
Caused by: java.lang.reflect.InvocationTargetException
at java.awt.EventQueue.invokeAndWait(EventQueue.java:1034)
at javax.swing.SwingUtilities.invokeAndWait(SwingUtilities.java:1320)
... 2 more
Caused by: java.lang.RuntimeException: couldn't find libopenal.dylib in jar file.
at com.badlogic.gdx.backends.jogl.JoglNativesLoader.load(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglNativesLoader.loadLibraries(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglApplication.initialize(Unknown Source)
at com.badlogic.gdx.backends.jogl.JoglApplication$1.run(Unknown Source)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:199)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122) What version of the product are you using? On what operating system? Using nightly build revision 1390 (downloaded January 19th, 2011), on OSX 10.6.6, using Eclipse Platform Version 3.6.1.r361_v20100909-9gF78GrkFqw7GrsZnvz0JWNTeb6fue6896L, with Build id: M20100909-0800. Please provide any additional information below.
Original issue: http://code.google.com/p/libgdx/issues/detail?id=102
The text was updated successfully, but these errors were encountered: