buggins / dlangui

Cross Platform GUI for D programming language
Boost Software License 1.0
816 stars 122 forks source link

When building under Windows 10 it crashes on run with "OpenGL error GL_INVALID_ENUM" #610

Closed bartland closed 1 year ago

bartland commented 4 years ago

from the ui.log

2020-08-19 17:57:14.524 E  OpenGL error GL_INVALID_ENUM at dlangui.graphics.glsupport.GLProgram.compile:214 -- fromStringz
2020-08-19 17:57:14.524 D  compileShader: glslVersion = , type: GL_VERTEX_SHADER
bartland commented 4 years ago

Fixed by adding the following to my dub.json

"dflags": [ "-version=NO_OPENGL" ]

It would be good to add this to the notes at https://github.com/buggins/dlangui/wiki/Getting-Started

Thanks for a great project

GrimMaple commented 1 year ago

I'm closing build related issues since we have CI now. Please reopen if not fixed :)