Boneheaded question regarding compilation...

Dennis dkorpel at gmail.com
Tue Apr 2 19:40:41 UTC 2024


On Tuesday, 2 April 2024 at 18:21:58 UTC, Mike Shah wrote:
> An easier fix may be perhaps to just use 'dub' and install the 
> glfw dependency. In my talk, I did everything from scratch (my 
> preferred way), though I suspect using dub with glfw-d 
> (https://code.dlang.org/packages/glfw-d) may provide less 
> resistance.

glfw-d also provides an OpenGL hello world triangle example:

https://github.com/dkorpel/glfw-d/tree/master/examples/triangle-gl

It uses bindbc-opengl instead of glad to load OpenGL functions.


More information about the Digitalmars-d-learn mailing list