FLTK-1.3.4-2

#### Beyond Linux® From Scratch - Version 2019-02-27

### Chapter 25. X Libraries

- Prev

  colord-gtk-0.1.26

- Next

  Freeglut-3.0.0

- Up
- Home

# FLTK-1.3.4-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-8.4 platform.

### Package Information

- Download (HTTP): http://fltk.org/pub/fltk/1.3.4/fltk-1.3.4-2-source.tar.gz

- Download MD5 sum: b8e291343357e49dd81a22408744e400

- Download size: 5.0 MB

- Estimated disk space required: 117 MB (with documentation)

- Estimated build time: 0.2 SBU (Using parallelism=4)

### FLTK Dependencies

#### Required

Xorg Libraries

#### Recommended

hicolor-icon-theme-0.17, libjpeg-turbo-2.0.2, and libpng-1.6.36

#### Optional

alsa-lib-1.1.8, desktop-file-utils-0.23, Doxygen-1.8.15, GLU-9.0.0, Mesa-18.3.3, and texlive-20180414 (or install-tl-unx)

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

## Installation of FLTK

### Note

The tar extraction directory is fltk-1.3.4-2 and not fltk-1.3.4-2-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.4-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          docdir=/usr/share/doc/fltk-1.3.4-2 install-linux &&
    make -C documentation docdir=/usr/share/doc/fltk-1.3.4-2 install-linux

## Command Explanations

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.4-2

### Short Descriptions

blocks | is a FLTK-based block elimination game.
checkers | is a FLTK-based version of the game of checkers.
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.
sudoku | is an implementation of the popular Sudoku game.
`libfltk.so` | contains functions that provide an API to implement graphical user interfaces.

Last updated on 2019-02-17 15:55:58 -0600

- Prev

  colord-gtk-0.1.26

- Next

  Freeglut-3.0.0

- Up
- Home