From HaskellWiki
Revision as of 09:34, 15 October 2015 by Henk-Jan van Tuyl (talk | contribs) (Windows specific actions: Removed instructions with the precompiled ALUT lib)
Jump to: navigation, search

This article is a stub. You can help by expanding it.

A binding for the OpenAL Utility Toolkit


Windows specific actions

N.B. This is work in progress

Before installing the Haskell package, you need to install the C++ package of ALUT:

  • Set environment variables as follows:
Set LIBRARY_DIR=C:\Libraries
Set C_INCLUDE_PATH=%LIBRARY_DIR%\freealut-1.1.0-bin\include;%C_INCLUDE_PATH%
Set LIBRARY_PATH=%LIBRARY_DIR%\freealut-1.1.0-bin\lib;%LIBRARY_PATH%
Set PATH=%LIBRARY_DIR%\freealut-1.1.0-bin\lib;%PATH%
If you need these variables more often, set them permanently.

This is not sufficient to install the Haskell package ALUT; there will be linker errors

Maybe the C++ ALUT must be compiled from source; this requires CMake knowledge.

Additional software

  • StateVar: This package contains state variables, which are references in the IO monad, like IORefs or parts of the OpenGL state
  • OpenAL 3D sound software
  • OpenGL 3D graphics software

An alternative to ALUT might be OALWrapper