[Haskell-cafe] up-to-date glfw examples

Anthony Cowley acowley at seas.upenn.edu
Fri Jun 24 04:27:23 UTC 2016

briand at aracnet.com writes:

> Hi,
> I've been looking but the examples are all fairly old and are broken in both imports from glfw and opengl.
> Just looking for very basic examples that work with the current versions of glfw-b and opengl.
> Thank you,
> Brian

They're not entirely minimal, but the vinyl-gl repo [1] includes two example programs that can get you going with both glfw-b and opengl. I added a stack file, so you should be able to clone the repo, then,

stack build
cd examples
stack exec game2d
stack exec demo3d



[1] https://github.com/acowley/vinyl-gl

More information about the Haskell-Cafe mailing list