Last active
November 15, 2016 03:04
-
-
Save lcharette/e538fb0f01794e752d9b2b2ca08d1b51 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
malou$ java -cp "bin/*" -Djava.library.path=native blueprint.Blueprint | |
Operating system detected: MacOS | |
Starting Blueprint v0021.. Good luck! | |
Current folder: /Users/malou/Downloads/Blueprint0021 | |
Initializing database.. | |
Cache is up to date. | |
Exception in Application start method | |
java.lang.reflect.InvocationTargetException | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at com.sun.javafx.application.LauncherImpl.launchApplicationWithArgs(LauncherImpl.java:389) | |
at com.sun.javafx.application.LauncherImpl.launchApplication(LauncherImpl.java:328) | |
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | |
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) | |
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) | |
at java.lang.reflect.Method.invoke(Method.java:498) | |
at sun.launcher.LauncherHelper$FXHelper.main(LauncherHelper.java:767) | |
Caused by: java.lang.RuntimeException: Exception in Application start method | |
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917) | |
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182) | |
at java.lang.Thread.run(Thread.java:745) | |
Caused by: java.lang.UnsatisfiedLinkError: org.lwjgl.system.JNI.invokeIIV(JII)V | |
at org.lwjgl.system.JNI.invokeIIV(Native Method) | |
at org.lwjgl.glfw.GLFW.glfwWindowHint(Unknown Source) | |
at blueprint.opengl.a.c(Unknown Source) | |
at blueprint.opengl.a.<init>(Unknown Source) | |
at blueprint.opengl.d.<init>(Unknown Source) | |
at blueprint.opengl.b.<init>(Unknown Source) | |
at blueprint.b.b.a.a(Unknown Source) | |
at blueprint.Blueprint.b(Unknown Source) | |
at blueprint.Blueprint.initApp(Unknown Source) | |
at a.a.start(Unknown Source) | |
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863) | |
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326) | |
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295) | |
at java.security.AccessController.doPrivileged(Native Method) | |
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294) | |
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95) | |
Exception running application blueprint.Blueprint |
That's what I did before. Got the latest native from the LWJGL website, put them in a folder and reference it with -Djava.library.path=
Same error as the one before your message using your native bundle: NSGL: The targeted version of macOS only supports core profile contexts for OpenGL 3.2 and above
java -cp ./bin/*:./native:/usr/lib -Djava.library.path=./native/ -Dorg.lwjgl.util.Debug=true -Dorg.lwjgl.util.DebugLoader=true blueprint.Blueprint
Operating system detected: MacOS
Starting Blueprint v0021.. Good luck!
Current folder: /Users/malou/Downloads/Blueprint0021
Initializing database..
Database is located in: /Users/malou/.Blueprint/database/brickcache.db
Cache is up to date (1x2248)
[LWJGL] Version: 3.1.0 SNAPSHOT
[LWJGL] OS: Mac OS X v10.12.2
[LWJGL] JRE: 1.8.0_112 x86_64
[LWJGL] JVM: Java HotSpot(TM) 64-Bit Server VM v25.112-b16 by Oracle Corporation
[LWJGL] Loading library (system): lwjgl
[LWJGL] Using SharedLibraryLoader...
[LWJGL] Extracting: /Users/malou/Downloads/Blueprint0021/native/liblwjgl.dylib
[LWJGL] Loaded from org.lwjgl.librarypath: /var/folders/zc/nd26_9l51lbbfr5sf1l64qfr0000gn/T/lwjglmalou/3.1.0-SNAPSHOT/liblwjgl.dylib
[LWJGL] Loading library: glfw
[LWJGL] Using SharedLibraryLoader...
[LWJGL] Extracting: /Users/malou/Downloads/Blueprint0021/native/libglfw.dylib
[LWJGL] ThreadLocalUtil state: ThreadLocalUtil$UnsafeState
[LWJGL] MemoryUtil accessor: MemoryAccess$MemoryAccessorUnsafe
[LWJGL] Loaded from org.lwjgl.librarypath: /var/folders/zc/nd26_9l51lbbfr5sf1l64qfr0000gn/T/lwjglmalou/3.1.0-SNAPSHOT/libglfw.dylib
[LWJGL] Loading library: jemalloc
[LWJGL] Using SharedLibraryLoader...
[LWJGL] Extracting: /Users/malou/Downloads/Blueprint0021/native/libjemalloc.dylib
[LWJGL] Loaded from org.lwjgl.librarypath: /var/folders/zc/nd26_9l51lbbfr5sf1l64qfr0000gn/T/lwjglmalou/3.1.0-SNAPSHOT/libjemalloc.dylib
[LWJGL] MemoryUtil allocator: JEmallocAllocator
[LWJGL] Loading library: objc
[LWJGL] Using SharedLibraryLoader...
[LWJGL] Extracting: /usr/lib/libobjc.dylib
[LWJGL] Loaded from org.lwjgl.librarypath: /var/folders/zc/nd26_9l51lbbfr5sf1l64qfr0000gn/T/lwjglmalou/3.1.0-SNAPSHOT/libobjc.dylib
java.lang.IllegalStateException: GLFW error [0x10007]: NSGL: The targeted version of macOS only supports core profile contexts for OpenGL 3.2 and above
at org.lwjgl.glfw.GLFWErrorCallback$2.invoke(Unknown Source)
at org.lwjgl.glfw.GLFWErrorCallbackI.callback(Unknown Source)
at org.lwjgl.system.JNI.invokePPPP(Native Method)
at org.lwjgl.glfw.GLFW.nglfwCreateWindow(Unknown Source)
at org.lwjgl.glfw.GLFW.glfwCreateWindow(Unknown Source)
at blueprint.opengl.a.c(Unknown Source)
at blueprint.opengl.a.<init>(Unknown Source)
at blueprint.opengl.d.<init>(Unknown Source)
at blueprint.opengl.b.<init>(Unknown Source)
at blueprint.b.b.a.a(Unknown Source)
at blueprint.Blueprint.b(Unknown Source)
at blueprint.Blueprint.initApp(Unknown Source)
at a.a.start(Unknown Source)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
Just realized it's NOT the same issue as before. Before it used to be related to Forward compatibility
, now it's related to core profile context : NSGL: The targeted version of macOS only supports core profile contexts for OpenGL 3.2 and above
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can find natives for the last version here: https://drive.google.com/open?id=0BzUUT2x-DvwQQ0E5SDZEbjEyUDg
just put them in a folder and reference it with -Djava.library.path=
Sorry for the inconvenience :)