imgui: Imgui not compatible with Mac OS 10.11.4 and LibGDX 1.9.9

Exception in thread “main” com.badlogic.gdx.utils.GdxRuntimeException: java.lang.Exception: ERROR: 0:3: ‘’ :  version ‘150’ is not supported

    at com.badlogic.gdx.backends.lwjgl3.Lwjgl3Application.<init>(Lwjgl3Application.java:117)
    at com.x.prototype.desktop.DesktopLauncher.main(DesktopLauncher.kt:21)
Caused by: java.lang.Exception: ERROR: 0:3: ‘’ :  version ‘150’ is not supported

    at gln.objects.GlShader$Companion.createFromSource-RHQEpZs(shader.kt:70)
    at imgui.impl.ImplGL3.createDeviceObjects(ImplGL3.kt:57)
    at imgui.impl.LwjglGlfw.newFrame(LwjglGlfw.kt:107)

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 62

Most upvoted comments

No issues with OpenGL2 on Mac so far 👍

Sorry I can not test It right now but I will check It tomorrow. I can also try with latest JDK after testing your change.

That’s due to the compilation failing on getDrawData. I’ll see if I can modify the code to fix it, but it’s doubtful

Good this one works correctly! 👍

ps: ImGui.drawData?.run(LwjglGlfw.instance::renderDrawData)

I know what I did wrong, will be fixed in an hour or two

On Wed, Feb 13, 2019, 06:13 alex-dorokhov <notifications@github.com wrote:

I’ve also tried the latest version from ImplGL2 (with libgdx 1.9.8 though) and got this stacktrace:

java.lang.Exception: ERROR: 0:7: Invalid storage qualifiers ‘in’ in global variable context

ERROR: 0:8: Invalid storage qualifiers ‘in’ in global variable context

ERROR: 0:9: Invalid storage qualifiers ‘in’ in global variable context

ERROR: 0:11: Invalid storage qualifiers ‘out’ in global variable context

ERROR: 0:12: Invalid storage qualifiers ‘out’ in global variable context

ERROR: 0:16: Use of undeclared identifier ‘uv’

ERROR: 0:16: Use of undeclared identifier ‘UV’

ERROR: 0:17: Use of undeclared identifier ‘color’

ERROR: 0:17: Use of undeclared identifier ‘Color’

ERROR: 0:18: Use of undeclared identifier ‘Position’

at gln.objects.GlShader$Companion.createFromSource-RHQEpZs(shader.kt:70)

at imgui.impl.ImplGL2.createDeviceObjects(ImplGL2.kt:49)

at imgui.impl.LwjglGlfw.newFrame(LwjglGlfw.kt:154)

at imgui.impl.LwjglGlfw$Companion.newFrame(LwjglGlfw.kt:34)

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/kotlin-graphics/imgui/issues/72#issuecomment-463177231, or mute the thread https://github.com/notifications/unsubscribe-auth/AOafQCdtyRvy9ZrTp2-k1G1QUlfLTR2uks5vNAFlgaJpZM4a1-Fb .

OpenGL2 support is live in the ImplGL2 branch. Give it a shot and see if it works for you.