Projector installation
0. Dependencies
- POSIX system: Linux, BSD, OSX, modern UNIX systems; projector does not have a windows port
- /bin/sh: POSIX shell
- C89 compiler; anything that supports ANSI C89
- libsdl1.2 (devel package with headers)
- libsdl-image1.2 (devel package with headers)
- optional: bison and flex; needed only if you want to change the syntax; ./configure --enable-bison
- optional: opengl (/usr/include/GL and -lGL); disabled by default; ./configure --enable-opengl
- optional: demo script test/fly requires plumb installed
- optional: demo script test/forest requires gawk
1. Configure
Run ./configure.
If you are on OSX, run ./configure --osx.
Run ./configure --help to see configure-time options.
The result is saved in Makefile.conf.
2. Compile
make
3. Install
make install [options]
Options:
- PREFIX=/usr (installation prefix different from what was specified in ./configure)
- DESTDIR=/tmp/build (installation destination dir for packaging)