Personal tools

ALUT

From HaskellWiki

(Difference between revisions)
Jump to: navigation, search
(Windows specific actions: New link for env var setting)
(Windows specific actions: Added w.i.p. messages)
Line 10: Line 10:
  
 
== Windows specific actions ==
 
== Windows specific actions ==
 +
 +
'''N.B. This is work in progress; if you know how to do this, please edit this subsection'''
  
 
Before installing the Haskell package, you need to install the C++ package of ALUT:  
 
Before installing the Haskell package, you need to install the C++ package of ALUT:  
Line 22: Line 24:
 
</pre>
 
</pre>
 
:If you need these variables more often, set them [http://www.computerhope.com/issues/ch000549.htm permanently].
 
:If you need these variables more often, set them [http://www.computerhope.com/issues/ch000549.htm permanently].
 +
 +
'''This is not sufficient to install the Haskell package ALUT; there will be linker errors'''
 +
 +
Maybe the C++ ALUT must be compiled from [https://github.com/vancegroup/freealut source]; this requires [https://cmake.org/ CMake] knowledge.
  
 
== Additional software ==
 
== Additional software ==

Revision as of 20:48, 13 October 2015

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

A binding for the OpenAL Utility Toolkit


1 Downloads

2 Windows specific actions

N.B. This is work in progress; if you know how to do this, please edit this subsection

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

3 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