FLTK-1.3.2

Introduction to FLTK

FLTK (pronounced "fulltick") is a cross-platform C++ GUI toolkit. FLTK provides modern GUI functionality and supports 3D graphics via OpenGL and its built-in GLUT emulation libraries used for creating graphical user interfaces for applications.

This package is known to build and work properly using an LFS-7.5 platform.

Package Information

Additional Downloads

FLTK Dependencies

Required

GLU-9.0.0 MesaLib-10.2.6, and Xorg Libraries,

Recommended

Optional

alsa-lib-1.0.28, Doxygen-1.8.8, and texlive-20140525,

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/fltk

Installation of FLTK

[Note]

Note

The tar extraction directory is fltk-1.3.2 and not fltk-1.3.2-source as indicated by the tarball name.

Install FLTK by running the following commands:

patch -Np1 -i ../fltk-1.3.2-tigervnc-1.patch     &&
patch -Np1 -i ../fltk-1.3.2-dynamic_libs-1.patch &&
sed -i -e '/FL_PATCH_VERSION=/ s/1/2/' configure &&
sed -i -e '/cat./d' documentation/Makefile       &&

./configure --prefix=/usr    \
            --enable-threads \
            --enable-xft     \
            --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.2 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 install-linux &&
make -C documentation install-linux

Command Explanations

patch ...tigervnc-1.patch: Install patches to make the libraries compatible with tigervnc.

patch ...dynamic_libs-1.patch: Allow building dynamic libraries.

sed ... configure: configure: Fix output of fltk-config --version.

sed ... documentation/Makefile: Avoid installing pages in /usr/share/man/cat*.

Contents

Installed Programs: blocks, checkers, fltk-config, fluid, and sudoku
Installed Libraries: libfltk.{a,so}, libfltk_forms.{a,so}, libfltk_gl.{a,so}, and libfltk_images.{a,so}
Installed Directories: /usr/include/FL and /usr/share/doc/fltk-1.3.2

Short Descriptions

fltk-config

is a utility script that can be used to get information about the current version of FLTK that is installed on the system.

fluid

is an interactive GUI designer for FLTK.

libfltk.so

contains functions that provide an API to implement graphical user interfaces.

Last updated on 2014-05-18 18:40:17 -0500