Skip to content
This repository has been archived by the owner on Jul 6, 2018. It is now read-only.

gdx-freetype dylib errors #113

Open
robzienert opened this issue Apr 14, 2014 · 0 comments
Open

gdx-freetype dylib errors #113

robzienert opened this issue Apr 14, 2014 · 0 comments
Labels

Comments

@robzienert
Copy link
Member

java.lang.UnsatisfiedLinkError: /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: dlopen(/private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib, 1): no suitable image found.  Did find:
    /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:269)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:238)
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:108)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeType.initFreeType(FreeType.java:541)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:102)
    at io.zerocontribution.winter.ui.UIManager.<init>(UIManager.java:44)
    at io.zerocontribution.winter.ui.UIManager.<clinit>(UIManager.java:22)
    at io.zerocontribution.winter.ui.groups.CharacterSelection.<init>(CharacterSelection.java:34)
    at io.zerocontribution.winter.client.screens.LobbyScreen.createCharacterSelection(LobbyScreen.java:116)
    at io.zerocontribution.winter.client.screens.LobbyScreen.show(LobbyScreen.java:77)
    at com.badlogic.gdx.Game.setScreen(Game.java:62)
    at io.zerocontribution.winter.client.screens.JoinCreateGameScreen$1.touchDown(JoinCreateGameScreen.java:34)
    at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
    at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:165)
    at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:136)
    at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
    at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:88)
    at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:300)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:200)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
java.lang.UnsatisfiedLinkError: /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/45c76d8b1929744924850714459.tmp: dlopen(/private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/45c76d8b1929744924850714459.tmp, 1): no suitable image found.  Did find:
    /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/45c76d8b1929744924850714459.tmp: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:269)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:244)
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:108)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeType.initFreeType(FreeType.java:541)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:102)
    at io.zerocontribution.winter.ui.UIManager.<init>(UIManager.java:44)
    at io.zerocontribution.winter.ui.UIManager.<clinit>(UIManager.java:22)
    at io.zerocontribution.winter.ui.groups.CharacterSelection.<init>(CharacterSelection.java:34)
    at io.zerocontribution.winter.client.screens.LobbyScreen.createCharacterSelection(LobbyScreen.java:116)
    at io.zerocontribution.winter.client.screens.LobbyScreen.show(LobbyScreen.java:77)
    at com.badlogic.gdx.Game.setScreen(Game.java:62)
    at io.zerocontribution.winter.client.screens.JoinCreateGameScreen$1.touchDown(JoinCreateGameScreen.java:34)
    at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
    at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:165)
    at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:136)
    at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
    at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:88)
    at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:300)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:200)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
java.lang.UnsatisfiedLinkError: /Users/rzienert/.libgdx/45c76d8b/libgdx-freetype.dylib: dlopen(/Users/rzienert/.libgdx/45c76d8b/libgdx-freetype.dylib, 1): no suitable image found.  Did find:
    /Users/rzienert/.libgdx/45c76d8b/libgdx-freetype.dylib: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:269)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:250)
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:108)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeType.initFreeType(FreeType.java:541)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:102)
    at io.zerocontribution.winter.ui.UIManager.<init>(UIManager.java:44)
    at io.zerocontribution.winter.ui.UIManager.<clinit>(UIManager.java:22)
    at io.zerocontribution.winter.ui.groups.CharacterSelection.<init>(CharacterSelection.java:34)
    at io.zerocontribution.winter.client.screens.LobbyScreen.createCharacterSelection(LobbyScreen.java:116)
    at io.zerocontribution.winter.client.screens.LobbyScreen.show(LobbyScreen.java:77)
    at com.badlogic.gdx.Game.setScreen(Game.java:62)
    at io.zerocontribution.winter.client.screens.JoinCreateGameScreen$1.touchDown(JoinCreateGameScreen.java:34)
    badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
    at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:165)
    at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:136)
    at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
    at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:88)
    at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:300)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:200)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
java.lang.UnsatisfiedLinkError: /Users/rzienert/personal/winter-game/desktop/.temp/45c76d8b/libgdx-freetype.dylib: dlopen(/Users/rzienert/personal/winter-game/desktop/.temp/45c76d8b/libgdx-freetype.dylib, 1): no suitable image found.  Did find:
    /Users/rzienert/personal/winter-game/desktop/.temp/45c76d8b/libgdx-freetype.dylib: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:269)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:254)
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:108)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeType.initFreeType(FreeType.java:541)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:102)
    at io.zerocontribution.winter.ui.UIManager.<init>(UIManager.java:44)
    at io.zerocontribution.winter.ui.UIManager.<clinit>(UIManager.java:22)
    at io.zerocontribution.winter.ui.groups.CharacterSelection.<init>(CharacterSelection.java:34)
    at io.zerocontribution.winter.client.screens.LobbyScreen.createCharlection(LobbyScreen.java:116)
    at io.zerocontribution.winter.client.screens.LobbyScreen.show(LobbyScreen.java:77)
    at com.badlogic.gdx.Game.setScreen(Game.java:62)
    at io.zerocontribution.winter.client.screens.JoinCreateGameScreen$1.touchDown(JoinCreateGameScreen.java:34)
    at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
    at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:165)
    at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:136)
    at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
    at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:88)
    at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:300)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:200)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
Exception in thread "LWJGL Application" com.badlogic.gdx.utils.GdxRuntimeException: java.lang.ExceptionInInitializerError
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:120)
Caused by: java.lang.ExceptionInInitializerError
    at io.zerocontribution.winter.ui.groups.CharacterSelection.<init>(CharacterSelection.java:34)
    at io.zerocontribution.winter.client.screens.LobbyScreen.createCharacterSelection(LobbyScreen.java:116)
    at io.zerocontribution.winter.client.screens.LobbyScreen.show(LobbyScreen.java:77)
    at com.badlogic.gdx.Game.setScreen(Game.java:62)
    at io.zerocontribution.winter.client.screens.JoinCreateGameScreen$1.touchDown(JoinCreateGameScreen.java:34)
    at com.badlogic.gdx.scenes.scene2d.InputListener.handle(InputListener.java:55)
    at com.badlogic.gdx.scenes.scene2d.Actor.notify(Actor.java:165)
    at com.badlogic.gdx.scenes.scene2d.Actor.fire(Actor.java:136)
    at com.badlogic.gdx.scenes.scene2d.Stage.touchDown(Stage.java:277)
    at com.badlogic.gdx.InputMultiplexer.touchDown(InputMultiplexer.java:88)
    at com.badlogic.gdx.backends.lwjgl.LwjglInput.processEvents(LwjglInput.java:300)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication.mainLoop(LwjglApplication.java:200)
    at com.badlogic.gdx.backends.lwjgl.LwjglApplication$1.run(LwjglApplication.java:114)
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: Couldn't load shared library 'libgdx-freetype.dylib' for target: Mac OS X, 32-bit
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:110)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeType.initFreeType(FreeType.java:541)
    at com.badlogic.gdx.graphics.g2d.freetype.FreeTypeFontGenerator.<init>(FreeTypeFontGenerator.java:102)
    at io.zerocontribution.winter.ui.UIManager.<init>(UIManager.java:44)
    at io.zerocontribution.winter.ui.UIManager.<clinit>(UIManager.java:22)
    ... 13 more
Caused by: com.badlogic.gdx.utils.GdxRuntimeException: java.lang.UnsatisfiedLinkError: /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: dlopen(/private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib, 1): no suitable image found.  Did find:
    /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: mach-o, but wrong architecture
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:263)
    at com.badlogic.gdx.utils.SharedLibraryLoader.load(SharedLibraryLoader.java:108)
    ... 17 more
Caused by: java.lang.UnsatisfiedLinkError: /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: dlopen(/private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib, 1): no suitable image found.  Did find:
    /private/var/folders/q2/j90ckzv54q35g7z3416x3kr400019b/T/libgdxrzienert/45c76d8b/libgdx-freetype.dylib: mach-o, but wrong architecture
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
    at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
    at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1851)
    at java.lang.Runtime.load0(Runtime.java:795)
    at java.lang.System.load(System.java:1062)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:269)
    at com.badlogic.gdx.utils.SharedLibraryLoader.loadFile(SharedLibraryLoader.java:238)
    ... 18 more
@robzienert robzienert added the bug label Apr 14, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant