Installation of FLTK
Note
The tar extraction directory is fltk-1.3.8 and not
fltk-1.3.8-source as indicated by the tarball name.
Install FLTK by running the following
commands:
sed -i -e '/cat./d' documentation/Makefile &&
./configure --prefix=/usr \
--enable-shared &&
make
If you wish to create the API documentation, issue:
make -C documentation html
The tests for the package are interactive. To execute the tests, run
test/unittests. In addition, there are 70 other
executable test programs in the test
directory that can be run individually.
Now, as the root
user:
make docdir=/usr/share/doc/fltk-1.3.8 install
If desired, install some example games built as a part of the tests,
extra documentation and example programs. As the root
user:
make -C test docdir=/usr/share/doc/fltk-1.3.8 install-linux &&
make -C documentation docdir=/usr/share/doc/fltk-1.3.8 install-linux