assman was renamed to assfile
[laserbrain_demo] / README.md
1 VR demo
2 =======
3
4 Run with `-vr` or make a `demo.conf` file with the line: `vr = true` to run in
5 VR mode.
6
7 Dependencies
8 ------------
9 3rd party:
10  - SDL2
11  - GLEW
12  - OpenAL (softal)
13  - assimp
14  - freetype2 (used by drawtext)
15  - libpng (used by imago2)
16  - libjpeg (used by imago2)
17  - zlib (used by libpng)
18  - libogg
19  - libvorbis
20  - Oculus SDK (used on windows by goatvr)
21
22 Nuclear's libraries:
23  - gph-math
24  - vmath
25  - imago2
26  - drawtext
27  - resman
28  - treestore
29  - goatvr
30  
31
32 Cross-compiling
33 ---------------
34 Install the mingw toolchain: `apt-get install mingw-w64`
35
36 Dependencies must be installed under `/usr/i686-w64-mingw32`. Ask nuclear for a
37 pre-compiled archive of libraries cross-compiled for win32, because they are
38 many, and it's a horrible hassle.
39
40 Source the `setup_cross_env` file which defines sys, CC, and CXX, then make
41 as usual.
42
43 Remote debugging
44 ----------------
45 Make sure `gdb-mingw-w64` is installed.
46
47 On windows do: `gdbserver demo.exe localhost:6666`
48 Then run: `i686-w64-mingw32-gdb demo.exe`
49 and use the command: `target remote alien:6666`
50 Then set breakpoints and continue.