Difference between revisions of "ALUT"

From HaskellWiki
Jump to navigation Jump to search
(→‎Downloads: Darcs -> GitHub link)
(Added section "Windows specific actions")
Line 8: Line 8:
 
* Hackage: https://hackage.haskell.org/package/ALUT
 
* Hackage: https://hackage.haskell.org/package/ALUT
 
* Repository: git clone https://github.com/haskell-openal/ALUT
 
* Repository: git clone https://github.com/haskell-openal/ALUT
  +
  +
== Windows specific actions ==
  +
  +
Before installing the Haskell package, you need to install the C++ package of ALUT:
  +
* download the [https://web.archive.org/web/20110416043520/http://connect.creativelabs.com/openal/Downloads/ALUT/freealut-1.1.0-bin.zip ALUT zip file] from the web archive.
  +
* unzip this to, for example, <code>C:\Libraries</code>
  +
* Set environment variables as follows:
  +
<pre>
  +
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%
  +
</pre>
  +
:If you need these variables more often, [http://support.microsoft.com/kb/310519 set them globally].
   
 
== Additional software ==
 
== Additional software ==

Revision as of 15:26, 13 October 2015

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

A binding for the OpenAL Utility Toolkit


Downloads

Windows specific actions

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

  • download the ALUT zip file from the web archive.
  • unzip this to, for example, C:\Libraries
  • 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 globally.

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