Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Jogl Can't Find libopenal.dylib on OSX #690

Closed
badlogic opened this issue Sep 14, 2013 · 3 comments
Closed

Jogl Can't Find libopenal.dylib on OSX #690

badlogic opened this issue Sep 14, 2013 · 3 comments
Labels

Comments

@badlogic
Copy link
Member

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

@badlogic
Copy link
Member Author

From nathan.s...@gmail.com on January 21, 2011 14:27:09

Status: Accepted
Owner: nathan.sweet

@badlogic
Copy link
Member Author

From badlogicgames on January 21, 2011 15:22:16

challenge accepted by Nate :p

@badlogic
Copy link
Member Author

From nathan.s...@gmail.com on February 09, 2011 03:33:31

Verified fix in SVN.

Status: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant