Haskell OpenGL backend for LambdaCube 3D.
-
On Linux install the following libraries. i.e. on Ubuntu:
sudo apt install libgl1-mesa-dev libxi-dev libxcursor-dev libxinerama-dev libxrandr-dev zlib1g-dev
For other Linux distributions make sure the corresponing packages are installed.
These libraries required for OpenGL development.
-
Install Haskell Stack by following it's simple install manual.
-
Checkout the this repository then run the following commands.
stack setup
stack build
- Run the examples.
cd examples
stack exec lambdacube-gl-hello
stack exec lambdacube-gl-hello-obj