-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
52 lines (39 loc) · 1.13 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Maintainer: [email protected]
Build:
$ cabal configure
$ cabal build
$ ./run
Edit the RTS flag "-N" in ./run to match your number of CPUs - 1, as we need
one core dedicated to pulseaudio. So:
-N1 for dual core
-N3 for quad core
===============================================================================
Drool has the following platform dependencies.
On Debian / Ubuntu platforms, install them via apt-get install <package-name>:
- libgtk-dev
- libglib2.0-dev
- libglade2-dev
- fftw3-dev
- libpulse-dev
- FTGL
Drool depends on the following hackage modules.
Install them via cabal install <package-name>:
- mtl
- array
- OpenGL
- GLUT
- FTGL
- glade
- gtk
- gtkglext
- gtk2hs-cast-glade
- pulse-simple
- mtl
- hmatrix
- fft
You might need to patch the drool.cabal configuration file a bit.
Drool has been successfully built with ghc-7.2 on Windows (without PulseAudio
and FFT) and ghc-7.4 on Ubuntu. It should work with any version of ghc6, though.
!!! Note that the Haskell Gtk bindings (gtk2hs) lead to segmentation faults when
!!! built with ghc-7.2 on Linux - it's not my fault, the gtk2hs maintainers are
!!! working on it.