jMonkeyEngine / jMonkeyEngine/jmonkeyengine

Mac OS: OpenAL UnsatisfiedLinkError when trying to use specific core profiles

Open
#1,305 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

defect Needs investigation
Dominant language
Java
Stars
4.3k
Forks
1.2k
Avg merge
4d 7h
Merged PRs (30d)
14

Description

In this case it happens for the 3.3 core profile, at least, we need to look into that.
I think on Mac OS X, 3.2 is the only supported core profile and thus maybe this happens because OpenAL isn't extracted as the Graphics fail to initialize?

Stuff to investigate, at least.

Caused by: java.lang.UnsatisfiedLinkError: 'java.lang.String org.lwjgl.openal.AL10.nalGetString(int)'
	at org.lwjgl.openal.AL10.nalGetString(Native Method)
	at org.lwjgl.openal.AL10.alGetString(AL10.java:524)
	at com.jme3.audio.lwjgl.LwjglAL.alGetString(LwjglAL.java:16)
	at com.jme3.audio.openal.ALAudioRenderer.initOpenAL(ALAudioRenderer.java:134)
	at com.jme3.audio.openal.ALAudioRenderer.initialize(ALAudioRenderer.java:225)
	at com.jme3.app.LegacyApplication.initAudio(LegacyApplication.java:283)
	at com.jme3.app.LegacyApplication.initialize(LegacyApplication.java:602)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the reported call path from com.jme3.system.lwjgl.LwjglAbstractDisplay through LegacyApplication and ALAudioRenderer to com.jme3.audio.lwjgl.LwjglAL and org.lwjgl.openal.AL10. Reproduce the failure on macOS with the 3.3 core profile, then determine whether graphics initialization or OpenAL extraction causes the UnsatisfiedLinkError. Done means the cause is confirmed and the affected initialization path works or reports the limitation clearly.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
audio-video-rtc
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.