"Deprecated Carbon Component Manager" on OS X El Capitan #3572

Closed
IKIGames opened this Issue Nov 17, 2015 · 7 comments

Projects

None yet

4 participants

@IKIGames

Hello! After updating to OS X El Capitan I'm seeing the following warning when launching LibGDX games:

"WARNING: 140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h."

This is an OpenAL-Soft issue, which has already been fixed. According to this thread in LWJGL forums, for updating LWJGL2 apps "it should just be matter of dropping the latest openal-soft natives (which you can grab them from the nightly builds of LWJGL3) over the old natives". But I'm not sure if that applies to LibGDX apps too.

Notice that the current nightly build of LWJGL does not include the updated OpenAL-Soft library (yet.)

@badlogic
Member

LWJGL needs to release this to Maven Central so we can consume it.
On Nov 17, 2015 12:43 PM, "NagiQ" notifications@github.com wrote:

Hello! After updating to OS X El Capitan I'm seeing the following warning
when launching LibGDX games:

"WARNING: 140: This application, or a library it uses, is using the
deprecated Carbon Component Manager for hosting Audio Units. Support for
this will be removed in a future release. Also, this makes the host
incompatible with version 3 audio units. Please transition to the API's in
AudioComponent.h."

This is an OpenAL-Soft issue, which has already been fixed
kcat/openal-soft#20. According to this thread
in LWJGL forums http://forum.lwjgl.org/index.php?topic=5994.0, for
updating LWJGL2 apps "it should just be matter of dropping the latest
openal-soft natives (which you can grab them from the nightly builds of
LWJGL3) over the old natives". But I'm not sure if that applies to LibGDX
apps too. We could update openal.dylib in the natives-osx jar, but I think
liblwjgl.dylib is also referencing the deprecated Carbon library (otool -L
shows that).

Notice that the current nightly build of LWJGL does not include the
updated OpenAL-Soft library (yet.)


Reply to this email directly or view it on GitHub
#3572.

@IKIGames

OK. Meanwhile, I tried the following:

  1. Download latest LWJGL3 build.
  2. Grab native libopenal.dylib and drop file over native openal lib currently packed with LibGDX.
  3. Warning should be gone.
    liblwjgl.dylib is fine, no need to mess with it.
@JackNel JackNel added a commit to JackNel/JacksGame that referenced this issue Dec 14, 2015
@JackNel JackNel Example of a looping sound file
*Not, need to dowload nightly version of latest LWJGL3 build for sound to work in html.

see libgdx/libgdx#3572 for details
9be1e61
@AndyBarron

I'm also getting this warning message. Any ETA on a fix? 😃

@IKIGames

A caveat: don't use the OpenAL bundled with LWJGL3 if you need support for OS X < 10.9. Compile it yourself.

@sarith
sarith commented Jun 15, 2016

LWJGL 2 will probably never get these new versions of the openal-soft natives, for supporting older projects and for lack of further development on LWJGL 2. I'm mostly speculating, but I think my assumption is probably correct.

If/when newer versions of OS X drop support for the older Carbon Component Manager, LWJGL 2 functionality (and therefore libgdx) will probably go with it :( Unless libgdx upgrades to LWJGL 3 at some point in the future.

@badlogic
Member

libGDX has LWJGL3 support
On Jun 15, 2016 4:35 AM, "Sarith Demuni" notifications@github.com wrote:

LWJGL 2 will probably never get these new versions of the openal-soft
natives, for supporting older projects and for lack of further development
on LWJGL 2. I'm mostly speculating, but I think my assumption is probably
correct.

If/when newer versions of OS X drop support for the older Carbon Component
Manager, LWJGL 2 functionality (and therefore libgdx) will probably go with
it :( Unless libgdx upgrades to LWJGL 3 at some point in the future.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#3572 (comment), or mute
the thread
https://github.com/notifications/unsubscribe/AAfYBOt73CldooZ_-GJB1SL_g2uB1BQsks5qL2TjgaJpZM4GjwuP
.

@badlogic
Member

No fix for LWJGL2 will come, and it's working with LWJGL3. Closing.

@badlogic badlogic closed this Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment