reflex-glfw
awaits to be released on Hackage:
- progress
- https://github.com/deepfire/reflex-glfw/milestone/1
- post issues here
- https://github.com/deepfire/reflex-glfw/issues
- general feedback here
- #7
reflex-glfw
is an adapter between Reflex, a Haskell FRP framework and
GLFW-b, a set of GLFW bindings.
The home of reflex-glfw
is at its Github page:
https://github.com/deepfire/reflex-glfw
reflex-glfw depends on a pre-release version of reflex
, which means having
to jump through extra hoops to use reflex-glfw.
By far the easiest and most reliable way to do this is to employ the Nix package manager, which, unless you already have it, has to be installed first, of course:
Once you have Nix installed, building the demo is as easy as:
# First, enter the fixed environment (NOTE: this can take a while):
nix-shell --no-build-output
# ..then, inside the shell:
cabal build
dist/build/reflex-glfw-demo/reflex-glfw-demo
In case you happen upon #4, at least for nVidia GPUs there’s a semi-automated solution based on https://github.com/deepfire/nix-install-vendor-gl:
git clone https://github.com/deepfire/nix-install-vendor-gl
. ./nix-install-vendor-gl/nix-install-vendor-gl.sh