My favorites | Sign in
Project Home Downloads Wiki Issues Source
Checkout   Browse   Changes    
 
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
Compilation guide for the brave souls
=====================================

Linux/Mac OS X
--------------

1. Set up a Haskell environment
- Add ~/.cabal/bin to your path. (Mac OS X: ~/Library/Haskell/bin)
- If you can, install the Haskell Platform, cabal install c2hs and
proceed to step 2.
- If the HP is not available or you prefer the cutting edge:
- Get the GHC compiler from <http://haskell.org/ghc/> and run
./configure ; make install.
- Fetch the cabal-install source from
<http://hackage.haskell.org/package/cabal-install> and run
./bootstrap.sh.
- cabal update
- cabal install happy
- cabal install alex
- cabal install c2hs
2. Install Bullet 2.79.
- If you don't have cmake yet, install it.
- Get the bullet-2.79 tarball from
<http://code.google.com/p/bullet/downloads>.
- cmake .
- make ; sudo make install
3. Install LambdaCube packages
- cabal install stunts (this depends on everything else)
- cabal install lambdacube-examples (optional)
- Follow instructions displayed by stunts to fetch the data for the
game.

Windows
-------

1. Install Haskell Platform
- Get installer from <http://hackage.haskell.org/platform/>.
- Run it with the default settings.
- cabal update
2. Install mingw32-make in the MinGW bundled with HP
- Add "%HP%\mingw\bin" to your path where %HP% is the Haskell
Platform installation directory (you should also create HP as an
environment variable to make the rest easier).
- Fetch the archive for mingw32-make-3.81.90 from
<http://sourceforge.net/projects/mingw/files/MinGW/make/make-3.81.90-20100618-mingw32/make-3.81.90-20100618-1-mingw32-bin.tar.lzma/download>
- Extract the file (7zip will work) to "%HP%\mingw" (you only need
the exe file from the archive to go to "%HP%\mingw\bin")
3. Install CMake
- Get installer from
<http://www.cmake.org/cmake/resources/software.html>
- Run it with the default settings
4. Install Bullet 2.79
- Get the source from <http://code.google.com/p/bullet/downloads>
- Fire up the command line and navigate to the root of the Bullet
source tree
- cmake -DBUILD_DEMOS:BOOL=OFF -DBUILD_EXTRAS:BOOL=OFF -DINSTALL_LIBS:BOOL=ON -DCMAKE_INSTALL_PREFIX:PATH="%HP%\mingw" -G "MinGW Makefiles" .
- mingw32-make ; mingw32-make install
5. Install LambdaCube components
- cabal install c2hs
- Fetch the source from <http://code.google.com/p/lambdacube/source/checkout>
- Enter the bullet dir; cabal install
- Enter the lambdacube-engine dir; cabal install
- Optional: enter the lambdacube-examples dir; cabal install
(You can try running lambdacube-basic and lambdacube-cameratrack
now, they should be in your path.)
- Enter the lambdacube-bullet dir; cabal install
6. Install Stunts
- Enter the hStunts dir; cabal install
- Run with "stunts" (should be in your path right away).
- Follow the instructions to fetch the data for the game.

Change log

r161 by csaba.hruska on Feb 17, 2012   Diff
update referenced bullet version
Go to: 
Project members, sign in to write a code review

Older revisions

r127 by patai.gergely on Jun 22, 2011   Diff
adjusted cabal files and readmes
r126 by csaba.hruska on Jun 22, 2011   Diff
added info for OSX
r123 by patai.gergely on Jun 22, 2011   Diff
added compilation guide, removed game
archive
All revisions of this file

File info

Size: 3002 bytes, 70 lines
Powered by Google Project Hosting