Skip to content

lambdacube3d/lambdacube-gl

Repository files navigation

lambdacube-gl

Gitter chat

Haskell OpenGL backend for LambdaCube 3D.

Building instructions

  1. 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.

  2. Install Haskell Stack by following it's simple install manual.

  3. Checkout the this repository then run the following commands.

stack setup
stack build
  1. Run the examples.
cd examples
stack exec lambdacube-gl-hello
stack exec lambdacube-gl-hello-obj

Tutorials and Examples